ChartCategoryAxisAttributes
public class ChartCategoryAxisAttributes : ChartNumericAxisAttributes
ChartCategoryAxis contains properties of the axes for categorical collections of values.
All chart types have at most a single category axis.
The position and orientation of the category axis depends on the chart type. For example:
- Bar charts display the category axis as the Y axis.
- Line, column, and combo charts display the category axis as the X axis.
-
init(axisId:
baseline: gridlines: labels: titleLabel: title: isZeroBased: allowLooseLabels: fudgeAxisRange: adjustToNiceValues: abbreviatesLabels: isMagnitudedDisplayed: explicitMin: explicitMax: formatter: abbreviatedFormatter: labelLayoutStyle: ) Undocumented
Declaration
Swift
public init(axisId: ChartAxisId? = nil, baseline: ChartBaselineAttributes? = nil, gridlines: ChartGridlineAttributes? = nil, labels: ChartLabelAttributes? = nil, titleLabel: ChartLabelAttributes? = nil, title: String? = nil, isZeroBased: Bool = true, allowLooseLabels: Bool = false, fudgeAxisRange: Bool = false, adjustToNiceValues: Bool = true, abbreviatesLabels: Bool = true, isMagnitudedDisplayed: Bool = true, explicitMin: Double? = nil, explicitMax: Double? = nil, formatter: NumberFormatter?, abbreviatedFormatter: NumberFormatter?, labelLayoutStyle: ChartCategoryAxisLabelLayoutStyle)
-
Undocumented
Declaration
Swift
public convenience init(labelLayoutStyle: ChartCategoryAxisLabelLayoutStyle)
-
Undocumented
Declaration
Swift
public convenience init()
-
Undocumented
Declaration
Swift
override public func copy(with zone: NSZone? = nil) -> Any
-
Undocumented
Declaration
Swift
override public var description: String { get }
-
Defines the manner in which labels will be presented when they are provided by the data source, and not hidden.
Declaration
Swift
@Published public var labelLayoutStyle: ChartCategoryAxisLabelLayoutStyle { get set }
-
conform to Equatable
Declaration
Swift
static func == (lhs: ChartCategoryAxisAttributes, rhs: ChartCategoryAxisAttributes) -> Bool