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

Unable to plot 'python-highcharts/examples/highcharts/column-drilldown.py #56

Open
smoolya17 opened this issue Jun 27, 2018 · 3 comments

Comments

@smoolya17
Copy link

smoolya17 commented Jun 27, 2018

I am running python 3.6 and trying to run snippets of your code like
'python-highcharts/examples/highcharts/column-drilldown.py' which when does not generate the plots.
There are no errors shown. Also the snippet is executed properly. How can I generate the drilldown chart?

@EtienneSeck
Copy link

EtienneSeck commented Nov 13, 2019

Hello,

Maybe it's too late but after struggling with the same issue I found out the "error" :

Error :
When generating HTML there is a mistake in src :
`<script src="**http**://code.highcharts.com/modules/drilldown.js"></script>

The 's' is missing for https

Solution :
add this code somewhere in your code :

chart.add_JSsource("https://code.highcharts.com/modules/drilldown.js")

@cyau73
Copy link

cyau73 commented Apr 13, 2020

Also, caused by the update of the code to just use version 6 of highcharts.

<script type="text/javascript" src="https://code.highcharts.com/6/highcharts.js"></script>
<script type="text/javascript" src="https://code.highcharts.com/6/highcharts-more.js"></script>
<script type="text/javascript" src="https://code.highcharts.com/6/modules/heatmap.js"></script>
<script type="text/javascript" src="https://code.highcharts.com/6/modules/exporting.js"></script>

Works after remove the 6 even if there is no https.

@oualib
Copy link

oualib commented Jun 15, 2020

In my case the 6 is import.

chart.add_JSsource("https://code.highcharts.com/6/modules/drilldown.js")

works if you add it before displaying the graphic.

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

No branches or pull requests

4 participants