JQuery affecting Google Chart Display -


the below code displays messed-up chart,

function() displaygooglechart() {     /* displays chart */ } $("#chartdiv").hide(); displaygooglechart(); $("#chartdiv").show(); 

problem chart
code displays fine, so:

$("#chartdiv").hide(); $("#chartdiv").show(); displaygooglechart(); 

fixed chart
why happening?

it has methods google uses determine heights , widths of various chart items, @dwaddell commented.

i try using container div enclosing #chartsdiv, , see if same thing occurs when hiding , showing containing div.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -