Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
explicitly reset ds.hidden in the hiddenLabels block
Yand0049e70b53d
diff --git a/src/components/charts/Chart.tsx b/src/components/charts/Chart.tsxindex 6fe167690..5ac44273a 100644--- a/src/components/charts/Chart.tsx+++ b/src/components/charts/Chart.tsx@@ -131,6 +131,10 @@ export function Chart({chart.current.data.datasets.forEach((ds: { hidden: boolean; label: any }) => {if (hiddenLabels.has(ds.label)) {ds.hidden = true;+ } else if (!chartData.focusLabel) {+ // Explicitly reset so un-hiding a label is always reflected,+ // regardless of whether the focusLabel pass ran above.+ ds.hidden = false;}});}