Allow user to return :ajax result if necessary #68

Closed
kamilski81 opened this Issue Aug 23, 2012 · 2 comments

Comments

Projects
None yet
2 participants

Allow the user to pass an html_options flag, in order to get a result without the "script" and "div" already created.

For example:
chart = LazyHighCharts::HighChart.new('bar', :ajax_enabled => true)

will return:

(function() {        var options, chart;
         options = { "title": { "text": "" } };

         chart = new Highcharts.Chart(options);
})()

kamilski81 referenced this issue in xiaods/lazy_high_charts Aug 23, 2012

Closed

Allow for :ajax_enabled results #4

I commented out the bottom of lazy_high_charts_spec.rb because the test was failling from the beginning before my changes.

Collaborator

xiaods commented Nov 22, 2012

we don't need ajax flag to enable it.

xiaods closed this Apr 6, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment