Legend with grouped series
Posted: Thu May 16, 2019 10:30 am
Hi everyone,
I have a Chart with FreeformPointLineSeries.
My representation of data is like this:
Serie1: ColorCode1, XYCoordinates1
Serie2: ColorCode2, XYCoordinates2
Serie3: ColorCode3, XYCoordinates3
Serie4: ColorCode4, XYCoordinates4
Serie5: ColorCode1, XYCoordinates5
Serie6: ColorCode2, XYCoordinates6
Serie7: ColorCode3, XYCoordinates7
Serie8: ColorCode4, XYCoordinates8
My question is: is there any way I can group by ColorCode when displaying the legend?
I want all series to be displayed as individual Curves on the Chart, but I want the possibility to group by a criteria in the legend and also keep the link between the Legend items and Chart curves.
For the example above, the behavior I'm looking for is a Legend with 4 items (ColorCode1-4). When I Select only ColorCode1, on the Chart I can see Serie1 and Serie5.
Any ideas on how I could achieve this?
Regards,
giryhepai
I have a Chart with FreeformPointLineSeries.
My representation of data is like this:
Serie1: ColorCode1, XYCoordinates1
Serie2: ColorCode2, XYCoordinates2
Serie3: ColorCode3, XYCoordinates3
Serie4: ColorCode4, XYCoordinates4
Serie5: ColorCode1, XYCoordinates5
Serie6: ColorCode2, XYCoordinates6
Serie7: ColorCode3, XYCoordinates7
Serie8: ColorCode4, XYCoordinates8
My question is: is there any way I can group by ColorCode when displaying the legend?
I want all series to be displayed as individual Curves on the Chart, but I want the possibility to group by a criteria in the legend and also keep the link between the Legend items and Chart curves.
For the example above, the behavior I'm looking for is a Legend with 4 items (ColorCode1-4). When I Select only ColorCode1, on the Chart I can see Serie1 and Serie5.
Any ideas on how I could achieve this?
Regards,
giryhepai