diff --git a/components/VendorDataView.tsx b/components/VendorDataView.tsx index 8575fe7..d6a6e4e 100644 --- a/components/VendorDataView.tsx +++ b/components/VendorDataView.tsx @@ -1,5 +1,5 @@ import React, { useMemo, useState } from 'react'; -import { BarChart, Bar, XAxis, YAxis, CartesianGrid, Tooltip, Legend, ResponsiveContainer } from 'recharts'; +import { LineChart, Line, XAxis, YAxis, CartesianGrid, Tooltip, Legend, ResponsiveContainer, AreaChart, Area } from 'recharts'; import { BSRRecord } from '../types'; import { BuyBoxWarningBadge } from './BuyBoxWarningBadge'; @@ -181,7 +181,15 @@ const VendorDataView: React.FC = ({ bsrData = [], asinMetad

Top Level BSR Trend ({resolutionLabel})

Lower rank = better position. Averaged across filtered ASINs per market.

- + + + {activeMarkets.map(m => ( + + + + + ))} + @@ -191,14 +199,18 @@ const VendorDataView: React.FC = ({ bsrData = [], asinMetad /> {activeMarkets.map(m => ( - ))} - + @@ -207,7 +219,15 @@ const VendorDataView: React.FC = ({ bsrData = [], asinMetad

Detail Level BSR Trend ({resolutionLabel})

Lower rank = better position. Averaged across filtered ASINs per market.

- + + + {activeMarkets.map(m => ( + + + + + ))} + @@ -217,14 +237,18 @@ const VendorDataView: React.FC = ({ bsrData = [], asinMetad /> {activeMarkets.map(m => ( - ))} - + @@ -233,7 +257,15 @@ const VendorDataView: React.FC = ({ bsrData = [], asinMetad

Average Rating ({resolutionLabel})

Averaged across filtered ASINs per market.

- + + + {activeMarkets.map(m => ( + + + + + ))} + @@ -243,14 +275,18 @@ const VendorDataView: React.FC = ({ bsrData = [], asinMetad /> {activeMarkets.map(m => ( - ))} - +