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?
Thank you for writing to us.
Actually, we have a demo using React and FusionCharts, another third-party chart library: https://codepen.io/ronika/pen/ZNaBxv/
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.