-
Notifications
You must be signed in to change notification settings - Fork 14k
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(viz): add ECharts Timeseries chart #10752
Conversation
Codecov Report
@@ Coverage Diff @@
## master #10752 +/- ##
==========================================
- Coverage 64.98% 59.42% -5.57%
==========================================
Files 789 360 -429
Lines 37179 23212 -13967
Branches 3555 0 -3555
==========================================
- Hits 24161 13793 -10368
+ Misses 12911 9419 -3492
+ Partials 107 0 -107
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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.
LGTM! Thanks for the hard work!
"@superset-ui/legacy-plugin-chart-iframe": "^0.14.9", | ||
"@superset-ui/legacy-plugin-chart-map-box": "^0.14.9", | ||
"@superset-ui/legacy-plugin-chart-markup": "^0.14.9", |
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.
Bycatch: legacy-plugin-chart-iframe
and legacy-plugin-chart-markup
are removed here as per #10590
* initial commit * Change reference to new echarts plugin * initial commit * Change reference to new echarts plugin * moving dependencies to plugin * adding pie chart * rename piechart key * lint * Bump packages and implement echarts colors * remove pie for now Co-authored-by: Evan Rusackas <[email protected]>
* initial commit * Change reference to new echarts plugin * initial commit * Change reference to new echarts plugin * moving dependencies to plugin * adding pie chart * rename piechart key * lint * Bump packages and implement echarts colors * remove pie for now Co-authored-by: Evan Rusackas <[email protected]>
* initial commit * Change reference to new echarts plugin * initial commit * Change reference to new echarts plugin * moving dependencies to plugin * adding pie chart * rename piechart key * lint * Bump packages and implement echarts colors * remove pie for now Co-authored-by: Evan Rusackas <[email protected]>
SUMMARY
This introduces the first officially supported ECharts-based viz plugin. The timeseries plugin supports the following features:
In addition, the ECharts 4.x and 5.x version color schemes are added to the predefined palettes:
Last but not least, if Superset is installed alongside the
fbprophet
package, it's possible to add forecasts to the plotted timeseries. In the example below, we're sporting the recently added ECharts color scheme with weekly avocado prices in three US regions with 52 weeks of forecasts with a 80 % confidence interval:A short recording of how changing confidence interval and stacking affects the chart (please note, these results are pre-cached; calculating the forecasts can take some time, especially if there are multiple series):
Related PRs:
ADDITIONAL INFORMATION
FYI: @Ovilia