You can use other data types for setting the viewWindow.min/max options, so
if you have a Date type column, you can use a Date object for the min/max
values.
On Wednesday, September 26, 2012 11:00:59 AM UTC-4, jlanz wrote:
>
> OK! I figured the problem. The stricter enforcement in the newer relases
> bug me the setting I had for the hAxis for the graph.
>
> hAxis: {
> title: 'Totals',
>
> textPosition: 'out',
>
> minValue: 'auto',
> viewWindow: {
> min: 0 <--- THIS WAS THE PROBLEM! THE NUMBER IS ADDED
> AND PRODUCES THE ERROR
> }
> }
> *
> *Removing that line will fix up all.
> Thanks
>
> On Tuesday, September 25, 2012 7:24:57 PM UTC-3, asgallant wrote:
>>
>> I don't see any problem with that code either:
>> http://jsfiddle.net/asgallant/3kMXV/3/
>>
>> On Tuesday, September 25, 2012 6:15:57 PM UTC-4, jlanz wrote:
>>>
>>> mmm interesting... I'm usign DataTables with setValue, something like
>>> this:
>>>
>>> function drawc60() {
>>> data_c60 = new google.visualization
>>> .DataTable();
>>> data_c60.addColumn('string', 'id');
>>> data_c60.addColumn('date', 'date');
>>> data_c60.addColumn('number', 'total');
>>> data_c60.addRows(2);
>>> data_c60.setValue(0, 0, '0');
>>> data_c60.setValue(0, 1, new Date(2012, 8, 24));
>>> data_c60.setValue(0, 2, 167);
>>> data_c60.setValue(1, 0, '0');
>>> data_c60.setValue(1, 1, new Date(2012, 8, 25));
>>> data_c60.setValue(1, 2, 117);
>>>
>>> addRows seems to be working in your example!
>>>
>>> Best.
>>>
>>> On Tuesday, September 25, 2012 6:28:24 PM UTC-3, asgallant wrote:
>>>>
>>>> I can't replicate the problem (see http://jsfiddle.net/asgallant/3kMXV/).
>>>> Can you post code that reproduces the issue?
>>>>
>>>> On Tuesday, September 25, 2012 5:03:36 PM UTC-4, jlanz wrote:
>>>>>
>>>>> I can confirm the problem with corechart package drawing lines and
>>>>> areas with dates (versions 1 and 1.1), you get different errors in
>>>>> different browsers, this one is in Chrome has no method 'getTime'
>>>>>
>>>>> Version 1.30 is working for me also.
>>>>>
>>>>> Thanks.
>>>>>
>>>>> On Tuesday, September 25, 2012 10:15:47 AM UTC-3, visigoth wrote:
>>>>>>
>>>>>> No problem :)
>>>>>> The packages areachart, linechart etc. are over two years old and
>>>>>> deprecated, please do not use them.
>>>>>> You can load package corechart just as you did, only specify "1.XX"
>>>>>> instead of "1" to get release XX. Current release is 32.
>>>>>> Please note that we do not have frozen versions of all releases, so
>>>>>> 1.31 for example will not work. I tried with 1.26 and it worked, but
>>>>>> that
>>>>>> release is about 9 months old.
>>>>>> You can start from 1.30 and go back until you find a release that
>>>>>> works for you.
>>>>>> Sorry that I cannot be more specific, but I don't have access to the
>>>>>> list of frozen versions we have from here (already home).
>>>>>>
>>>>>> Please let me know how you are doing,
>>>>>> Visigoth
>>>>>>
>>>>>>
>>>>>> On Tue, Sep 25, 2012 at 1:17 PM, mrishadali <[email protected]>wrote:
>>>>>>
>>>>>>> Hi Visigoth,
>>>>>>>>
>>>>>>>> Sorry to bother you again. Can you please tell me the package name
>>>>>>> of the release before this one. I
>>>>>>> tried {packages:["areachart","linechart"]} but they are very old and I
>>>>>>> need
>>>>>>> some features from the last version. Is it possible to load the version
>>>>>>> before this release. and how to do that???
>>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>> --
>>>>>>> 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/-/3MN8s9m6NpYJ
>>>>>>> .
>>>>>>>
>>>>>>> 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 view this discussion on the web visit
https://groups.google.com/d/msg/google-visualization-api/-/sz4ca3qf_JgJ.
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.