-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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(ui): add positioning option to line graphs #16077
Conversation
fd10792
to
d399119
Compare
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.
easy peasy lemon squeezy
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 great! Way to go. Does giraffe handle instances where position
is undefined?
There is an issue that needs to resolved: user selection of line position does not persist when cell is saved into a dashboard, and then the cell is viewed in the dashboard. Line position selection is empty and graph defaults to "overlaid" even when "stacked" was selected prior to saving. |
Yes, not giving a position (undefined) is handled through TypeScript. We have an interface that says position is optional. At compile time, TypeScript will convert to JavaScript with the necessary properties (with undefined values for optional properties) The behavior of line graphs without a position property is "overlaid" |
abee34f
to
3d2e2bb
Compare
3d2e2bb
to
a0a8b83
Compare
a0a8b83
to
596a7a0
Compare
…line plus stat charts
Closes #15836
Closes #15808
Add dropdown menu for line positioning in graphs to allow for stacked line graphs.