未验证 提交 ad69eb3e 编写于 作者: S Scott Cooper

fix(alerts): Disable hover color on alert edit chart

Currently, the chart on alert editor will highlight on hover
上级 5249863d
......@@ -9,6 +9,7 @@ import Graphic from 'sentry/components/charts/components/graphic';
import {defaultFormatAxisLabel} from 'sentry/components/charts/components/tooltip';
import {LineChartSeries} from 'sentry/components/charts/lineChart';
import LineSeries from 'sentry/components/charts/series/lineSeries';
import CHART_PALETTE from 'sentry/constants/chartPalette';
import space from 'sentry/styles/space';
import {GlobalSelection} from 'sentry/types';
import {ReactEchartsRef, Series} from 'sentry/types/echarts';
......@@ -440,6 +441,7 @@ export default class ThresholdsChart extends PureComponent<Props, State> {
])
),
})}
colors={CHART_PALETTE[0]}
series={[...dataWithoutRecentBucket, ...comparisonMarkLines]}
additionalSeries={comparisonDataWithoutRecentBucket.map(
({data: _data, ...otherSeriesProps}) =>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册