Element Details: Y-Axis
 Back


Available in: Logi Info Source code name: ChartYAxisIntroduced in: v11.2.040

The Y-axis typically represents the data values shown vertically in the chart. The Y-Axis element allows control of axis labels, spacing, and colors.

A key related attribute is Axis Type, which specifies the data type for the axis, such as "DateTime", "Numeric", or "Categorized", and scaling. When not set, Axis Type is automatically determined by examining the data values themselves.




ATTRIBUTES

Click attribute Name to drill down for more information.

NamePossible ValuesDescription
AxisCaption
UserDefined
The axis caption/title.
AxisLineColor
UserDefined
Sets the color of the line marking the axis itself. Enter a color by name, decimal RGB value, or hex RGB value. Prefix hex values with the pound sign, e.g. #D5F484.
AxisLineColorTransparency
UserDefined
7
15
0
The related Axis Line Color attribute sets the color of the axis line. Axis Line Color Transparency adds transparency to that color. The lowest value of “0” specifies that the axis line is opaque, with no transparency. At the other end of the scale, “15” specifies a completely transparent line. Use medium-level transparency to allow different chart layers to show through each other.
AxisLineThickness
UserDefined
Sets the thickness of the axis line, in pixels. The default value is 1 pixel.
AxisPaddingTop
UserDefined
Sets the padding between the edge of the plot area and the highest data value, in pixels. This is useful for preventing the highest data value from appearing right at the edge of the plot area. The default value is 5 pixels.
AxisSpacing
UserDefined
Sets the space between the edge of the chart plot area and the axis line, in pixels. The default is 0 pixels.
AxisType
NumericLogarithmic
NumericLinear
DateTimeLinear
Sets the type of scale for the axis. This can be a "smooth" scale, consistent with a stream of numbers or dates/times. When working with the X-Axis element, it can also be “Category” (e.g. Apples, Oranges) which are often visualized using Bar and Pie charts. The default varies based on the axis column data type: Text = “Category”, Date/Time = “DateTimeLinear”, Numeric = “NumericLinear”
HideAxis
True
False
Hides the axis. The default value is "False".
HideFirstLabel
True
False
Hides the first tick mark label. The default value is "False".
HideLastLabel
True
False
Hides the last tick mark label. The default value is "False".
ID
UserDefined
The ID attribute is a pervasive attribute that uniquely identifies an element within a definition file. The ID needs to be a unique value within the definition.
OppositeSide
True
False
Specifies that the axis be displayed on the opposite side from its normal position: Left for vertical axes and Bottom for horizontal axes. The default value is "False".
OppositeSideAlignment
True
False
When there are two vertical or two horizontal axes, the appearance may be improved by aligning the tick marks with each other. Default value is "False".
ReverseAxis
True
False
Set to “True” to reverse the axis.
ReversedStackSeriesOrder
True
False
When there are multiple Series, or there is a DataLayer.Crosstab which generates multiple series, and the series are stocked, this attribute reverses how the values are stacked. The default is False.
ScaleLowerBound
UserDefined
Sets the lower bound of the axis. Set this value to a number, or leave it blank for automatic scaling. When you have a lower bound, you must also specify an upper bound. The default value is automatic scaling.
ScaleUpperBound
UserDefined
Sets the upper bound of the axis. Set this value to a number, or leave it blank for automatic scaling. When you have an upper bound, you must also specify a lower bound. The default value is automatic scaling.



PARENT ELEMENTS

Click element to drill down for more information.

Chart Canvas


CHILD ELEMENTS

Click element to drill down for more information.

Caption Style
Label Style
Marker Band
Marker Line
Minor Ticks and Grid
Stack Labels
Ticks and Grid


 Back to top


 Chart Debug