Open Coroico opened 10 years ago
You mean flip the whole diagram including axes horizontally? I´ve never seen a height profile UI element doing that, but would be interesting. But seems like it´s not as easily done as it sounds. I don´t have the time to do it at the moment. If you want to contribute I´ll happily merge it. As a first workaround (and if you don´t need the distance labels) you can just call reverse() on the the data before adding it.
Is it possible to specify the direction of the profil drawing ? From left to right side or from right to left side. I have an example where the track is from east to west (so from the right side to the left side of the map) and below the height indicator which moves from the left side of the elevation profil to the right side. It could be interesting to specify a direction for the profile drawing (leftToRight or RightToLeft). If RightToLeft required this implies to invert the order of the points of the track.