mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Added support to different colors on bar chart
This commit is contained in:
parent
a71dc1cb22
commit
f626d4283d
4 changed files with 46 additions and 6 deletions
|
|
@ -253,6 +253,10 @@ function formatStandardSerie(timeserie_info, timeserie_options, config, tsCompar
|
|||
const epoch_begin = timeserie_options.metadata.epoch_begin;
|
||||
const step = timeserie_options.metadata.epoch_step;
|
||||
const formatter = timeserie_info.metric.measure_unit;
|
||||
const max_value = timeserie_info.metric.max_value || null;
|
||||
const min_value = timeserie_info.metric.min_value || null;
|
||||
|
||||
config.value_range = [min_value, max_value];
|
||||
config.plotter = getPlotter(chart_type);
|
||||
if (!config.stacked) {
|
||||
config.stacked = timeserie_info.metric.draw_stacked || false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue