it's ok as your explain, cheers

Terry

On 11 February 2010 07:53, Viz Kid <[email protected]> wrote:

>
> There shouldn't be a problem with it. I just tried your example and it
> works, although not in the playground.
> The reason that it doesn't work in the playground is that the editor cannot
> handle these characters. If you would copy paste this into an html file it
> should work.
>
> Hope this helps,
>   Viz Kid
>
> On Mon, Feb 8, 2010 at 2:08 PM, Terry <[email protected]> wrote:
>
>> Hi,
>> I am working on a pie chart. There are some Spanish and Portuguese
>> will display in legend, but it gives me messy code display.
>>
>> I have tested it in 'Google code playground', it did NOT work either,
>> I attached code here, Can someone give me a help for that? Thanks!
>>
>> // code
>> function drawVisualization() {
>>  // Create and populate the data table.
>>  var data = new google.visualization.DataTable();
>>  data.addColumn('string', 'Bookings');
>>  data.addColumn('number', 'bookings per person');
>>  data.addRows(5);
>>  data.setValue(0, 0, 'Paulo Galão'); // cannot displayed well
>>  data.setValue(0, 1, 11);
>>  data.setValue(1, 0, 'Terry Smith');
>>  data.setValue(1, 1, 2);
>>  data.setValue(2, 0, 'Peter Cech');
>>  data.setValue(2, 1, 2);
>>  data.setValue(3, 0, 'Ronaldo');
>>  data.setValue(3, 1, 2);
>>  data.setValue(4, 0, 'Nicky Butt');
>>  data.setValue(4, 1, 7);
>>
>>  // Create and draw the visualization.
>>  new
>> google.visualization.PieChart(document.getElementById('visualization')).
>>      draw(data, null);
>> }
>>
>> //:~
>>
>> --
>> 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]<google-visualization-api%[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]<google-visualization-api%[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