Support » Plugin: WP GPX Maps » Display just the Graph

  • Hello Guys,

    I love the plugin. On my page I want to show at the top of the site the map (of a gpx file) and in the lower part of the graph (diagram of the same .gpx file). Does anyone now it thats possible with the plugin and how does the short code look like ?

    Thank you,
    Mathias

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Mathias,

    There’s no shortcode for that, you’ll have to get your hands dirty with some javascript. Look out for an element like

    <canvas id="myChart_2906_1981936" class="plot chartjs-render-monitor" style="width: 720px; height: 200px; display: block;" width="720" height="200"></canvas>

    and use jQuery to move it to another part in the DOM.

    m

    Thread Starter matze1116

    (@matze1116)

    Thanks 🙏🏼

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display just the Graph’ is closed to new replies.