Hi all,
I am trying to find out a way for ControlWrapper: NumberRangeFilter: to
always have a fixed value for the max range value and slide only to get the
min value.
I am not able to gte that using state: highThumbAtMaximum.
Is there any way to get that.
Suppose in the below example i want to max value for RollNumber as always
8. the NumberRangeFilter max position shd be fixed to 8 and if 5 is
selected at min, all the Roolnumbers between 5 and 8 should be considered.
If, 2 is selected, roolnumbers between 2 and 8 should be selected.
Can someone please help.
Thanks for your time.
function drawVisualization() { // Prepare the data var data =
google.visualization.arrayToDataTable([ ['Name','RoolNumber', 'Gender',
'Age', 'Donuts eaten'], ['Michael',1 , 'Male', 12, 5], ['Elisa',2,
'Female', 20, 7], ['Robert',3, 'Male', 7, 3], ['John',4, 'Male', 54, 2],
['Jessica',5,
'Female', 22, 6], ['Aaron',6, 'Male', 3, 1], ['Margareth',7, 'Female', 42,
8], ['Miranda',8, 'Female', 33, 6] ]); // Define a slider control for the
Age column. var slider_rn = new google.visualization.ControlWrapper({
'controlType':
'NumberRangeFilter', 'containerId': 'control2', 'options': {
'filterColumnLabel':
'RoolNumber', 'ui': {'labelStacking': 'vertical'} } });
--
You received this message because you are subscribed to the Google Groups
"Google Chart API" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-chart-api/-/5aReHhGI2wkJ.
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-chart-api?hl=en.
Title: Google Visualization API Sample