AxisLabels

AxisLabels are used to indicate what a certain position on the axis means. AxisLabels are the contained text in region marked in red.

 

AxisLabels.JPG

 

Usage:

 

<vc:Chart ... >

 

<vc:Chart.AxesX>

<vc:Axis>

<vc:Axis.AxisLabels>

<vc:AxisLabels .../>

</vc:Axis.AxisLabels>

</vc:Axis>

</vc:Chart.AxesX>

 

<vc:Chart.AxesY>

<vc:Axis>

<vc:Axis.AxisLabels>

<vc:AxisLabels .../>

</vc:Axis.AxisLabels>

</vc:Axis>

</vc:Chart.AxesY>

 

</vc:Chart>

 

List of attributes:

 

Attributes

Function

Angle

Sets the angle in which the labels appear. Value range is -90 to 90.

Enabled

If set to false axis labels don't appear. By default this is true.

FontColor

Sets the color for the text in the axis labels.

FontFamily

Sets the font for the text in the axis labels.

FontSize

Sets the font size for the axis labels.

FontStyle

Sets the various available styles for the text like "Italic" or "Normal".

FontWeight

Sets how the font appears. It takes value like "Bold", "Normal", "Black" etc.

Interval

Sets how frequently the labels must appear.

MaxHeight

Sets the maximum height of AxisLabels.

MaxWidth

Sets the maximum width of AxisLabels.

MinHeight

Sets the minimum height of AxisLabels.

MinWdith

Sets the minimum width of AxisLabels.

Opacity

Opacity can be used to make any element transparent or opaque.

Rows

Sets the number of rows in which the labels should appear. Applicable to AxisX only.

TextWrap

Sets the maximum width of the labels relative to chart size. Value range is 0 - 1.

TextAlignment

TextAlignment is used to align AxisLabels. The default value is Left.