Uncomment the alert to see that data attached to the jquery selector is {} even though the plot was created in that div by a component. The selector works fine with a regular small js snippet, and according to the docs, it is the correct way to update a plot. @niranjan94 any suggestions on why there seem to be no methods attached to the selector (I've cross checked with chrome's inspector) ?
Another way is to store a global variable referencing the plot, but I would prefer the selector.
small change I'm unable to make : Can't call the replot method on an existing plot
Uncomment the alert to see that data attached to the jquery selector is {} even though the plot was created in that div by a component. The selector works fine with a regular small js snippet, and according to the docs, it is the correct way to update a plot. @niranjan94 any suggestions on why there seem to be no methods attached to the selector (I've cross checked with chrome's inspector) ? Another way is to store a global variable referencing the plot, but I would prefer the selector.
fixed #68