diff --git a/public/app/plugins/panel/gauge/GaugeOptionsEditor.tsx b/public/app/plugins/panel/gauge/GaugeOptionsEditor.tsx index 510d9c69e54..418cb06388c 100644 --- a/public/app/plugins/panel/gauge/GaugeOptionsEditor.tsx +++ b/public/app/plugins/panel/gauge/GaugeOptionsEditor.tsx @@ -12,9 +12,10 @@ import { import { GaugeOptions } from './types'; export default class GaugeOptionsEditor extends PureComponent> { - multiSeriesOptions: SelectOptionItem[] = [ - { value: 'repeat', label: 'Repeat' }, - { value: 'combine', label: 'Combine' }, + directionOptions: SelectOptionItem[] = [ + { value: 'auto', label: 'Auto' }, + { value: 'horizontal', label: 'Horizontal' }, + { value: 'vertical', label: 'Vertical' }, ]; labelWidth = 9; @@ -29,11 +30,11 @@ export default class GaugeOptionsEditor extends PureComponent this.props.onChange({ ...this.props.options, maxValue: target.value }); - onMultiSeriesModeChange = ({ value }) => this.props.onChange({ ...this.props.options, multiSeriesMode: value }); + onDirectionChange = ({ value }) => this.props.onChange({ ...this.props.options, direction: value }); render() { const { options } = this.props; - const { maxValue, minValue, multiSeriesMode, showThresholdLabels, showThresholdMarkers } = options; + const { direction, maxValue, minValue, showThresholdLabels, showThresholdMarkers } = options; return ( @@ -52,12 +53,12 @@ export default class GaugeOptionsEditor extends PureComponent
- Multi series mode + Direction