Home forums StockChart Support unable to manipulate slider hands in functional components Reply To: unable to manipulate slider hands in functional components

#32294

@gaurav-sharma6,

To access ref attributes in react, you need to use stockChart.current.stockChart. Please take a look at this react documentation for more information.

Please take a look at this updated StackBlitz example.

—-
Manoj Mohan
Team CanvasJS