Home forums StockChart Support export chart button on react canvas chart Reply To: export chart button on react canvas chart

#30929

@shashank,

You can get the reference to the chart instance by passing onRef = {ref => this.chart = ref} props to the component, which you can use to export chart on clicking button. Please refer React Integration documentation for more information. Also take a look at this StackBlitz for an example.


Vishwas R
Team CanvasJS