• Resolved macmike78

    (@macmike78)


    I have a chart in a slider and would like to know how would I go about delaying the animation of the chart(s) until it’s slide is visible?

    I’m using royalslider and was given this…

    slider.ev.on('rsAfterSlideChange', function(event) {
        // triggers after slide change
    });

    from the developer.

    What would be the “trigger” I add to animated the chart upon its slide showing up?

    Thanks!

    https://wordpress.org/plugins/wp-charts/

Viewing 1 replies (of 1 total)
  • Hi

    Currently this would not be possible with hacking the plugin, and would be a fairly complex procedure. In this case I would reccommend using the JS library chart.js that this plugin makes available in the wordpress editor.

    Kind Regards

    Paul

    PS: loading with a js function could be a nice feature I will think on it, though I’ve got quite a big backlog before I get there.

Viewing 1 replies (of 1 total)
  • The topic ‘Would like to delay animation until slide visible’ is closed to new replies.