Romain,

The Histogram tries to avoid creating too many small buckets, but it is
probably imposing the limits incorrectly with very small buckets.  The
options for the maximum number of buckets and the chartArea.width affect
the computed bucket size, and there is an internal limit of 5 pixels per
bucket, regardless what you specify.  The range of your data is also
factored in, but this includes the outliers before they are excluded.

Another misleading factor is that the ticks you see don't correspond to the
bucket sizes, since it will only draw ticks that fit within the space
available, so if you reduce your tick label font size, you might see more.


However, given all that, it seems like it should be able to use smaller
bucket sizes.  The 5 pixel minimum is probably too high, and we should
probably allow all the way down to 1 pixel.  I am experimenting with it
now, so some fixes may show up in the next release.

On Thu, Dec 17, 2015 at 5:30 AM, huneau romain <[email protected]>
wrote:

> Hello,
>
> I have some trouble with the histogram.bucketSize.
>
> histogram.bucketSize
>
> Hardcode the size of each histogram bar, rather than letting it be
> determined algorithmically.
> Type: number
> Default: auto
>
> I have a lot of small values, and I would like to set the bucketSize to
> ~0.001 but it doesn't work. Under 0.015 it seems ignore my value and I
> can't find any explanation in the doc. Can you tell me how to do this?
>
> Best regards,
>
> Romain.
>
> --
> 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/f3f71788-a5a7-4700-9230-360c6988750a%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/f3f71788-a5a7-4700-9230-360c6988750a%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
[email protected] <[email protected]>   5CC, Cambridge MA

-- 
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/CAOtcSJMLWWiqyTQb4GYDrtwfdVXL75gge16kpGj-yKGBekcsMQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to