Home Forums Chart Support Context error on this.chart.render() Reply To: Context error on this.chart.render()



In the code sample that you have shared, replacing this.chart.render() with e.chart.render() should work fine. Please take a look at this documentation page for more information to Hide Unhide Data Series on Legend Click.

If you are still facing any issue, kindly create a sample project reproducing the issue and share it with us over Google-Drive or Onedrive so that we can run the code locally, understand the scenario better and help you out.

Indranil Deo
Team CanvasJS