Most charts don't have a problem with it, but there are some that do.  It 
is something the visualization team could certainly correct for, but 
technically you are breaking the specifications by inputting the numbers as 
strings.  As the stockoverflow post says, you can fix the problem by using 
the value in an arithmetic operation:

$val *= 1;


On Friday, May 31, 2013 10:37:41 AM UTC-4, A. Farber wrote:
>
> Thank you, yes, switching the columns has helped me
>
> and now in fact I'm struggling with the quotes:
>
> http://stackoverflow.com/questions/16859776/how-to-avoid-putting-quotes-around-numbers-with-perl-json-module
>
> It seems to me that it is a bug in Google charts:
> why do they misinterpret my numeric values,
> I'd already told that they are "numeric"?
>
> Regards
> Alex
>
> On Fri, May 31, 2013 at 4:27 PM, asgallant 
> <[email protected]<javascript:>
> > wrote:
>
>> The problem is that you have your data and interval columns backwards - 
>> the data column has to come immediately before the interval columns. 
>>  Switch those around and it should work.
>>
>> Also, you should input all your numbers as numbers, not strings, as 
>> inputting them as strings can cause problems in some visualizations.
>>
>>
>> On Friday, May 31, 2013 9:15:23 AM UTC-4, A. Farber wrote:
>>>
>>> http://stackoverflow.com/**questions/16857910/interval-**
>>> role-i-lines-are-not-**displayed-in-google-line-chart<http://stackoverflow.com/questions/16857910/interval-role-i-lines-are-not-displayed-in-google-line-chart>
>>>
>>>

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to