Is there any way to set limits of the y axis so when the chart gets rendered on the web site or the app it can show the variations better? Don't see anything here:
https://developer.garmin.com/connect-iq/core-topics/activity-recording/
Thanks
Is there any way to set limits of the y axis so when the chart gets rendered on the web site or the app it can show the variations better? Don't see anything here:
https://developer.garmin.com/connect-iq/core-topics/activity-recording/
Thanks
I don't think there's a way you can do this -- Garmin Connect Web and Garmin Connect Mobile decide on their own how to set the range of the y-axis (and they seem to work slightly differently, at least with native data.)
As far as I can tell, for Garmin Connect Web graphs:
- Native data has the min and max y-axis values set close to the min and max data points. (For native cadence, the website seems to graph 0s, but Garmin Connect Mobile does not, which also affects the min y-axis value.
- CIQ data has the min y-value at 0, and the max y-value close to the max data point. (The only CIQ data I've looked at is always positive, though. I'm sure that if some data were negative, the min y-value would be adjusted appropriately.)
Thanks
You can certainly do that inside your CIQ logic... setting a cap on the value you send... to not blow out the Y-axis for extraordinary values. For example, I just developed a graph that shows stop times in minutes during a ride. Generally, at red lights or bottle refills, my stop times are under a couple minutes. But say I stop for lunch for 45 mins.... that would blow out the Y-axis. I can cap stop time values to 10 mins.... I'll know anything at 10 mins could be more, but at least that'll better illustrate all durations of my typical stops. Just an idea.