-
Notifications
You must be signed in to change notification settings - Fork 92
Closed
Labels
Description
I see that the JS generated is like this:
var chart = new google.visualization.#{class_name}(document.getElementById('#{element_id}'));"
This means that if you generate several charts in the same page, it would be impossible to fetch those objects individually (imagine if you want to add an event to each of the charts?).
It might be a good idea to make the name unique, maybe let the user name it when creating the chart?