mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 18:30:41 -06:00
Explore: Anchor to 0 in timeseries' stacked displays (#75251)
Anchor to 0 for stacked explore graphs
This commit is contained in:
parent
ac98197132
commit
e1f7501359
@ -40,11 +40,13 @@ export function applyGraphStyle(config: FieldConfig, style: ExploreGraphStyle, m
|
||||
custom.drawStyle = GraphDrawStyle.Line;
|
||||
custom.stacking.mode = StackingMode.Normal;
|
||||
custom.fillOpacity = 100;
|
||||
custom.axisSoftMin = 0;
|
||||
break;
|
||||
case 'stacked_bars':
|
||||
custom.drawStyle = GraphDrawStyle.Bars;
|
||||
custom.stacking.mode = StackingMode.Normal;
|
||||
custom.fillOpacity = 100;
|
||||
custom.axisSoftMin = 0;
|
||||
break;
|
||||
default: {
|
||||
// should never happen
|
||||
|
Loading…
Reference in New Issue
Block a user