Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Charts in partial blank after actioncable "refresh" #215

Open
caspivey opened this issue Aug 3, 2016 · 0 comments
Open

Charts in partial blank after actioncable "refresh" #215

caspivey opened this issue Aug 3, 2016 · 0 comments

Comments

@caspivey
Copy link

caspivey commented Aug 3, 2016

Using actionable I am refreshing/regenerating a partial as records get inserted/updated.

The issue I am seeing is that when the partial is regenerated the chart is not displaying. I took a look at the page source and before and after and verified that the JavaScript for the chart is there.

<%= high_chart('MDF_Chart', chart) do |c| %> <%= raw 'options.plotOptions.pie.dataLabels.formatter = function() { if (this.y >= 1) return this.point.name; }' %> <% end %>

test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant