Skip to content

Commit

Permalink
fix(data-warehouse): Fix custom series colors in chart tooltips (#26310)
Browse files Browse the repository at this point in the history
  • Loading branch information
rossgray authored Nov 20, 2024
1 parent 5fd6fd6 commit 07105b7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,9 @@ export const LineGraph = (): JSX.Element => {
},
]}
uppercaseHeader={false}
rowRibbonColor={(_datum, index) => getSeriesColor(index)}
rowRibbonColor={(_datum, index) =>
ySeriesData[index]?.settings?.display?.color ?? getSeriesColor(index)
}
showHeader
/>
</div>
Expand Down

0 comments on commit 07105b7

Please sign in to comment.