In the below example if we add step:5 to the code for NumberRangeFilter as
follows:

http://jsfiddle.net/asgallant/bj3Rz/2/

     // Define a slider control for the Age column.
    var slider = new google.visualization.ControlWrapper({
        controlType: 'NumberRangeFilter',
        containerId: 'control1',
        dataTable: data,
        options: {
            filterColumnLabel: 'Age',
            ui: {
                labelStacking: 'vertical',

*step: 5*            }
        }
    });

I need the slider to move by 5 values, it is correctly moving. But the
issue is it is adding 5 extra 0s for decimal values for the start and end
value of the slider by default. If i put step as 10, it is adding 10 0s for
decimal places (0.0000000000 to 60.0000000000).

Can some one help me removing these extra 0s when i use 'step' for
NumberRangeFilter.

-- 
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.

Reply via email to