0down votefavorite 
<https://stackoverflow.com/questions/44875576/google-charts-rangenumberfilter-not-responding-to-unitincrement-option#>

I have a Google Chart with a 'number filter' control. Here's the control's 
code:

   var liquidityRangeSlider = new google.visualization.ControlWrapper({
  controlType: 'NumberRangeFilter',
  containerId: 'filter3_div',
  dataTable: result,
  options: {
    filterColumnLabel: 'Liquidity',
    minValue: result.getColumnRange(2).min,
    maxValue: result.getColumnRange(2).max,
    ui: {unitIncrement : 0.1}
  },
  view: {columns: [2]}});

 liquidityRangeSlider.draw();

when the filter renders, the slider can only be adjusted in units of 1 as 
opposed to the unitIncrement option of  0.1

I have found that a bug was raised a couple of years ago here 
<https://github.com/google/google-visualization-issues/issues/861> but 
nothing has moved on that thread for a couple of years. Can anyone confirm 
if my code is incorrect or, in fact, that the bug is still there.

thanks

-- 

------------------------------
The Citizens Advice service helps people resolve their legal, money and 
other problems by providing information and advice, and by influencing 
policymakers.
Notice: this email originates from Citizens Advice, an operating name of 
The National Association of Citizens Advice Bureaux (Charity Registration 
Number 279057, VAT number 726 0202 76, Company limited by guarantee, 
Registered Number 1436945 England, Registered office 3rd Floor North, 200 
Aldersgate, London EC1A 4HD).  It contains proprietary information, some or 
all of which may be legally privileged. It is for the intended recipient 
only.  If an addressing or transmission error has misdirected this email, 
please notify the author by replying to this email.  If you are not the 
intended recipient you must not use, disclose, distribute, copy, print or 
reply to this email (other than for the reason stated above).

-- 
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 https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/78a90d3d-8db2-4ef0-89f6-41971860c99a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to