You're welcome.

On Thursday, May 24, 2012 9:00:52 AM UTC-4, S_OSTA wrote:
>
> Thanks asgallant,
>
> Worked like a charm.
>
>
> On Wednesday, 23 May 2012 16:20:56 UTC+1, asgallant wrote:
>>
>> Yes, call the chart's #setSelection method in a 'ready' event listener:
>>
>> google.visualization.events.addListener(pie, 'ready', function () {
>>        // set the selection to the first row in the chart 
>>     pie.setSelection([{row: 0}]);
>> });​ 
>>
>> On Wednesday, May 23, 2012 8:47:29 AM UTC-4, S_OSTA wrote:
>>>
>>> Hello All 
>>>
>>> Given a simple pie chart like 
>>> https://developers.google.com/chart/interactive/docs/gallery/piechart#Example
>>>  
>>>
>>> If I click on one of the slices it becomes selected (indicated by a 
>>> coloured arc appearing at the edge of the slice) but is there any way 
>>> to draw this pie with slice 1 preselected? 
>>>
>>> Thanks for your help. 
>>>
>>>

-- 
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/-/1VCOY3x1jvoJ.
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