Axis

The horizontal and vertical axis in a Chart is referred to as Axis. Axis is the parent of AxisLabels, Ticks and Grids. Please refer to the figure below:

 

axis.jpg

 

 

Usage:

 

<vc:Chart ... >

 

<vc:Chart.AxesX>

<vc:Axis>

.

.

</vc:Axis>

</vc:Chart.AxesX>

 

<vc:Chart.AxesY>

<vc:Axis>

.

.

</vc:Axis>

</vc:Chart.AxesY>

</vc:Chart>

 

List of attributes:

 

Attribute

Function

AxisMaximum

Sets the largest value that must appear on the axis.

AxisMinimum

Sets the smallest value that must appear on the axis.

ActualAxisMinimum

Gets the default AxisMinimum which Visifire calculates internally. It is a read-only property.

ActualAxisMaximum

Gets the default AxisMaximum which Visifire calculates internally. It is a read-only property.

ActualInterval

Gets the default Interval of Axis which Visifire calculates internally. It is a read-only property.

ActualIntervalType

Gets the default IntervalType of Axis which Visifire calculates internally. It is a read-only property.

AxisType

AxisType can be used to set whether the axis should behave as primary axis or secondary axis.

AxisOffset

AxisOffset is used to set a constant gap at the left and right side of AxisX depending upon the Axis width. This property is applicable for AxisX only.

Background

Sets the color of the entire axis.

ClosestPlotDistance

Gets or Sets the pixel distance between two nearest plots.

Cursor

This attribute sets the pointer that displays when the user moves the mouse over an element.

DisplayAutoAxisLabels

Decides whether to display auto generated AxisLabels in Axis.

Grids

Represents a collection of ChartGrid in a Chart.

Enabled

If true then axis can be seen, otherwise is not shown. Default is 'True'.

Href

Sets the hyper link (http:// is required).

HrefTarget

Sets where the URL specified in Href to be opened.

Interval

Sets how frequently the AxisLabels, ChartGrid and Ticks must appear.

IntervalType

Sets the type of Interval gap after which the labels or grids or ticks will repeat in an Axis.

LineColor

Sets the color of the axis line.

LineStyle

Sets the style of the axis line, like "Dashed", "Dotted" etc.

LineThickness

Sets the thickness of the axis line.

Logarithmic

Gets or sets whether the Axis scale is Logarithmic or not

LogarithmicBase

Gets or sets the base of the logarithm for Logarithmic axis.

MaxHeight

Sets the maximum height of Axis.

MaxWidth

Sets the maximum width of Axis.

MinHeight

Sets the minimum height of Axis.

MinWidth

Sets the minimum width of Axis.

Opacity

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

Padding

Sets the gap to be left between various elements inside Axis.

Prefix

Sets the prefix that will be added to all the AxisLabels. (Prefix + AxisLabels)

ScalingSet

Sets the scaling values along with units.

StartFromZero

Enables or Disables the Visifire's automatic-range selection.

ScrollBarOffset

Sets the horizontal or vertical offset of the ScrollBar.

ScrollBarScale

ScrollBarScale sets the size of ScrollBar thumb.

ScrollBarSize

ScrollBarSize sets the size of ScrollBar.

ScrollableLength

Gets the length of the scrollable area inside the chart. It is a read-only property.

Suffix

Sets the suffix that will be added to all the AxisLabels. (AxisLabels + Suffix)

Ticks

Represents a collection of Ticks in a Chart.

Title

Sets the text that will appear in the axis title.

TitleFontColor

Sets the font color for the axis title.

TitleFontFamily

Sets the font for the axis title.

TitleFontSize

Sets the font size for the axis title.

TitleFontStyle

Sets the styles for axis title. It takes values like "Italic" or "Normal".

TitleFontWeight

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

TitleTextDecorations

Sets the TextDecorations to the content of Axis title.

ToolTipText

Sets the tool tip content for the axis.

ValueFormatString

Sets the format string that will be used to convert the numbers that will be displayed on the axis.

ViewportRangeEnabled

Decides whether the Axis should be updated depending upon the viewport DataPoints value.

ViewMaximum

Gets axis data view maximum XValue position. It is a read only property.

ViewMinimum

Gets axis data view minimum XValue position. It is a read only property.