By default GPX elevation charts are displayed beyond the map that the GPX track is assigned too.
You can separate the GPX elevation chart from the map though by following these steps:
<div id="chart-area" style="width:600px;height:400px;"></div>
mapsmarker map="1" chart="chart-area"
As a result, the elevation chart will be loaded within this <div>.