WordPress.org

Ready to get started?Download WordPress

Forums

Visualizer
Auto refresh (4 posts)

  1. smit.511
    Member
    Posted 6 months ago #

    Hi

    I am trying to show a stock market chart using this plugin. My main requirement is to refresh the chart on a button click, so that it can take the new data from the .csv everytime. Kindly tell me how do I go about it? Will adding the hooks to the plugin's index.php do it? Or one must refresh the entire page to see the updated chart?

    https://wordpress.org/plugins/visualizer/

  2. smit.511
    Member
    Posted 6 months ago #

    I tried the filter hook as explained on your wiki. It is updating the data, but it is not updating the graph without refreshing the page. How do I enable that?

  3. madpixels
    Member
    Plugin Author

    Posted 6 months ago #

    Hi @smit.511

    There is visualizer javascript object on your page, which contains charts data and render/rendorChart(id) methods. You need to update chart data part of that object via AJAX and then call render (to refresh all charts) or renderChart(id) (to refresh exact chart) method.

  4. parioni8
    Member
    Posted 2 weeks ago #

    Excuse me, I'm using jquery.SmoothState.js in my WordPress and nothing appear until I refresh the page. How to do?

    https://github.com/weblinc/jquery.smoothState.js/issues/64

Reply

You must log in to post.

About this Plugin

About this Topic