Codebase list cloudkitty-dashboard / 1cf4c95
Unstack series on the "Cost Per Service Per Hour" graph By default series on the "Cost Per Service Per Hour" graph are stacked together which means: * all series have to have the same length, otherwise Rickshaw/D3 won't be able to stack them up; * series are drawn one over another and since they are area graphs, this gives false impression of scale (series other than the first one will appear higher than what the scale on the Y axis suggests) This change disables stacking of data series. Story: 2008582 Task: 41735 Change-Id: I6aed92383a70f8dcf26c45155ef1d16169d40601 Mariusz Karpiarz 3 years ago
2 changed file(s) with 5 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
111111 var graph = new Rickshaw.Graph({
112112 element: document.querySelector('#cost_progress'),
113113 interpolation: 'linear',
114 unstack: 'true',
114115 onComplete: function(w) {
115116 var legend = new Rickshaw.Graph.Legend({
116117 element: document.querySelector('#cost_progress_legend'),
0 ---
1 upgrade:
2 - |
3 The "Cost Per Service Per Hour" graph no longer stacks series on the Y axis.