Click or drag to resize

XAxis Constructor (Double, Double, DateTime, DateTime, Int32, Int32, Color, Color, Color, Font, Int32, LabelFormat, String, String, Color, Font, AxisType, Boolean, Boolean)

Initializes a new XAxis instance with the specified data.

Namespace:  ABB.Robotics.Tps.Windows.Forms
Assembly:  ABB.Robotics.Tps.Windows.Forms (in ABB.Robotics.Tps.Windows.Forms.dll) Version: 6.5.129.0
Syntax
C#
public XAxis(
	double minValue,
	double maxValue,
	DateTime minDateValue,
	DateTime maxDateValue,
	int minTickCount,
	int majTickCount,
	Color minTickColor,
	Color majTickColor,
	Color tickLabelColor,
	Font tickLabelFont,
	int tickLabelPrecision,
	LabelFormat tickLabelFormat,
	string tickDateFormat,
	string label,
	Color labelColor,
	Font labelFont,
	AxisType axisType,
	bool visible,
	bool tickCenterLabels
)

Parameters

minValue
Type: SystemDouble
The minimum value for the axis if autoscale is not applied.
maxValue
Type: SystemDouble
The maximum value for the axis if autoscale is not applied.
minDateValue
Type: SystemDateTime
The minimum date/time value for the axis if autoscale is not applied.
maxDateValue
Type: SystemDateTime
The maximum date/time value for the axis if autoscale is not applied.
minTickCount
Type: SystemInt32
The number of minor tick marks between each minor tick mark.
majTickCount
Type: SystemInt32
The number of minor tick marks between each major tick mark.
minTickColor
Type: System.DrawingColor
The color used for minor tick marks.
majTickColor
Type: System.DrawingColor
The color used for major tick marks.
tickLabelColor
Type: System.DrawingColor
The color used for the axis label.
tickLabelFont
Type: System.DrawingFont
The Font used for the axis label.
tickLabelPrecision
Type: SystemInt32
Number of decimal places displayed by tick labels.
tickLabelFormat
Type: ABB.Robotics.Tps.Windows.FormsLabelFormat
Determines if labels for a chart axis are automatically generated (Default or DateTime) or are provided by the user (Custom).
tickDateFormat
Type: SystemString
String that determines the format of X-axis DateTime tick labels. Standard .Net format strings may be used.
label
Type: SystemString
A label that describes the data type this axis represents.
labelColor
Type: System.DrawingColor
The color used for the axis label.
labelFont
Type: System.DrawingFont
The Font used for the axis label.
axisType
Type: ABB.Robotics.Tps.Windows.FormsAxisType
Determines axis scaling. Choices are Normal, Inverted, and Logarithmic.
visible
Type: SystemBoolean
Determines the visibility of the axis.
tickCenterLabels
Type: SystemBoolean
If true, tick labels will be centered between major ticks rather than on major ticks. Primarily used for bar charts.
See Also