Daniel,

Thanks for the quick reply. As it turns out I tried the following 
(haxis:viewWindow:) and it appears it gives the result I needed:

 var options = {
          title: 'Random Gaussian Values',
          legend: { position: 'none' },
          hAxis: {
            viewWindow: {
                min: -3,
                max: 3
            }
          },
          histogram: { bucketSize: 0.05 }
          
        };

The only thing I noticed is occasionally, depending on the data, the axis 
labels at the limits alternate between -3.0 and 3.0 to -2.8 and 2.8 though 
the axis stays calibrated at -3 and +3 if that makes any sense.

It will take me a while to get used to the syntax. I would love to see some 
examples where one loads data is in a javascript array into the datatable 
object or whatever you call it in google Visualization. But that is a topic 
for another thread and I probably need to spend some time just reading the 
documentation and working through some examples..  



On Monday, January 18, 2016 at 5:24:52 PM UTC-5, Daniel LaLiberte wrote:
>
> Hi debeeker,
>
> I am actually adding support for specifying the min and max values of the 
> Histogram domain axis, as well as a number of other features.  This should 
> be available in the next release, if not the upcoming one, perhaps within a 
> couple weeks.
>
> On Sun, Jan 17, 2016 at 7:44 PM, <[email protected] <javascript:>> 
> wrote:
>
>> In addition to bucket size we need to be able to fix the max and min 
>> values regardless of the values in the data set. There are times when one 
>> wants to keep the horizontal axis scaling the same to better identify 
>> differences between data sets with different number of data points. 
>>
>> On Thursday, December 12, 2013 at 2:49:06 AM UTC-5, Jeff Mackewicz wrote:
>>>
>>> I have a histogram and I'm trying to define the groupings/values to be 
>>> shown as part of the horizontal axis.  Is there a way to specify the range 
>>> of values for each bar or at least the number of groupings for the axis.  
>>> As an example, for the following chart, I'd like to just have four 
>>> groupings.
>>>
>>>
>>> <https://lh3.googleusercontent.com/-PQTFsmHjYls/UqlqWIGV7YI/AAAAAAAAAIg/XtbNOZx6wI4/s1600/Screen+Shot+2013-12-11+at+11.43.07+PM.png>
>>>
>>> -- 
>> 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] 
>> <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> 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/348be78c-8fb0-41f7-867d-d88c97395089%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/google-visualization-api/348be78c-8fb0-41f7-867d-d88c97395089%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] <javascript:>   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/61a506c7-d3db-4868-a032-0f6857368240%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to