Support » Plugin: WordPress Charts and Graphs Lite » Auto refresh

  • Resolved smit.511



    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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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?

    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.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Auto refresh’ is closed to new replies.