-
Notifications
You must be signed in to change notification settings - Fork 77
feat: add line-bar chart from nvd3 #39
base: master
Are you sure you want to change the base?
Conversation
Thank you for your contribution. However, we are inclining on not adding new chart types to the current packages at the moment, especially when it introduces more complication on top of |
Hello @kristw and @thunter009. I really appreciate for your contribution to superset. I do understand that new chart introduce more complication and difficulties in supporting.
Thank you guys. |
The implementation is in these two branches: https://github.com/thunter009/incubator-superset/tree/line_bar Happy to walk you through them. |
I am working on a way for the plugin to be able to define control panel in itself. This way you can publish your own plugin as an |
Sounds good -- if you need help porting legacy charts to the new preset/plugin system, let me know. In addition to the nvd3 line-bar implementation, I have some additional feature improvements to the current legacy nvd3 bubble chart I've been maintaining in a private fork that I'd like to commit back once the new chart plugin system is implemented. |
Thank you for adding this, it's greatly appreciated. What's the easiest way of getting this working with our Superset install? As I understand it, this won't be merged as the intention is going forwards for community-contributed plugins to be published independently to npm? But this fork is currently unpublished I think? |
@john-sandall Apologies for the tardy reply. The easiest way is to fork both repos (main superset and superset plugins) and point your main superset fork's It's a bit hacky (I also combine the main superset repo, superset-ui, and superset-ui-plugins into one big repo for ease of use) but it's done the trick so far. See this debugging guide for some further details: https://github.com/apache-superset/superset-ui/blob/master/docs/debugging.md |
hello, thunter009, is it possible to plot several bars ( more than 2 bars )mixed with lines( more than 2 lines) in ONE chart using your code? |
@wuxuedaifu no it is currently not possible. We're working on integrating echarts for more advanced charting in this respect |
1 similar comment
@wuxuedaifu no it is currently not possible. We're working on integrating echarts for more advanced charting in this respect |
Since it's 100% it seems worthwhile to add ;)
🏆 Enhancements
This PR adds the line-bar chart from the nvd3 library. See example below:
Inspired by:
apache/superset#5144
Related issues from the main superset repo:
apache/superset#5530
Reference PR on primary repo:
apache/superset#7216