Hi Raruto,
please see your example loading multiple .gpx tracks (hover to toggle ).
You move with the mouse over a track, the chart and the ruler appear. Now you click on any track on the map, the chart disappears. Next you move with the mouse over a track again, the chart appears, the ruler doesn't.
How to fix this?