8000 fix: switch engagement chart to linear by mtojek · Pull Request #16576 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

fix: switch engagement chart to linear #16576

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: switch engagement chart to linear
  • Loading branch information
mtojek committed Feb 14, 2025
commit 7b648ef582dbf6ff4ebbe595363cf3c3b4192416
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ const meta: Meta<typeof UserEngagementChart> = {
component: UserEngagementChart,
args: {
data: [
{ date: "1/1/2024", users: 150 },
{ date: "1/2/2024", users: 165 },
{ date: "1/3/2024", users: 180 },
{ date: "1/4/2024", users: 155 },
{ date: "1/5/2024", users: 190 },
{ date: "1/6/2024", users: 200 },
{ date: "1/1/2024", users: 140 },
{ date: "1/2/2024", users: 175 },
{ date: "1/3/2024", users: 120 },
{ date: "1/4/2024", users: 195 },
{ date: "1/5/2024", users: 230 },
{ date: "1/6/2024", users: 130 },
{ date: "1/7/2024", users: 210 },
],
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export const UserEngagementChart: FC<UserEngagementChartProps> = ({ data }) => {

<Area
dataKey="users"
type="natural"
type="linear"
fill="url(#fillUsers)"
fillOpacity={0.4}
stroke="var(--color-users)"
Expand Down
Loading
0