Skip to content

Commit a5d6e45

Browse files
committed
Use static value for series styles
1 parent 5bcad0d commit a5d6e45

File tree

1 file changed

+3
-1
lines changed
  • x-pack/legacy/plugins/infra/public/pages/logs/analysis/sections/anomalies

1 file changed

+3
-1
lines changed

x-pack/legacy/plugins/infra/public/pages/logs/analysis/sections/anomalies/chart.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export const AnomaliesChart: React.FunctionComponent<{
8787
xAccessor={'time'}
8888
yAccessors={['value']}
8989
data={series}
90-
barSeriesStyle={{ rect: { fill: '#D3DAE6', opacity: 0.6 } }} // TODO: Acquire this from "theme" as euiColorLightShade
90+
barSeriesStyle={barSeriesStyle}
9191
/>
9292
{renderAnnotations(annotations, chartId, renderAnnotationTooltip)}
9393
<Settings
@@ -144,3 +144,5 @@ const renderAnnotations = (
144144
);
145145
});
146146
};
147+
148+
const barSeriesStyle = { rect: { fill: '#D3DAE6', opacity: 0.6 } }; // TODO: Acquire this from "theme" as euiColorLightShade

0 commit comments

Comments
 (0)