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

[DEV-9840] add confidence intervals to line charts #1693

Merged
merged 1 commit into from
Nov 25, 2024
Merged

Conversation

adamdoe
Copy link
Collaborator

@adamdoe adamdoe commented Nov 15, 2024

[DEV-8940] add confidence intervals to line charts

  • Run yarn storybook
  • Navigate to /story/components-templates-chart--line-chart-confidence-intervals

CI's are added under the series level as a repeating field. This decision was made because not all CI's will be uniform. The repeater allows multiple confidence intervals to be added to the line if needed (ie. 25/50/95). We're re-using the pattern from Forecasting charts to keep the config lean series.confidenceIntervals since its the same feature.

Testing Steps

Self Review

  • I have added testing steps for reviewers
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • New and existing unit tests are passing

Screenshots (if applicable)

Screen Shot 2024-11-15 at 12 57 05 PM

Additional Notes

Test Steps:
- [ ] Run yarn storybook
- [ ] Navigate to /story/components-templates-chart--line-chart-confidence-intervals

- Expose series.confidenceIntervals to line charts
- Add <AreaClosed /> component to line charts to show confidence intervals
- Add story for line charts with confidence intervals
@adamdoe adamdoe changed the title [DEV-9840] Line Chart Confidence Intervals [DEV-9840] add confidence intervals to line charts Nov 15, 2024
@adamdoe adamdoe added this to the 4.24.12 milestone Nov 15, 2024
@adamdoe adamdoe added Hold and removed Hold labels Nov 15, 2024
@adamdoe adamdoe merged commit 0e43e04 into dev Nov 25, 2024
1 check passed
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.

1 participant