diff --git a/packages/osd-charts/integration/tests/__image_snapshots__/all-test-ts-baseline-visual-tests-for-all-stories-stylings-custom-series-colors-via-accessor-function-visually-looks-correct-1-snap.png b/packages/osd-charts/integration/tests/__image_snapshots__/all-test-ts-baseline-visual-tests-for-all-stories-stylings-custom-series-colors-via-accessor-function-visually-looks-correct-1-snap.png index 87c6c9c2a9d6..1c69df1961b0 100644 Binary files a/packages/osd-charts/integration/tests/__image_snapshots__/all-test-ts-baseline-visual-tests-for-all-stories-stylings-custom-series-colors-via-accessor-function-visually-looks-correct-1-snap.png and b/packages/osd-charts/integration/tests/__image_snapshots__/all-test-ts-baseline-visual-tests-for-all-stories-stylings-custom-series-colors-via-accessor-function-visually-looks-correct-1-snap.png differ diff --git a/packages/osd-charts/stories/stylings/9_custom_series_colors_function.tsx b/packages/osd-charts/stories/stylings/9_custom_series_colors_function.tsx index 280a6d0c3d43..baab617a744e 100644 --- a/packages/osd-charts/stories/stylings/9_custom_series_colors_function.tsx +++ b/packages/osd-charts/stories/stylings/9_custom_series_colors_function.tsx @@ -39,7 +39,7 @@ export const Example = () => { const lineColor = color('linelineSeriesColor', '#ff0'); const lineSeriesColorAccessor: SeriesColorAccessor = ({ specId, yAccessor, splitAccessors }) => { - if (specId === 'lines' && yAccessor === 'y1' && splitAccessors.size === 0) { + if (specId === 'lines' && yAccessor === 'y' && splitAccessors.size === 0) { return lineColor; } return null;