chartjs-plugin-zoom icon indicating copy to clipboard operation
chartjs-plugin-zoom copied to clipboard

Pan programatically on button click in React

Open stefann01 opened this issue 1 year ago • 2 comments

Seems like chart.pan({x: amount}) doesn't work, where chart is a React ref to a bar chart

stefann01 avatar Mar 22 '23 11:03 stefann01

Could you provide more details please (a reproduction would be best to get someone to look at this). I would guess React is re-rendering the chart and losing the pan in the process.

kurkle avatar May 09 '23 14:05 kurkle

I have the same issue in pure html project!

ghost avatar Oct 30 '23 08:10 ghost