Despite the COVID-19 outbreak, our team continues operating at full speed. We are always here to support and answer all your questions.

Feel free to reach out by filling this quick form.

Fill the form
Get Free Trial

How to integrate Flexmonster with React and Highcharts?

Courtney Chow asked on October 15, 2019

The example in docs only shows how to do either one of them, but not both.
When I use the `ref.current!.flexmonster().highcharts!.getData` in a Flexmonster + React project, the error says `Cannot read property ‘getData’ of undefined` but I alreay include <script src=”flexmonster/lib/flexmonster.highcharts.js”></script>. (However, Flexmonster itself is included using npm).
What shall I do?

1 answer

Vera Didenko Flexmonster October 17, 2019

Hello, Courtney,
Thank you for writing to us.
Actually, we have a demo using React and FusionCharts, another third-party chart library:
Although it is not using Highcharts, the integration with Flexmonster and usage in React idea should be the same.
Please let us know if this helps.
Best Regards,

Please login or Register to Submit Answer