You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In main LazyHighCharts gem the html code generated using high_charts method contains var onload = window.onload; , So this script can't show charts in iruby. I have removed onload var and used the main script to generate body part of the chart (modification in lib/adapters/highcarts/layout_helper_iruby.rb) . But there must be a html code that works in both webpage as well as iruby notebook. I tried few modifications but it was not working on both.
The text was updated successfully, but these errors were encountered:
@v0dro , when we use onload in chart javascript then iruby don't display the chart instantly in the output cell of the IRuby notebook. Because of onload it execute script once a web page has completely loaded all content of the body part. (That why it was displaying chart correctly, when we download the notebook as html page or after saving notebook and restart) .
In main LazyHighCharts gem the html code generated using
high_charts
method containsvar onload = window.onload;
, So this script can't show charts in iruby. I have removed onload var and used the main script to generate body part of the chart (modification in lib/adapters/highcarts/layout_helper_iruby.rb) . But there must be a html code that works in both webpage as well as iruby notebook. I tried few modifications but it was not working on both.The text was updated successfully, but these errors were encountered: