Are you trying to set the state of the slider to some non-integer value? If so, it won't work - the sliders only use integer values.
On Friday, November 9, 2012 3:20:47 AM UTC-5, Vikas NV wrote: > > But still it does not work, it seems like the entered numbers in textbox > get rounded off before filtering ... > > On Friday, November 9, 2012 7:46:56 AM UTC+5:30, Vikas NV wrote: >> >> I have starred the issue. As a work around I have done this: >> >> 1. I have put a select menu, from which users can select an option (these >> options are mapped to the slider controls) >> 2. I have text boxes for min & max for users to enter >> 3. Check user's entry of min & max are valid >> 4. I have two buttons .. >> "redraw"->which sets the min & max for slider using setState & >> redraws slider >> "reset" ->which sets the min to floor of min_of_col_from_datatable & >> max to ceil of max_of_col_from_datatable & redraws slider >> This also saves a lot of page's real estate .. >> >> Thanks, >> Vikas >> >> On Wednesday, November 7, 2012 9:32:20 PM UTC+5:30, asgallant wrote: >>> >>> This is a known limitation of the API. You can "star" the bug report on >>> the issue ( >>> http://code.google.com/p/google-visualization-api-issues/issues/detail?id=861) >>> >>> to get updates on a fix and to let the devs know that users are particular >>> concerned about this issue. >>> >>> On Wednesday, November 7, 2012 4:37:09 AM UTC-5, Vikas NV wrote: >>>> >>>> Hi, I have a slider control on my page, whose min and max values are 1 >>>> and 2. I want to move the slider in steps of 0.2 but I can't get it to >>>> work >>>> with setting ui.unitIncrement = 0.2 >>>> May I know how to get around with this? >>>> Thanks, >>>> Vikas >>>> >>> -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/Af7To7FUd8QJ. 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-visualization-api?hl=en.
