In This Article

XYPercentageAxis Class

Represents an axis for data displayed as stacked in percentage mode.

public class XYPercentageAxis : XYAxisBase
Inheritance:
object Visual UIElement FrameworkElement Control XYAxisBase object

Constructors

XYPercentageAxis()

Initializes an instance of the class.

public XYPercentageAxis()

Properties

LabelFunc

The function used to determine axis labels. When set, LabelFormat will be ignored. The first parameter of the function will be the value of the axis point represented by the label. In the case of XYPercentageAxis, it will be a percentage value between 0.0 and 1.0.

public Func<double, string>? LabelFunc { get; set; }

Property Value

Func<double, string>

TickMajorInterval

The interval at which to display major ticks.

public double TickMajorInterval { get; set; }

Property Value

double

TickMinorInterval

The interval at which to display minor ticks.

public double TickMinorInterval { get; set; }

Property Value

double

Fields

LabelFuncProperty

Defines the LabelFunc property.

public static readonly DependencyProperty LabelFuncProperty

TickMajorIntervalProperty

Defines the TickMajorInterval property.

public static readonly DependencyProperty TickMajorIntervalProperty

TickMinorIntervalProperty

Defines the TickMinorInterval property.

public static readonly DependencyProperty TickMinorIntervalProperty

Inherited Members

Extension Methods