Formatter giving full control on how numbers are formatted.
A callback called from the profile when the mouse moves over a point. The point, an item of the elevation data array, is passed as the first argument of the function.
A callback called from the profile when the mouse leaves the profile.
Extractor for parsing POI data.
Allows to modify the raw x and y scales. Notably, it is possible to modify the y domain according to XY ratio rules, add padding or enforce y lower bound.
Generated using TypeDoc
Extract the distance from origin of a point (an item of the elevation data array).