Skip to content
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(chart-unfurl): Add multi y-axis for chart unfurl #28604

Merged
merged 3 commits into from
Sep 16, 2021

Conversation

shruthilayaj
Copy link
Member

@shruthilayaj shruthilayaj commented Sep 15, 2021

Adding the ability to unfurl multi y-axis charts.

Screen Shot 2021-09-15 at 3 27 05 PM

.map((s, i) =>
BarSeries({
name: s.key,
data: s.data.map(([timestamp, countsForTimestamp]) => ({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm currently using stacked bar graphs on the browser side for multi y axis
image

I'm thinking we should match but I don't have strong opinions on whether stacked or unstacked bar chart is better. Should we stick with stacked for now?

Suggested change
data: s.data.map(([timestamp, countsForTimestamp]) => ({
stack: 'area',
data: s.data.map(([timestamp, countsForTimestamp]) => ({

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah i'll just reflect whatever you're doing in discover!

@edwardgou-sentry
Copy link
Contributor

Tests and changes LGTM! Just had a question about stacking bar charts

@shruthilayaj
Copy link
Member Author

Screen Shot 2021-09-16 at 11 30 07 AM

@shruthilayaj shruthilayaj merged commit ed055e1 into master Sep 16, 2021
@shruthilayaj shruthilayaj deleted the feat/multi-y-axis-chart-unfurl branch September 16, 2021 17:13
matejminar pushed a commit that referenced this pull request Sep 17, 2021
Adding the ability to unfurl multi y-axis charts.
@github-actions github-actions bot locked and limited conversation to collaborators Oct 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants