AnsweredAssumed Answered

Javascript ElevationProfile widget XAxis

Question asked by tfkid on Aug 13, 2015
Latest reply on Aug 13, 2015 by tfkid

I am using the Javascript Elevation Profile widget for the WebAppbuilder

and have updated the 'this.elevationData' values to start at a number greater than 0.

i.e my collection of measurements would have values like 500,600,700 instead of 0,100,200.

The Chart displays my elevation data at correct measurements but still includes the 0-500 part of the chart(and labels) that has no data.

So my question is how does one control the Xaxis labels and make the chart 'fit' my data, not assume I am starting at 0?

 

If you see the attachment the data that is showing is exactly what I want, I just want the labels and the data to start at around the 460,000 mark. Removing 0-460,000 from chart and x-axis completely...

 

Thanks..just looking for a nudge in right direction.Screen Shot 2015-08-13 at 9.07.11 AM.png

Outcomes