0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 00:47:50 +01:00

fix(data-warehouse): Fix custom series colors in chart tooltips (#26310)

This commit is contained in:
Ross 2024-11-20 17:00:11 +00:00 committed by GitHub
parent 5fd6fd61b4
commit 07105b7a84
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -348,7 +348,9 @@ export const LineGraph = (): JSX.Element => {
}, },
]} ]}
uppercaseHeader={false} uppercaseHeader={false}
rowRibbonColor={(_datum, index) => getSeriesColor(index)} rowRibbonColor={(_datum, index) =>
ySeriesData[index]?.settings?.display?.color ?? getSeriesColor(index)
}
showHeader showHeader
/> />
</div> </div>