chartist-plugin-threshold
chartist-plugin-threshold copied to clipboard
Reinitialize plugin or live change propperties (threshold)
Hi, in my app, i show new chart with different propperties on timeout, and i want any time when chart was created, change the "threshold" prop. how i can do this? You can see my app in http://widgets.andryushkov.ru/exchange_dynamics/
Thankful in advance for the answer
I tried to do this as well, users can change the threshold from a form, but I can't figure out how to pass the new options to the .update() function of chartist-js to update the graph with the new threshold?
chart.update(null, {c.plugins.ctThreshold: threshold})