mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Graph-Panel: Center option for bar charts (#19723)
This commit is contained in:
parent
cdb5e6a944
commit
6eb7813565
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user