Ok, so on page load you are creating two data sets, and you want one data 
set to draw initially, and you want to update the data to the second set 
later?

On Friday, May 30, 2014 10:04:45 AM UTC-4, Missy wrote:
>
> Apology for the late response back.  I am calling from serialize 
> javascript code below:
>
>  protected void Page_Load(object sender, EventArgs e)
>     {
>         if (!IsPostBack)
>         {
>             //calls daily 500 dataset
>             JavaScriptSerializer jss = new JavaScriptSerializer();
>             ClientScript.RegisterStartupScript(this.GetType(), 
> "TestInitPageScript",
>            string.Format("<script 
> type=\"text/javascript\">google.load('visualization','1.0',{{'packages':['corechart','controls']}});google.setOnLoadCallback(function(){{drawVisualization({0},'{1}','{2}','{3}');}});</script>",
>             jss.Serialize(GetData()),
>         "Name Example",
>         "Name",
>         "Type Example",
>          "Type,"));
>
>             }
>
>         if (!IsPostBack)
>         {
>             //calls 100,000 dataset
>             JavaScriptSerializer jss = new JavaScriptSerializer();
>             ClientScript.RegisterStartupScript(this.GetType(), 
> "PageScript",
>            string.Format("<script 
> type=\"text/javascript\">google.load('visualization','1.0',{{'packages':['corechart','controls']}});google.setOnLoadCallback(function(){{drawVisualization2({0},'{1}','{2}','{3}');}});</script>",
>             jss.Serialize(GetData2()),
>         "Name Example",
>         "Name",
>         "Type Example",
>          "Type,"));
>         }
>         }
>
> Is it plausible to use the following method above, to construct function 
> which updates the data in my DataTable and redraws the Table(using 
> drawVisualisation2).
>
> Please advice.  Many thanks for your time.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to