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 a new instance of the XYPercentageAxis class.

public XYPercentageAxis()

Properties

LabelFunc

Gets or sets 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>:

The function used to determine axis labels.

TickMajorInterval

Gets or sets the interval at which to display major ticks.

public double TickMajorInterval { get; set; }

Property Value

double

TickMinorInterval

Gets or sets the interval at which to display minor ticks.

public double TickMinorInterval { get; set; }

Property Value

double

Fields

LabelFuncProperty

Identifies the LabelFunc dependency property. This field is read-only.

public static readonly DependencyProperty LabelFuncProperty

TickMajorIntervalProperty

Identifies the TickMajorInterval dependency property. This field is read-only.

public static readonly DependencyProperty TickMajorIntervalProperty

TickMinorIntervalProperty

Identifies the TickMinorInterval dependency property. This field is read-only.

public static readonly DependencyProperty TickMinorIntervalProperty

Inherited Members