don't add anything to rows/cells that are empty. This will result in empty
sections of the json.
E.g., {v:1},,,,,,,,,{v:2}

ChartMan

On Thu, Feb 4, 2010 at 6:44 AM, carlos <[email protected]> wrote:

> I am writing a datasource in java to feed data to a scatterplot from a
> mysql database.  The data is sparse: not every column has a value for
> every row.  I can easily plot sparse data manually in javascript or in
> the java GWT by only setting certain values in a DataTable.  Is there
> a way to generate sparse data from a servlet with the Visualization-
> DataSource java API?
>
> Using addCell to add an empty string to numerical data throws an
> error.
>
> Thanks,
> Carlos
>
> --
> 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]<google-visualization-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-visualization-api?hl=en.
>
>

-- 
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.

Reply via email to