iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCIAxisInfo
@interface SCIAxisInfo : NSObject <ISCIAxisInfoUpdatable>
Provides information on an axis hit test operation.
See
-[ISCIAxisInfoProvider getAxisInfo].
-
The axis id.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *axisId;Swift
var axisId: String? { get set } -
The axis title.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *axisTitle;Swift
var axisTitle: String? { get set } -
The attributed axis title.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSAttributedString *attributedAxisTitle;Swift
@NSCopying var attributedAxisTitle: NSAttributedString? { get set } -
The
SCIAxisAlignmentvalue.Declaration
Objective-C
@property (nonatomic) SCIAxisAlignment axisAlignment;Swift
var axisAlignment: SCIAxisAlignment { get set } -
The data value.
Declaration
Objective-C
@property (nonatomic, strong) id<ISCIComparable> _Nonnull dataValue;Swift
var dataValue: any ISCIComparable { get set } -
The data value formatted with
ISCIAxisCore.textFormattingstring.Declaration
Objective-C
@property (nonatomic, copy) id<ISCIString> _Nonnull axisFormattedDataValue;Swift
@NSCopying var axisFormattedDataValue: any ISCIString { get set } -
The data value formatted with
ISCIAxisCore.cursorTextFormattingstring.Declaration
Objective-C
@property (nonatomic, copy) id<ISCIString> _Nonnull cursorFormattedDataValue;Swift
@NSCopying var cursorFormattedDataValue: any ISCIString { get set } -
Flag indicating whether the associated axis is horizontal axis.
Declaration
Objective-C
@property (nonatomic) BOOL isHorizontal;Swift
var isHorizontal: Bool { get set } -
Flag indicating whether the associated axis is XAxis.
Declaration
Objective-C
@property (nonatomic) BOOL isXAxis;Swift
var isXAxis: Bool { get set } -
The axis thickness in pixels.
Declaration
Objective-C
@property (nonatomic) CGFloat axisThickness;Swift
var axisThickness: CGFloat { get set } -
Updates this instance with latest value which does not depend on data value.
Declaration
Objective-C
- (void)update;Swift
func update() -
Helper method which creates and updates
SCIAxisInfoinstance with latest information provided by axis.Declaration
Objective-C
+ (nonnull SCIAxisInfo *)obtainFor:(nonnull id<ISCIAxis>)axis andDataValue:(nonnull id<ISCIComparable>)dataValue;Swift
class func obtain(for axis: any ISCIAxis, andDataValue dataValue: any ISCIComparable) -> SCIAxisInfoParameters
axisThe
ISCIAxisinstance for which.dataValueThe dataValue with which
SCIAxisInfoshould be updated.Return Value
The
SCIAxisInfoinstance with latest information provided by axis.
View on GitHub