Hi,
What is this code? Is it php?
Try to write an example (even a small one) with pure javascript and we'll
try to help you debug it.
Regards,
VizBoy.
On Wed, Feb 25, 2009 at 4:23 PM, TomP <[email protected]> wrote:
>
> I'm trying to generate the dataset.Value pair values coming from a
> table. It looks like the variables i, x, ds0 and ds1 are not being
> updated after running thru the for loop...
>
> Is anyone doing something similar or have another way without
> hardcoding each pair.. My input data is coming from sql database that
> I populate in an table.. so the input can big..
> thanks in advance.. Tom
>
>
> var y=0;
> for (y=1;y<=6;y++)
> {
>
> data.setValue(ds0, ds1, '<%=MyArray(x,i+2)%>'); //
> date
> data.setValue(ds0, ds1+1, <%=MyArray(x+1,i+2)%>); //
> levelrecorded
> x=0;
> i=i+2;
> ds0= ds0+1;
> ds1= 0;
> }
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-visualization-api?hl=en
-~----------~----~----~----~------~----~------~--~---