FlexPie Chart Legend

Posted by: joe on 12 July 2019, 11:46 am EST

    • Post Options:
    • Link

    Posted 12 July 2019, 11:46 am EST

    Hi!

    I want to set the pie chart’s legend text independently from the tooltip text. Currently the legend labels display the same content as the tooltip. I am able to set the tooltip text but want to set the legend text differently. Is that possible?

    Thanks!

    Joe

  • Posted 12 July 2019, 12:04 pm EST

    FYI: I’m working in Pure JS. I found the fiddle for using the onRender() event but am having trouble translating to pure js. Appreciate the help!

    Joe

  • Posted 15 July 2019, 3:53 am EST

    Hi Joe,

    Please refer to the sample below that demonstrates how you can change the legend text using the rendered event:

    https://stackblitz.com/edit/js-gwgc4r

  • Posted 15 July 2019, 10:54 pm EST

    Many thanks!

Need extra support?

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

Learn More

Forum Channels