curveType: 'function' dips below x-axis

77 views
Skip to first unread message

wi...@airdna.co

unread,
Oct 30, 2015, 11:20:55 AM10/30/15
to Google Visualization API
Can the curveType: 'function' for a LineChart be set so that the line doesn't dip below zero?  Most of the data points are above zero, but if one data point is zero the line curves below the x-axis, which looks weird. 

Daniel LaLiberte

unread,
Oct 30, 2015, 12:31:19 PM10/30/15
to Google Visualization API
Hi Will,

We've also recently noticed that problem with the smoothed lines dipping below 0.  That's the way the line smoothing works, unfortunately, and we probably can't change it now without breaking other people's assumptions.  We could provide an option to specify how the smoothing is done, and then avoid this problem with a new smoothing algorithm.  No promises for when we will be able to get to this.

On Fri, Oct 30, 2015 at 11:20 AM, <wi...@airdna.co> wrote:
Can the curveType: 'function' for a LineChart be set so that the line doesn't dip below zero?  Most of the data points are above zero, but if one data point is zero the line curves below the x-axis, which looks weird. 

--
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-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/6f520b88-43ca-4061-a787-5794999805bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
dlaliberte@Google.com   5CC, Cambridge MA
daniel.laliberte@GMail.com 9 Juniper Ridge Road, Acton MA
Reply all
Reply to author
Forward
0 new messages