OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.
fix(dashboard): better dashed line for charts
Carl-Gerhard Lindesvärd2032f49345af
diff --git a/apps/dashboard/src/components/report-chart/line/chart.tsx b/apps/dashboard/src/components/report-chart/line/chart.tsxindex 55550d833..96b7c74b1 100644--- a/apps/dashboard/src/components/report-chart/line/chart.tsx+++ b/apps/dashboard/src/components/report-chart/line/chart.tsx@@ -217,6 +217,7 @@ export function Chart({ data }: Props) {fill={`url(#color${color})`}type={lineType}isAnimationActive={false}+ strokeWidth={0}fillOpacity={0.1}/>)}@@ -230,7 +231,8 @@ export function Chart({ data }: Props) {strokeWidth={2}dataKey={`${serie.id}:count`}stroke={`url('#hideAllButLastInterval_${serie.id}')`}- strokeDasharray="4 2"+ strokeDasharray="2 4"+ strokeLinecap="round"strokeOpacity={0.7}/><Line