ok. the markup is classic 'FORTRAN programmer meets APL with a dose of
cut-and-paste"

http://labs.apnic.net/ipv6-measurement/AS/7/8/6/

(around 14,000 different AS in that series, 250 economies and 50 regions,
all using google chart API to draw JSON versions of the collected data.
this is a 2y experiment on measuring IPv6 uptake)

the function findMax() in the draw .js coerces the max value out of the
data table being used, and sets a limit value in scale.
It used to be doing 100/50/25/10/5/2/1/0.5 and is now doing
101/51/26/11/6/3/2/0.6 because of this problem.

I deserve about 200 different "you're doing it wrong' on this stuff. Be
gentle..

-G



On Thu, May 9, 2013 at 11:53 PM, asgallant <drew_gall...@abtassoc.com>wrote:

> Seeing your full code would be most helpful to figuring this out.
>
> Is the minimum value on the chart constant?  The way the API works, you
> get values for every gridline, starting with the baseline and working up.
>  If your chart has a range of 0-10, and you leave the gridlines.count
> option at its default, then you should see the values 0, 2.5, 5. 7.5, 10.
>  See this example: http://jsfiddle.net/asgallant/xWeSC/
>
>
> On Thursday, May 9, 2013 12:23:27 AM UTC-4, ggm wrote:
>>
>> the rules around maxValue and max for windowViews are really confusing me.
>>
>> I want a graph which displays 0 .. 10 on the vAxis.
>>
>> if I specify vAxis.max 10.0 I can find 0..9 and the 10 value is consumed
>> by frame edge and lost.
>> if I specify vAxis.max 11.0 I am guaranteed a valuepoint of 10, but
>> sometimes acquire 11.0 as well.
>>
>> if I specify a windowView even with 'explicit' I cannot guarantee range
>> in axis is 0..10, it can be 0..9 displayed.
>>
>> I want something functionally like gnulplots set yrange [0:10] without
>> any confusion about what is or is not the displayed value!
>>
>> (I realize this is probably a shoot-self-in-foot moment, and that a
>> combination of other decor and the view window/clipping is causing this)
>>
>> cheers
>>
>> -George
>>
>  --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> http://groups.google.com/group/google-visualization-api?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to