This should be fixed on the 1.1 development branch. Feel free to use that
until we announce v38 completely.
Again, sorry for the bug. :)
On Friday, March 7, 2014 10:26:36 AM UTC-5, Jeremy Faller wrote:
>
> Yeah, this is a bug. I've got a fix together, hopefully it will make v38.
> Sorry about that.
>
>
> On Friday, March 7, 2014 4:58:55 AM UTC-5, Patrick Kuster wrote:
>>
>> I have found the 'curveType': 'function', to the issue. Removing
>> 'curveType' allowed it to "function" normally. =)
>>
>>
>>
>>
>> On Friday, March 7, 2014 4:52:50 AM UTC-5, Patrick Kuster wrote:
>>>
>>> I checked the following code in Code Playground (under line chart) to
>>> confirm it is not plotting the data. I simply get an empty chart showing
>>> the proper x and y axis. Is LineChart not yet compatible, or am I doing
>>> something wrong?
>>>
>>>
>>> function drawVisualization() {
>>> // Create and populate the data table.
>>> var data = google.visualization.arrayToDataTable([
>>> ['Utilization', 'Fixed', 'Variable'],
>>> [1, 205440, 185044],
>>> [.9, 205440, 178964],
>>> [.8, 205440, 172884],
>>> [.7, 205440, 166804],
>>> [.6, 205440, 160724],
>>> [.5, 205440, 154644],
>>> [.4, 205440, 148564],
>>> [.3, 205440, 142484],
>>> [.2, 205440, 136404],
>>> [.1, 205440, 130324],
>>> [0, 205440, 124244]
>>> ]);
>>>
>>> var options = {
>>> 'curveType': 'function',
>>> 'legend': { position: 'bottom' },
>>> 'height':300};
>>>
>>> var chart_div = document.getElementById('visualization');
>>> var chart = new google.visualization.LineChart(chart_div);
>>>
>>> google.visualization.events.addListener(chart, 'ready', function ()
>>> {
>>> chart_div.innerHTML = '<img src="' + chart.getImageURI() + '">';
>>> console.log(chart_div.innerHTML);
>>> }
>>> );
>>>
>>> chart.draw(data, options);
>>>
>>> }
>>>
>>>
>>> *Result:*
>>>
>>>
>>>
>>> Any help would be greatly appreciated.
>>>
>>>
--
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.
For more options, visit https://groups.google.com/d/optout.