Visualizer: Charts and Graphs
Auto refresh (4 posts)

  1. smit.511
    Posted 1 year ago #


    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?


  2. smit.511
    Posted 1 year 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
    Plugin Author

    Posted 1 year 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
    Posted 11 months ago #

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


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Visualizer: Charts and Graphs
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic