Thursday, May 22, 2014

How to update jqplot title dynamically

How to update jqplopt title using js
To update jqplot title use this:

plot.title['text'] = "Put any text here";
plot.replot();

we should have definition of jqplot smth like this
var plot = $.jqplot(...);

No comments:

Post a Comment