Reputation: 4916
I need to change the default place holder value of the Google charts category filter. Can any one specify how can i do it ?
Upvotes: 0
Views: 150
Reputation: 4916
Finally i found the answer for my need. Adding the following property in the options saw me home.
var categoryPicker = new google.visualization.ControlWrapper({
'controlType': 'CategoryFilter',
'containerId': 'control2',
'options': {
'filterColumnLabel': 'Project',
'ui': {
'labelStacking': 'vertical',
'caption':'Select Project',
'allowTyping': true,
'allowMultiple': true
}
}
});
The caption property did the trick.
Upvotes: 1