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
Post a Comment