Paweł Potaczek
Paweł Potaczek
Hello, Unfortunately, there is currently no progress in this topic. As the autor of this issue rightly noticed, the implementation would be complicated and would require some changes in the...
Hi @ksdelacruz, Did you try to use the solution with portals?
@ksdelacruz, By portals you can add React components to all HTML chart's elements. Please check the example with data labels: https://codesandbox.io/s/highcharts-react-demo-v9dns Best regards!
Hi @ksdelacruz, Could you reproduce that issue in some online code editor? You can edit the live example that I provided previously.
Hi @ksdelacruz, Thank you for the live demo! The problem is that the chart re-renders after adding components from the portal, please check the order of functions in this example:...
Hi @dankremniov, Thanks for your comments. Your code looks really well! The only thing I can see to improve is chart updating. You don't need to merge options, it is...
Yes, it is worth it 👍 good idea!
Hi @plotka, I just checked the example and it also works for version 3.0.0, maybe you didn't update React version? **Live example:** https://codesandbox.io/s/highcharts-react-demo-forked-qk6cb?file=/demo.jsx
Hello @plotka, I converted the example into a functional component with small improvements here: https://codesandbox.io/s/highcharts-react-demo-forked-e1v82?file=/demo.jsx
Hello @maciej-gurban, I recommend you to check the example from @dankremniov Please let me know in case of any questions.