Dave_B.
Dave_B.

Reputation: 257

Oxyplot: another value in label

is it possible to show another value in a label of a series or to compute the value for a label? Background: I need a columnseries with TimeSpan-Values. I can use the Axis.LabelFormatter to show Timespan values on the axis. But there is no LabelFormatter for the series. How can I show Timespan values in the labels?

Upvotes: 0

Views: 755

Answers (1)

Dave_B.
Dave_B.

Reputation: 257

Now I figured it out for myself. A use a own class, derived from ColumnItem, with a additional property with the value I need. And in the LabelFormatString (or TrackerFormatString) I can use this property (LabelFormatString = "{PropertyName}")

Upvotes: 2

Related Questions