chartjs-plugin-datasource-prometheus icon indicating copy to clipboard operation
chartjs-plugin-datasource-prometheus copied to clipboard

How to clear and draw another graph?

Open stokito opened this issue 4 years ago • 0 comments

Should I do something like:

myChart.clear()
myChart.options.prometheus.query = "new query"
myChart.draw()

?

stokito avatar Nov 29 '21 14:11 stokito