You are missing the comma before the "state" parameter:
var regionPicker = new google.visualization.ControlWrapper({
'controlType': 'CategoryFilter',
'containerId': 'control1',
'options': {
'filterColumnLabel': 'Region',
'ui': {
'labelStacking': 'vertical',
'allowTyping': false,
'allowMultiple': false,
//selectedValuesLayout: 'belowStacked'
}
},
state: {
selectedValues: [dataArray.getValue(defaultRow, regionColumn)]
}
});
On Wednesday, August 14, 2013 12:47:29 PM UTC-4, kpj wrote:
>
> Please find my updated code in the attachment..
> I am getting an uncaught syntax error at state:{ line..
> THe syntax seems to be right.
>
> Thanks for your help
> On Tuesday, August 13, 2013 8:38:27 AM UTC-5, kpj wrote:
>
>> Hi ,
>> I would like to set a default chart in my page.
>> right now, when the page opens up, the Yaxis looks messy because i have
>> huge data, all the labels in the yaxis are overlapping..
>> so, i would like to put a default chart .. is that possible?
>> Thanks in advance
>>
>
--
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/groups/opt_out.