Is there a way to update the colors of a jquery visualize chart when it already has been created?
Thanks
Is there a way to update the colors of a jquery visualize chart when it already has been created?
Thanks
You create your chart as usual:
var $table = $("table");
var chart = $table.visualize();
then you call visualize again, this time passing the existing chart container which you want to update as an argument:
$table.visualize({colors:['black','red','green','gray']}, chart);
Sure. Take a look at this page. Try Changing some values and the chart changes. A View source should all your questions!
http://www.filamentgroup.com/examples/charting_v2/index_2.php