-
Notifications
You must be signed in to change notification settings - Fork 136
feat(frontend): add option to unstack downloads per version #1101
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
base: main
Are you sure you want to change the base?
Conversation
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.
Thank you for fixing this, it was really confusing
this is intentional behaviour, and is common across other systems already (ie crates.io). a stacked graph makes sense for an aggregation set of data across different points, so this seems the right usecase |
ah dangit |
@tylersayshi yes that sounds good |
maybe move the legend/index to the right, and have the selectors next to eachother? |
tooltip: { | ||
items: { | ||
padding: 0, | ||
enabled: false, |
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.
removing items.padding
was a result of seeing that it is not in the ApexOptions type. From what I can see in the chart, removing it had no visual impact either. Lastly, it is not in the docs: https://apexcharts.com/docs/options/tooltip/#items
so it seemed safe to remove along with using the return type
adds option to view stacked and unstacked downloads (keeping current defaults). Replicating the downloads chart for crates.io
stacked:

unstacked:

options on small screens:
