diff --git a/src/components/UsageDashboard.tsx b/src/components/UsageDashboard.tsx index 808a206..450da84 100644 --- a/src/components/UsageDashboard.tsx +++ b/src/components/UsageDashboard.tsx @@ -330,7 +330,7 @@ export const UsageDashboard: React.FC = ({ onBack }) => { cacheReadTokens: (day.cache_read_tokens || 0) / 1000, requests: day.request_count || 0, }))} - margin={{ top: 5, right: 60, left: 20, bottom: 40 }} + margin={{ top: 5, right: 80, left: 20, bottom: 40 }} > = ({ onBack }) => { label={{ value: 'Cost (USD)', angle: 90, position: 'insideRight', style: { fontSize: 10 } }} className="text-muted-foreground" /> + `${value}`} + label={{ value: 'Requests', angle: 90, position: 'insideRight', dx: 40, style: { fontSize: 10 } }} + className="text-muted-foreground" + /> = ({ onBack }) => { dot={{ r: 3 }} activeDot={{ r: 5 }} /> + + {/* 请求数线条 - 请求轴 */} +