The following NumberRangeFilter works great:
https://code.google.com/apis/ajax/playground/?type=visualization#numberrangefilter_control
However, I am trying to filter on more then one column. Basically I wish
the filter to apply to both 2010 and 2011 year data.
This is what I am trying to do, but it does not work:
var data = new google.visualization.DataTable();
data.addColumn('string', 'Organisation');
data.addColumn('number', '2010');
data.addColumn('number', '2011');
data.addRows([
['France',10,15],
['Germany',20,30],
['Spain',30,5],
['Italy',20,10],
]);
var slider = new google.visualization.ControlWrapper({
'controlType': 'NumberRangeFilter',
'containerId': 'control1',
'options': {
'filterColumnLabel': '2010','2011',
'minValue': 0,
'maxValue': 60
}
--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.