diff --git a/CHANGELOG.md b/CHANGELOG.md index b2ec78d..8214533 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - [2020-06-13] Added .gitattributes to help sort out CHANGELOG.md merge conflicts by [@lflare]. - [2020-06-13] Added rudimentary web-ui by [@carbotaniuman & @RedMatriz]. - [2020-06-13] Added additional entry to server ping for network speed by [@lflare]. +- [2020-06-13] Added colouring to web-ui pie chart by [@lflare]. ### Changed - [2020-06-13] Modified AsyncAppender queue size to 1024 by [@lflare]. diff --git a/src/main/resources/webui/dataReceive.js b/src/main/resources/webui/dataReceive.js index 5bfa84a..25ac67c 100644 --- a/src/main/resources/webui/dataReceive.js +++ b/src/main/resources/webui/dataReceive.js @@ -37,7 +37,8 @@ function loadStuff() { type: 'doughnut', data: { datasets: [{ - data: [0, 0, 0] + data: [0, 0, 0], + backgroundColor: ["#72a555", "#ca566f", "#ab62c0"] }], labels: [ 'Hits',