Skip to content

Open-source agentic AI Search Execution Platform. Track AI visibility, find opportunities, and let agents turn signals into prioritized actions and drafted fixes across ChatGPT, Claude, Gemini, Google AI Overviews, Google AI Mode, Perplexity, Grok, and Microsoft Copilot.

fix(shopping): show the All cards line's dash in the trend chart's legend (#1597)

Cihan6055b0ba0d16
diff --git a/web/src/app/[locale]/(dashboard)/dashboard/shopping/shopping_charts.tsx b/web/src/app/[locale]/(dashboard)/dashboard/shopping/shopping_charts.tsx
index c4528e575..7d24fea5f 100644
--- a/web/src/app/[locale]/(dashboard)/dashboard/shopping/shopping_charts.tsx
+++ b/web/src/app/[locale]/(dashboard)/dashboard/shopping/shopping_charts.tsx
@@ -110,6 +110,7 @@ export function ShoppingTrendChartView({ width, data }: ShoppingTrendChartViewPr
type="monotone"
dataKey="ownCards"
name="Your cards"
+ legendType="plainline"
stroke={INK}
strokeWidth={2}
fill="url(#shoppingTrendFill)"
@@ -121,6 +122,8 @@ export function ShoppingTrendChartView({ width, data }: ShoppingTrendChartViewPr
type="monotone"
dataKey="totalCards"
name="All cards"
+ // The legend draws its icon with the series' dash (plainline), so the two read apart.
+ legendType="plainline"
stroke={SECOND}
strokeWidth={2}
strokeDasharray="4 3"