Repository: qpid-dispatch Updated Branches: refs/heads/master 69af7476e -> 53493714c
DISPATCH-1084 Initialize d3 colors before use. Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/53493714 Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/53493714 Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/53493714 Branch: refs/heads/master Commit: 53493714c631ebfdaa0687525a0da531b44f1ea9 Parents: 69af747 Author: Ernest Allen <[email protected]> Authored: Mon Jul 23 14:29:04 2018 -0400 Committer: Ernest Allen <[email protected]> Committed: Mon Jul 23 14:29:04 2018 -0400 ---------------------------------------------------------------------- console/stand-alone/plugin/js/topology/traffic.js | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/53493714/console/stand-alone/plugin/js/topology/traffic.js ---------------------------------------------------------------------- diff --git a/console/stand-alone/plugin/js/topology/traffic.js b/console/stand-alone/plugin/js/topology/traffic.js index 3778c4e..ead6e2b 100644 --- a/console/stand-alone/plugin/js/topology/traffic.js +++ b/console/stand-alone/plugin/js/topology/traffic.js @@ -222,6 +222,9 @@ class Dots extends TrafficAnimation { }.bind(this)); // colors this.colorGen = d3.scale.category10(); + for (let i=0; i<10; i++) { + this.colorGen(i); + } let self = this; // event notification that an address checkbox has changed traffic.$scope.addressFilterChanged = function () { --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
