Skip to content

Commit

Permalink
Merge pull request online-go#2876 from GreenAsJade/teeny_graph_axis_t…
Browse files Browse the repository at this point in the history
…weak

Reduce precision on votes-by-week graph
  • Loading branch information
anoek authored Dec 2, 2024
2 parents f8009cb + 9f80bb6 commit 3314be8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/User/VoteActivityGraph.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ const VoteActivityGraph = ({ vote_data }: VoteActivityGraphProps) => {
colors={({ id }) => line_colors[id as keyof typeof line_colors]}
enableSlices="x"
axisBottom={{
format: "%d %b %g",
tickValues: "every 2 weeks",
format: "%b",
tickValues: "every month",
}}
xFormat="time:%Y-%m-%d"
xScale={{
Expand Down

0 comments on commit 3314be8

Please sign in to comment.