Charts: Add TimeSeriesForecastChart component#46817
Conversation
|
Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.
Interested in more tips and information?
|
|
Thank you for your PR! When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:
This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖 🔴 Action required: Please include detailed testing steps, explaining how to test your change, like so: Follow this PR Review Process:
If you have questions about anything, reach out in #jetpack-developers for guidance! |
Code Coverage Summary6 files are newly checked for coverage. Only the first 5 are listed here.
Full summary · PHP report · JS report If appropriate, add one of these labels to override the failing coverage check:
Covered by non-unit tests
|
0d91eea to
71a5627
Compare
Proposed changes
This PR introduces the
TimeSeriesForecastChartcomponent - a specialized chart for displaying historical data alongside forecasted values with uncertainty bands.Key Features
TimeSeriesForecastChart.SVGandTimeSeriesForecastChart.HTMLfor custom childrenwithResponsiveHOCOther information
The component follows existing patterns in the charts library:
useChartRegistrationfor chart registry (consistent with other charts)attachSubComponentsanduseChartChildrenSingleChartContextfor state sharingJetpack product changes
No changes to existing Jetpack functionality. This adds a new chart component to the charts library.
Does this pull request change what data or activity we track or use?
no