Explore: Anchor to 0 in timeseries' stacked displays (#75251)
Anchor to 0 for stacked explore graphs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user