Problem of google chart in Mozilla Firefox

Aug 6, 2010 at 3:16 PM

I am using jQuery List DragSort program and one of the layer of my program contain google chart.

It lost google chart display when we drag google chart layer form one position to another in mozilla firefox browser only.


Pleaes help me...

Coordinator
Sep 20, 2010 at 10:48 AM

What happens in dragsort is that the dragged item does not actually change position until you drop the item, and the javascript method insertBefore is used to move the dragged item. So I suggest a work around like:

$("#list").dragsort({ dragEnd: saveOrder });

function saveOrder() {
	if (!$.browser.msie)
		initGraph(this.getAttribute("id"));
};

function initGraph(id) {
	...
	new google.visualization.PieChart(document.getElementById(id)).draw(data);
}