Classes
The following classes are available globally.
-
Undocumented
See moreDeclaration
Swift
public class ChartAxisAttributes : ObservableObject, Identifiable, NSCopying, CustomStringConvertible
extension 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, NSCopying
extension ChartLabelAttributes: Equatable
extension ChartLabelAttributes: CustomStringConvertible
-
Gridline properties for an Axis.
See moreDeclaration
Swift
public class ChartGridlineAttributes : ObservableObject, Identifiable, NSCopying, CustomStringConvertible
extension 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, NSCopying
extension ChartModel: Equatable
extension ChartModel: CustomStringConvertible
-
Undocumented
See moreDeclaration
Swift
public class ChartPointAttributes : ObservableObject, Identifiable, NSCopying
extension ChartPointAttributes: CustomStringConvertible
extension ChartPointAttributes: Equatable
extension ChartPointAttributes: Hashable
-
Each series has its own ChartSeriesAttributes
See moreDeclaration
Swift
public class ChartSeriesAttributes : ObservableObject, Identifiable, NSCopying
extension ChartSeriesAttributes: Equatable
extension ChartSeriesAttributes: CustomStringConvertible
extension ChartSeriesAttributes: Hashable
-
Undocumented
See moreDeclaration
Swift
public class ChartSeriesPalette : ObservableObject, Identifiable, NSCopying
extension ChartSeriesPalette: Equatable
extension ChartSeriesPalette: CustomStringConvertible