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

This commit is contained in:
Christian Lamberty 2019-12-02 07:53:29 +01:00 committed by Ryan McKinley
parent cdb5e6a944
commit 6eb7813565

View File

@ -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;
} }