TimeSeries: Use graph min/max for percentage threshold (#38528)

* TimeSeries: Use graph min/max as baseis for percentage threshold calculation.

* respect hard and soft axis limits for % threshold steps

* revert state-timeline changes

* enable by-threshold coloring in histogram and barchart

* revert yMin

Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
This commit is contained in:
Oscar Kilhed
2021-08-29 22:46:17 +02:00
committed by GitHub
parent 96557ecadc
commit b248c119ef
8 changed files with 77 additions and 14 deletions

View File

@ -52,7 +52,7 @@ export const plugin = new PanelPlugin<PanelOptions, PanelFieldConfig>(HistogramP
standardOptions: {
[FieldConfigProperty.Color]: {
settings: {
byValueSupport: false,
byValueSupport: true,
},
defaultValue: {
mode: FieldColorModeId.PaletteClassic,