-
Notifications
You must be signed in to change notification settings - Fork 22
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
Support for Pie Chart #68
Comments
I do think that's a good chart to get added. This is how I customize the chart by directly changing the json option. from krisk import Chart
chart = Chart()
chart.set_title('Test for Pie', x_pos='center')
chart.option['series'] = [{
'type':
'pie',
'radius': ["50%", "80%"],
'data': [{
'value': 10,
'name': 'cool'
}, {
'value': 20,
'name': 'notcool'
}]
}]
chart.option.pop('xAxis', None)
chart.option.pop('yAxis', None)
chart Ideally you should see something like: Hope this will help. |
@yihengli Thanks... This is certainly a way to customize any charts supported by Echarts...however, it requires some trivial transformations when the data is represented as a dataframe... |
I have to reopen for self-note in the future to implement this. |
As far as I know, the current package only support line,scatter,bar,bar_line types...Thanks...
The text was updated successfully, but these errors were encountered: