This option works a bit different than what is documented (will be updated
soon):If the 'scaleType' option is set to 'maximize' or 'allmaximize' - then
the range indeed starts from the 'min' value (unless the actual data is
smaller than this value, then it is ignored).
If 'scaleType' is 'fixed' or 'allfixed' ('fixed' is the default), then the
chart starts from 0, unless there are negative values, and then the 'min'
value takes effect, in a similar way to 'max' but for negative values (so
you can set the min value to be -100 even though the smallest actual value
is -50, for example).

Hope this is clear - we will update the docs soon.

Regards,
VizGuy


On Sun, Jun 28, 2009 at 2:40 AM, Wilhelm <[email protected]> wrote:

>
> I was not able to get the yaxis minimum to work on my visualization
> API.  I was wondering if it had been implemented yet?
>
> var chart = new google.visualization.AnnotatedTimeLine
> (document.getElementById('chart_div'));
> chart.draw(data, { displayAnnotations: true,
>                           min: 10, max: 20,
>                           thickness: 2});
>
> I know that the docs read:
>
> "The minimum value to show on the Y axis. If the minimum data point is
> less than this value, this setting will be ignored, and the chart will
> be adjusted to show the next major tick mark below the minimum data
> point."
>
> I made sure that my minimum data point was more than the min value set
> of 10.
>
> It doesn't seem to be working.  Am I doing something wrong, or it's as
> the old posts say, it's not yet implemented?
>
> Wilhelm
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to