Context menu for a FlexChart (React)

Posted by: igelfenbeyn on 7 October 2020, 2:56 pm EST

  • Posted 7 October 2020, 2:56 pm EST

    Hello,

    I need to add a right-click context menu for a FlexChart, which will have an option for Export as Image and Export CSV (of underlying data). Can you please provide an example of how do i go about it.

    Thank you very much.

  • Posted 8 October 2020, 4:52 am EST

    Hi,

    You can use the Menu control of Wijmo to create a context menu for FlexChart. Add a menu using the react component of the menu and use the contextMenuOf property to assign it as a context menu of the chart. Please refer to the sample link below for reference:

    https://stackblitz.com/edit/react-4xcych

    Regards,

    Ashwin

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels