Classes
The following classes are available globally.
-
Undocumented
See moreDeclaration
Swift
public class ChartAxisAttributes : ObservableObject, Identifiable, NSCopying, CustomStringConvertibleextension ChartAxisAttributes: Equatable -
ChartNumericAxis contains properties of axes for ranges of floating point values.
The position and orientation of a numeric axis depends on the chart type. For example:
- Bar charts display the numeric axis as the X axis.
- Line, column, and combo charts display the numeric axis as the Y axis.
Declaration
Swift
public class ChartNumericAxisAttributes : ChartAxisAttributes -
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.
Declaration
Swift
public class ChartCategoryAxisAttributes : ChartNumericAxisAttributes -
Undocumented
See moreDeclaration
Swift
public class ChartLabelAttributes : ObservableObject, Identifiable, NSCopyingextension ChartLabelAttributes: Equatableextension ChartLabelAttributes: CustomStringConvertible -
Gridline properties for an Axis.
See moreDeclaration
Swift
public class ChartGridlineAttributes : ObservableObject, Identifiable, NSCopying, CustomStringConvertibleextension ChartGridlineAttributes: Equatable -
Undocumented
See moreDeclaration
Swift
public class ChartBaselineAttributes : ChartGridlineAttributes -
A common data model for all charts. Chart properties can be initialized in init() or changed after init().
Usage
See morelet model = ChartModel(chartType: .line, data: [[nil, 220, nil, 250, 200, nil, 230], [160, nil, 130, 170, nil, 190, 180]], titlesForCategory: [["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul"]] )Declaration
Swift
public class ChartModel : ObservableObject, Identifiable, NSCopyingextension ChartModel: Equatableextension ChartModel: CustomStringConvertible -
Undocumented
See moreDeclaration
Swift
public class ChartPointAttributes : ObservableObject, Identifiable, NSCopyingextension ChartPointAttributes: CustomStringConvertibleextension ChartPointAttributes: Equatableextension ChartPointAttributes: Hashable -
Each series has its own ChartSeriesAttributes
See moreDeclaration
Swift
public class ChartSeriesAttributes : ObservableObject, Identifiable, NSCopyingextension ChartSeriesAttributes: Equatableextension ChartSeriesAttributes: CustomStringConvertibleextension ChartSeriesAttributes: Hashable -
Undocumented
See moreDeclaration
Swift
public class ChartSeriesPalette : ObservableObject, Identifiable, NSCopyingextension ChartSeriesPalette: Equatableextension ChartSeriesPalette: CustomStringConvertible
Classes Reference