Skip to content

Commit

Permalink
Merge pull request #1443 from mfts/feat/video-color
Browse files Browse the repository at this point in the history
feat: change order of area charts
  • Loading branch information
mfts authored Jan 13, 2025
2 parents a3a2aeb + 24e4108 commit 1804147
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions components/documents/video-analytics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -202,21 +202,21 @@ export default function VideoAnalytics({
</defs>
<Area
type="monotone"
dataKey="unique_views"
stroke="#10b981"
dataKey="total_views"
stroke="#3B82F6"
strokeWidth={2}
fill="url(#uniqueViewsGradient)"
fill="url(#playbackGradient)"
dot={false}
name="Unique Viewers"
name="Playback Count"
/>
<Area
type="monotone"
dataKey="total_views"
stroke="#3B82F6"
dataKey="unique_views"
stroke="#10b981"
strokeWidth={2}
fill="url(#playbackGradient)"
fill="url(#uniqueViewsGradient)"
dot={false}
name="Playback Count"
name="Unique Viewers"
/>
</AreaChart>
</ResponsiveContainer>
Expand Down

0 comments on commit 1804147

Please sign in to comment.