LiveCharts2 icon indicating copy to clipboard operation
LiveCharts2 copied to clipboard

Tag Property

Open ajayre opened this issue 3 years ago • 1 comments

It would be cool if the LineSeries class had a Tag object property:

public object Tag {get; set; }

because it would then allow developers to attach their own class instances to a series to store additional non-visual data about the series.

I know I can easily do this with a subclass of LineSeries but it would be nice if it was built in.

ajayre avatar Sep 22 '21 21:09 ajayre

I would suggest adding it as well to other chart elements like Axes and Sections

CodeWithMichal avatar Sep 27 '21 19:09 CodeWithMichal

When do you plan releasing this property ? Until then is there a workaround to tag series ?

sigmarsson avatar Aug 20 '22 09:08 sigmarsson

Fixed with the referenced commit and will be included in the next version of the library.

beto-rodriguez avatar Sep 01 '22 18:09 beto-rodriguez