Graph line does not show up
alanjones2 opened this issue · 12 comments
Do you have internet connection on machine running Jupyter Notebook? The chart library is served with CDN.
I've looked at it in Chrome now and it seems that charts.min.js is being loaded but it seems maybe it's slow
I'm seeing this as well - latest version installed into Miniconda.
@virtadpt thanks for confirming.
The solution might be to inject the chart.min.js
file in <script>
tag directly to ipynb
file. I need to check.
I also can't see the line chart
@khuyentran1401 thanks for reporting. Are you running Jupyter Notebook locally?
I think it should be changed to inject the charts lib instead cdn link.
Yes. How can I change that?
@khuyentran1401 the code needs to be updated, here is the code that inject Chart.js
CDN
Lines 139 to 147 in d809b8e
and the chart.js file is already in the repo. I will try to fix that right now, please give me some time.
That sounds great. Thank you!
I've created a StackOverflow question for this issue https://stackoverflow.com/questions/73124130/use-chart-js-in-jupyter-notebook-throws-uncaught-referenceerror-chart-is-not-d - I hope I will get som tips how to solve this issue. Sorry for problems