javascript - Highcharts Column w/ drilldown not working in Rails 4 -


Using HighChurch to create a column chart with Ruby 2.1, Rail 4, Drilldown. Locally, when I click on the chart and try to show me the drilldown functionality, it does not work, but when I copy the code to JSFDL, it works very well. I have seen whether something can happen to prevent the event manager from being called, but when clicking on one of the SVG elements on Highchurch with a jQuery event handler, I have written that it works fine too.

I can provide a copy per sample, but it works very well on JSFiddle, so I do not think it would be useful.

Any thoughts?

Problem detected!

In the Rail, be sure to include the drilldown module in your Javascript manifest file ( application.js ):

  // highchurch / Module / drilldown is required  

Out of the rail, it seems that you can include the drilldown module a script tag:

  & lt ; Script src = "http://code.highcharts.com/modules/drilldown.js" & gt; & Lt; / Script & gt;  

Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -