Commit 6eb78135 by Christian Lamberty Committed by Ryan McKinley

Graph-Panel: Center option for bar charts (#19723)

parent cdb5e6a9
...@@ -469,6 +469,7 @@ class GraphElement { ...@@ -469,6 +469,7 @@ class GraphElement {
} }
default: { default: {
options.series.bars.barWidth = this.getMinTimeStepOfSeries(this.data) / 1.5; options.series.bars.barWidth = this.getMinTimeStepOfSeries(this.data) / 1.5;
options.series.bars.align = 'center';
this.addTimeAxis(options); this.addTimeAxis(options);
break; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment