diff --git a/src/components/TimelineChart.tsx b/src/components/TimelineChart.tsx index 941a9cc..b34b6a4 100644 --- a/src/components/TimelineChart.tsx +++ b/src/components/TimelineChart.tsx @@ -100,7 +100,7 @@ const TimelineChart: React.FC = ({ {/* Time labels */} {historicalPrices.map((point, index) => { if (index % 2 === 0) return null; // Show fewer labels - const position = (index / (historicalPrices.length - 1)) * 100; + const position = (index / historicalPrices.length) * 100; return (