Perhaps you can use a ValueFormatter before converting the DataTable into a
csv, where you change the formatting of numbers to be without the group
separator.
The csv output is not targeted as a serialized way to store the data in,
and therefore this behavior is not what you expect.

  Viz Kid

On Fri, Jan 27, 2012 at 3:29 PM, Peter Br. <[email protected]> wrote:

> I made a datasource using Java library. I receive data from external
> source, apply queries and do some other processing, and than return data to
> user over HTTP or store it in a CSV file.
> The problem is that CsvRenderer.renderDataTable method needs a locale, and
> use it to format numbers. That's a problem, because if user has a different
> locale, numbers are get misinterpreted.
> Is there a way to render a CSV file from DataTable without formatting
> numbers?
>
> BTW, I fought of modifying a ULocale instance to remove grouping
> separator, but didn't find any way to do it.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-visualization-api/-/9vjHPqtkz2IJ.
> 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.
>

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