FF11 (don't know about other browsers, didn't have a chance to check)
doesn't parse ['a', , ] as a 3-element array. It thinks it's actually ['a',
null] - a 2-elements array, which is bad input for arrayToDataTable.

On Wed, Apr 25, 2012 at 1:19 PM, Freddy <[email protected]>wrote:

> But, it works fine in IE, placing null would make a difference in Firefox?
>
> Thanks for the suggestion, let me try
>
> Freddy
>
>
> On Wed, Apr 25, 2012 at 3:47 PM, Jinji <[email protected]> wrote:
>
>> I'm having troubles testing right now, but I assume this is because of
>> the blank array elements - e.g, ['May', , ]. Replace with explicit nulls -
>> ['May', null, null].
>>
>>
>> On Wed, Apr 25, 2012 at 12:53 PM, Freddy <[email protected]>wrote:
>>
>>> Here is my code for the line chart.
>>>
>>>
>>> <script type="text/javascript" src="https://www.google.com/jsapi
>>> "></script>
>>>           <script type="text/javascript">
>>>                 google.load("visualization", "1",
>>> {packages:["corechart"]});
>>>                       google.setOnLoadCallback(drawChart);
>>>                            function drawChart()
>>>                            {
>>>
>>>    var data = google.visualization.arrayToDataTable([
>>> ['Month', 'Revenue', 'Expenses'],
>>> ['Jan', 123400.00, 98780.00],
>>> ['Feb', 114700.00, 109120.00],
>>> ['Mar', 134500.00, 101560.00],
>>> ['Apr', 111390.00, 99230.00],
>>> ['May', , ],
>>> ['June', , ]]);
>>>
>>> var options = {
>>> //title: 'Revenue-Expense Analysis'
>>> };
>>>
>>>         var chart = new
>>> google.visualization.LineChart(document.getElementById('chart_div'));
>>>          chart.draw(data, options);
>>>       }
>>>
>>>       </script>
>>>
>>>
>>>
>>>
>>> On Tue, Apr 24, 2012 at 7:34 PM, asgallant <[email protected]>wrote:
>>>
>>>> Post your code or a link to the page and I'll help you debug.
>>>>
>>>>
>>>> On Monday, April 23, 2012 6:54:48 PM UTC-4, Allen Fuller wrote:
>>>>>
>>>>> I'm having the same problem. We have several charts on one page and
>>>>> the last few do not load in FF11. Everything else works just fine.
>>>>>
>>>>> When I looked at the Error Console, I see the error "the container is
>>>>> null or not defined"
>>>>>
>>>>> Any suggestions would be really appreciated!
>>>>>
>>>>>
>>>>> On Monday, April 23, 2012 10:59:28 AM UTC-6, asgallant wrote:
>>>>>>
>>>>>> Open the Firefox developer console (ctrl+shft+J) and reload the page.
>>>>>>  You should see some sort of error there.
>>>>>>
>>>>>> If you post your code or a link to the page, we can help you debug.
>>>>>>
>>>>>> On Monday, April 23, 2012 11:16:24 AM UTC-4, Phanibhushan Reddy wrote:
>>>>>>>
>>>>>>> I have a simple line chart that works fine with IE but fails to load
>>>>>>> in Firefox 11. Can someone help as to what is the issue and possible
>>>>>>> trouble shooting steps?
>>>>>>>
>>>>>>> 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/-/xVlcVTnxYf4J
>>>> .
>>>>
>>>> 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.
>>>
>>
>>  --
>> 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.
>>
>
>  --
> 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.
>

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