-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat(components): gs-aggregate: add bar chart view #639
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This is a preview of the changelog of the next release. If this branch is not up-to-date with the current main branch, the changelog may not be accurate. Rebase your branch on the main branch to get the most accurate changelog. Note that this might contain changes that are on main, but not yet released. Changelog: 0.11.5 (2025-01-09)Features |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks nice.
Would it be possible, to also show the total of each stacked bar on the tooltip? Currently it shows each of the subentries. But we could also add this in another ticket.
@@ -28,6 +29,7 @@ const aggregatePropsSchema = z.object({ | |||
pageSize: z.union([z.boolean(), z.number()]), | |||
width: z.string(), | |||
height: z.string(), | |||
maxNumberOfBars: z.number(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to already name this to something that we dont have to change later on, when we have pagination? I imagine that this could be pageSizeBars, or something. But maybe this is misleading for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can imagine that pagination would be a breaking change anyway, but I'm not sure. Also even with pagination, I wouldn't find maxNumberOfBars
so bad.
But for now I would stick with this name. It's not clear whether we will introduce pagination -> let's have a non-confusing name for now.
I added it. |
resolves #546
Summary
maxNumberOfBars
that controls how many bars are shown. Maybe we can implement pagination or similar later.(I added corresponding tasks to the parent epic)
Screenshot
With one
field
:With two
fields
:PR Checklist