Angular 2 Grouped series

Posted by: brzozowski.m24 on 6 May 2021, 1:34 am EST

    • Post Options:
    • Link

    Posted 6 May 2021, 1:34 am EST

    I’m attaching a stackblitz link with working example, what I already have: https://stackblitz.com/edit/angular-sbudgg

    I would like to create a chart which will be grouped by GROUPS: ‘Tom’, ‘Harry’, ‘John’. Each GROUP has some specific methods which I would like to present on the chart. I would like to show legend, but I would like to group them, to show only 3 methods: method1, method2 and method3. Once I toggle off the method1, I would like to hide all method1 from the chart. As you can see in the example, I have multiple repeated methods in legend, but I would like simply to group them, to show only 3 methods. So once I click on legend toggle method1 I would like to toggle it for all: ‘Tom’, ‘Harry’ and ‘John’.

    Data are presenting well, but I’m not sure how can I group data to legend show only 3 of my methods and toggle them on and off. Any ideas? Thanks!

  • Posted 7 May 2021, 3:59 am EST - Updated 3 October 2022, 2:00 pm EST

    Hi,

    We are sorry for the inconvenience, we are able to see only the three legends with all the data for columns.



    There is also 9 series according to the data.

    Could you please elaborate your requirement so that we may assist you accordingly?

    Regards,

    Manish Gupta

Need extra support?

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

Learn More

Forum Channels