Axis Class Members
The following tables list the members exposed by Axis.
Public Constructors
Name | Description | |
---|---|---|
Axis Constructor | Overloaded. |
Public Properties
Name | Description | |
---|---|---|
AlternateGridBackground | Gets or sets a Background object used to fill the area between every other grid two grid lines. | |
CenterTickMarks | Gets or sets a value that indicates whether axis ticks are centered above tick labels or drawn between each label. (JS Charts) With JavaScript charts, range ticks, which include category scales can be centered by setting this option to true. | |
ClearValues | Gets or sets a value which indicates whether tick labels are cleared before LabelOverrides are applied. | |
ClusterColumns | Gets or sets a value that indicates whether columns and cylinders are drawn side by side or front to back. | |
CombinedElementsCalculation | Gets or sets the Calculation used when multiple elements on a quantitative x axis are located at the same x position. If the elements are columns they will be combined into a single element using this calculation, otherwise, the original elements are plotted. | |
Crosshair | (JS Chart Only) Gets or sets an axis tick that follows the mouse cursor and invokes combined tooltips or if x crosshair is combined with y axis crosshair, the y axis will show multiple crosshairs for all point values at the given x position. Instantiate Crosshair property with an axis tick to enable. | |
CultureName | Gets or sets the culture name used for number and date formatting in conjunction with FormatString. | |
DefaultMinorTick | Gets or sets the default dotnetCHARTING.AxisTick used for all generated minor axis ticks. | |
DefaultTick | Gets or sets an AxisTick that acts as a vehicle for property settings that will propagate to all other axis ticks on this axis. | |
ExtraTicks | A collection of AxisTick objects added to the axis. | |
FormatString | Gets or sets the format string used by this axis. | |
GaugeLabelMode | Gets or sets the GaugeLabelMode for axis ticks drawn on this axis when using gauges. | |
GaugeNeedleType | Gets or sets the GaugeNeedleType used with this axis on gauges. | |
GenerateElementTicks | Gets or sets a value that indicates whether an AxisTick object is generated for each element's position on this axis. | |
Interval | Gets or sets the numeric tick label interval for this axis. | |
InvertScale | Gets or sets a value that indicates whether the axis scale is inverted. | |
JsID | Gets or sets the ID of this axis used in JavaScript charts. By specifying this ID, the axis can be referenced in JS. | |
Label | Gets or sets the axis label. | |
LabelMarker | Gets or sets an ElementMarker object used on gauge charts in place of the axis' label. | |
LabelOverrides | A collection of LabelOverride objects. | |
LabelRotate | Gets or sets a value which indicates whether the axis label of this y axis is facing the tick labels or is facing away. | |
Line | Gets or sets the axis Line. | |
LineBreaks | (JS Charts only) Gets or sets options for visual axis line gaps at tick positions. | |
LogarithmicBase | Gets or sets the logarithmic base of logarithmic axis scales. Used only in conjunction with Logarithmic Scales. | |
Markers | A collection of AxisMarkers used to highlight sections of this axis. | |
Maximum | Gets or sets the upper bounds of this numeric axis' range. | |
Minimum | Gets or sets the lower bounds of this numeric axis' range. | |
MinimumInterval | Gets or sets the numeric minimum interval value. | |
MinorInterval | Gets or sets a numeric value that determines the interval of minor axis ticks. | |
MinorTicksPerInterval | Gets or sets the number of minor axis ticks generated between major axis ticks. | |
MinorTimeIntervalAdvanced | Gets or sets a TimeIntervalAdvanced object that determines the interval of minor axis ticks. | |
Name | Gets or sets the name of this axis. | |
NumberPrecision | Gets or sets the number of decimal digits of this axis' format. | |
Orientation | Gets or sets the orientation of this axis. | |
OrientationAngle | Gets or sets an angle measured in degrees clockwise from the y-axis specifying the direction a gauge axis is oriented. | |
OverlappingCircularLabelSeparator | Gets or sets a text label separator used when two axis ticks on a radar's x axis overlap. | |
Percent | Gets or sets a value that indicates whether this axis displays percent values. | |
Position | Gets or sets the axis positions when 2 or more axes are drawn on the same side of a ChartArea. | |
RadarMode | Gets or sets the RadarMode of this axis. Applies when this object is the x axis of a radar chart. | |
RangeAngle | Gets or sets an angle measured in degrees that is centered at the orientation angle. | |
ReverseSeries | Gets or sets a value that indicates whether the positions of series bound to this axis are reversed. | |
ReverseSeriesPositions | Gets or sets a value that indicates whether the positions of series bound to this axis are reversed without reversing legend positions. | |
ReverseStack | Gets or sets a value that indicates whether the order of stacked elements is reversed. | |
Scale | Gets or sets the scale of this axis. | |
ScaleBreakCalendarPattern | Gets or sets a calendar pattern object that specifies the sequence of scale breaks on a time axis. | |
ScaleBreakLine | Gets or sets a Line object that is used to outline scale breaks on this axis. | |
ScaleBreaks | A collection of ScaleRange objects that represent discontinuations in this axis' scale. | |
ScaleBreakStyle | Gets or set a ScaleBreakStyle enumeration member that specifies the scale break style. | |
ScaleRange | Gets or sets the scale's high and low values. | |
ShowGrid | Gets or sets a value indicating whether grid lines are drawn. | |
SmartMinorTicks | Gets or sets a value that indicates whether relevant minor axis ticks will be automatically determined based on major intervals. | |
SmartScaleBreak | Gets or sets a value that indicates whether this axis will insert a discontinuity into it's scale if appropriate. | |
SmartScaleBreakLimit | Gets of sets the maximum number of scale breaks used when Axis.SmartScaleBreak = true. | |
SpacingPercentage | Gets or sets a percentage (0 - 100) which indicates the spacing between columns, cylinders or groups thereof. | |
StaticColumnWidth | Gets or sets the static bar width in pixels. | |
SweepAngle | Gets or sets an angle measured in degrees clockwise from the OrientationAngle to the other side of the axis. | |
SynchronizeScale | Gets a class that contains options to synchronize the scale of this axis with other scales. | |
TickLabelAngle | Gets or sets the angle of axis tick labels when they are angled. Setting this property will not automatically angle tick labels. | |
TickLabelMode | Gets or sets the label mode that specifies how tick labels behave. | |
TickLabelPadding | Gets or sets a value in pixels indicating the padding between axis elements such as the axis label, tick labels, and ticks lines. | |
TickLabelSeparatorLine | Gets or sets the a tick label separator. The separator is automatically used when labels are wrapped. To disable or enable, set the this line's color to Color.Transparent or a valid color respectively. | |
TickNumberMaximum | Gets or sets the maximum number of tick marks for numeric axis scales. | |
TimeInterval | Gets or sets the time interval between tick labels when using the time scale. | |
TimeIntervalAdvanced | Gets or sets a class that represents advanced time interval settings to supplement the TimeInterval property. | |
TimePadding | Gets or sets the time padding of this axis. | |
TimeScaleLabels | Gets the TimeLabelAutomationInfo class that encapsulates axis ticks, format strings, and options of the Time Label Automation features used to represent particular instances in time. | |
Viewport | Gets a ViewPort object that defines the visible scale range or zoom range when using AJAX scrolling. Setting the properties of this class allows zooming the chart programatically. | |
ZeroTick | Gets or sets an AxisTick that replaces automatically generated axis tick with a value of zero (0). |
Public Methods
Name | Description | |
---|---|---|
AddCalculatedTick | Overloaded. Adds an AxisTick with a value based on the specified Calculation. | |
AddLabelOverride | Overloaded. Adds a LabelOverride to the LabelOverrides collection. | |
Calculate | Overloaded. Obtains a copy instance of this Axis and processes it's tick values based on the specified method. | |
Clear | Serves as a shortcut to hide this axis. | |
GetCoordintates | Gets the coordinates of this axis after the chart is rendered. | |
GetValueAtX | Returns the value of this X axis at the specified x/y coordinates. | |
GetValueAtY | Returns the value of this Y axis at the specified x/y coordinates. |
See Also