-
Notifications
You must be signed in to change notification settings - Fork 48
[WC-2922]: Add aggregate utils for charts #1562
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
068af2d
to
190c64e
Compare
const pts = | ||
line.aggregationType === "none" | ||
? dataPoints | ||
: aggregateDataPoints(line.aggregationType, dataPoints); |
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.
checking type none is already done in the function aggregateDataPoints. this is no longer needed
i think we can remove all maybe need to add |
c47560c
to
6314070
Compare
29a1379
to
c2f33aa
Compare
Pull request type
Bug fix (non-breaking change which fixes an issue)
Description
Added a new
aggregations.ts
in the charts utilities to be used instead of the deprecated plotly.js aggregations.What should be covered while testing?
All Charts (area, bar, bubble, column, line, time-series) should have working aggregations displayed in the charts/graphs.