Can I Have One Chart Modify Another?

This is a very common question and you can definitely do this in ZingChart. You will utilize our API methods and API events. The following demo registers a node_click event. Within that, the event grabs the nodevalue (and several other properties) and updates the gauge to display that value.

zingchart.node_click = function(p) {
  zingchart.exec('myChart', 'setseriesvalues', {
    graphid: 1, //represents the gauge graph,
    plotindex: 0,
    values: [p.value]


Have more questions? Submit a request


Please sign in to leave a comment.