WordPress.org

Forums

WordPress Charts
[resolved] Would like to delay animation until slide visible (2 posts)

  1. macmike78
    Member
    Posted 1 year ago #

    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/

  2. Paul van Zyl
    Member
    Plugin Author

    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Charts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.