-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
[SIP-120] Enhanced Time Comparisons on Bar and Line Charts #27617
Comments
Thank you for the SIP @yousoph. Thinking about this SIP and #27432, and considering this comment, it seems we are dealing with 2 separate problems: I would suggest discussing point number 1 in a specific SIP to make sure we have a consistent behavior between plugins and answer the following:
Then, after resolving point 1, this SIP and #27432 would deal with point number 2. Discussing point number 1 in a split way, introduces many inconsistencies such as:
By the way, I like the idea of Time comparison being a separate panel. We could create a component for that and apply to all plugins. |
I think if we create a new Time Comparison panel, that we should do that for any charts that currently have time comparison in Advanced Analytics. |
@yousoph
IMO, we should consider "how to improve UI/UX in advanced analytics" without re-implementing parts of the previous function in different charts. |
That's a great point @zhaoyongjie. Some of the features you mentioned are very important when comparing time periods. @zhaoyongjie @yousoph @eschutho @kasiazjc Do you think a working session (2 hours) would be interesting to discuss possible solutions? |
+1 on bifurcating the discussion into two topics: configuration and display. It would be ideal to have the controls/config be a consistent interface between all plugins that use this feature. We should strive to make the plugin control panels as cohesive/consistent as possible, as this has historically been painful to improve or maintain. |
@yousoph should we kick off a [VOTE] and make it official? |
Closing as voted down, but only in order to split it into two SIPs as described above. I don't think we need as much discussion on #1 any more since the checkbox idea is out of the running, but it'll be good to have official consensus on the proposal and migration plan nonetheless. |
Motivation
Proposed Changes
Add the ability to do the following in Bar charts when using the Time Shift feature.
Time Shift Selection:
Chart customizations:
For Line Charts, we’d like to make all the above changes with the same patterns (other than customizing where the comparison bar appears).
New or Changed Public Interfaces
See UI mockup here:
New dependencies
None
Migration Plan and Compatibility
In moving the controls to a new section in the Explore Control Panel, we’ll need to ensure that existing controls on previously created charts are retained.
Rejected Alternatives
We considered whether these changes could require a new chart type or a new control for the time shift, but they had enough overlap with the current Time Shift functionality that it made the most sense to integrate it with existing charts and controls.
The text was updated successfully, but these errors were encountered: