Support » Plugin: Extensive VC Addons for WPBakery page builder » Updating chart dynamically

  • Resolved Tiago Hillebrandt

    (@tiagohillebrandt)


    Hey there!

    After the plugin render a chart, there is no way to update its content dynamically via JavaScript.

    My suggestion would be to update the main.js file to make the Chart object available globally.

    This way we could update a chart dynamically after render it: https://www.chartjs.org/docs/latest/developers/updates.html

    I couldn’t find the Git repository where the plugin development is happening, but I would be happy to send over a Pull Request to address that.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Nenad Obradovic

    (@nenad-obradovic)

    Hi Tiago,

    Thanks for your suggestion, I will improve charts with that feature. Also if you want you can share me your solution, github repository https://github.com/NenadObradovic/extensive-vc

    Best regards,
    Nenad

    Plugin Author Nenad Obradovic

    (@nenad-obradovic)

    Hi Tiago,

    Could you check the github version of plugin, I improved pie chart shortcode js and add it into global object, now you will be able to access the object data and methods (ex. window.evc.pieChart[0])? If you need some more method inside pie chart object be free to ask me.

    Best regards,
    Nenad

    Plugin Author Nenad Obradovic

    (@nenad-obradovic)

    Hi,

    I released a new plugin version with charts improvements, so I will close this ticket

    Best regards,
    Nenad

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