ZingChart: Do you offer a needle gauge that I can update the value at run time or by input?

The demo below uses an HTML input element of type="range" in conjunction with the ZingChart API. It will update the value of the graph as the tag is changed.  The relevant code is snippeted here, but see the full example below for all the details.

document.getElementById('updateChart').addEventListener('input', function(ev) {
  var inputValue = ev.currentTarget.value;
  document.getElementById('output').innerHTML = inputValue
  zingchart.exec('myChart', 'setseriesvalues', {
    values: [parseInt(inputValue)]

Example: https://demos.zingchart.com/view/ZEXN86JL


API methods

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us