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

Data Pivot visualization updates #874

Merged
merged 23 commits into from
Sep 9, 2023
Merged

Data Pivot visualization updates #874

merged 23 commits into from
Sep 9, 2023

Conversation

shapiromatron
Copy link
Owner

@shapiromatron shapiromatron commented Aug 5, 2023

Improve the flexibility of the data pivot plotting component to allow a few new styles for data pivots.

1. Arrows when confidence intervals extend beyond plot domain.

If a x-axis domain is restricted to be less than the entire domain, arrows are shown. Hovering over the bar will show upper and lower values.

Screenshots:

image

image

image

2. Configure plot background colors and gridlines.

Added more flexibility to show/hide background color, gridlines, and text grid. The default layout is unchanged.

Default layout (gridlines and background); unchanged from previous versions:
image

Minimal (no gridlines, no background):
image

Extended text background (text background, x-axis gridlines):
image

3. x-axis customization

Previously, when setting an x-axis range, we'd automatically assume that you'd want to show around 10 ticks (numbers on the x-axis), but would be flexible to show more or less depending on the range. Now, if you'd like more control, you can set the domain to be forced, and set the number of ticks. This will allow full control of setting the x-axis bounds and layout.

With force domain:

image

image

Without force domain:

image
image

@shapiromatron shapiromatron marked this pull request as ready for review August 29, 2023 12:24
@caseyhans
Copy link
Collaborator

the x-axis force domain option does not work with log scale FWIW--is this a bug or as intended? if intended, should we include a help text pop up mentioning it?

@shapiromatron
Copy link
Owner Author

the x-axis force domain option does not work with log scale FWIW--is this a bug or as intended? if intended, should we include a help text pop up mentioning it?

Updated in c0baf0c? I don't think it's an easy fix to enforce w/ a logscale, now it just toggles show/hide the force depending on if logscale is selected. Does that work?

@shapiromatron shapiromatron merged commit 13ec01b into main Sep 9, 2023
@shapiromatron shapiromatron deleted the dp-updates branch September 9, 2023 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants