iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x

Other Constants

The following constants are available globally.

  • Provides reuse identifier for ISCILegendItem.

    Declaration

    Objective-C

    extern NSString *const _Nonnull LegendItemReuseIdentifier

    Swift

    let LegendItemReuseIdentifier: String
  • Constant indicating that no alignment has been set.

    Declaration

    Objective-C

    static const int NoAlignment = 0x0000

    Swift

    let NoAlignment: Int32
  • Raw bit indicating that alignment for an axis has been specified.

    Declaration

    Objective-C

    static const int AxisSpecified = 0x0001

    Swift

    let AxisSpecified: Int32
  • Raw bit controlling how the left/top edge is placed.

    Declaration

    Objective-C

    static const int AxisStart = 0x0002

    Swift

    let AxisStart: Int32
  • Raw bit controlling how the right/bottom edge is placed.

    Declaration

    Objective-C

    static const int AxisEnd = 0x0004

    Swift

    let AxisEnd: Int32
  • Bits defining the horizontal axis.

    Declaration

    Objective-C

    static const int XAxisShift = 0

    Swift

    let XAxisShift: Int32
  • Bits defining the vertical axis.

    Declaration

    Objective-C

    static const int YAxisShift = 4

    Swift

    let YAxisShift: Int32
  • Binary mask to get the absolute horizontal alignment of a SCIAlignment.

    Declaration

    Objective-C

    static const int SCIHorizontalAlignmentMask =
        (AxisSpecified | AxisStart | AxisEnd) << XAxisShift

    Swift

    let SCIHorizontalAlignmentMask: Int32
  • Binary mask to get the vertical alignment of a SCIAlignment.

    Declaration

    Objective-C

    static const int SCIVerticalAlignmentMask =
        (AxisSpecified | AxisStart | AxisEnd) << YAxisShift

    Swift

    let SCIVerticalAlignmentMask: Int32
  • Defines index for resizing grip placed at (x1, y1) coordinate

    Declaration

    Objective-C

    static const SCIAnnotationPointIndex SCIAnnotationPointIndexX1Y1Index = 0b00

    Swift

    static let x1Y1Index: SCIAnnotationPointIndex
  • Defines index for resizing grip placed at (x1, y2) coordinate

    Declaration

    Objective-C

    static const SCIAnnotationPointIndex SCIAnnotationPointIndexX1Y2Index = 0b01

    Swift

    static let x1Y2Index: SCIAnnotationPointIndex
  • Defines index for resizing grip placed at (x2, y1) coordinate

    Declaration

    Objective-C

    static const SCIAnnotationPointIndex SCIAnnotationPointIndexX2Y1Index = 0b10

    Swift

    static let x2Y1Index: SCIAnnotationPointIndex
  • Defines index for resizing grip placed at (x2, y2) coordinate

    Declaration

    Objective-C

    static const SCIAnnotationPointIndex SCIAnnotationPointIndexX2Y2Index = 0b11

    Swift

    static let x2Y2Index: SCIAnnotationPointIndex
  • Proivdes default size of AxisArea

    Declaration

    Objective-C

    extern const CGFloat SCIDefaultAxisAreaSize

    Swift

    let SCIDefaultAxisAreaSize: CGFloat
  • Gets the default animation duration for SCIChartModifierCore ancestors.

    Declaration

    Objective-C

    extern const NSTimeInterval SCI_DEFAULT_ANIMATION_DURATION

    Swift

    let SCI_DEFAULT_ANIMATION_DURATION: TimeInterval
  • Defines the Key for the BlackSteel theme in SciChart.

    Declaration

    Objective-C

    static const SCIChartTheme SCIChartThemeBlackSteel = @"SCIChartThemeBlackSteel"

    Swift

    static let blackSteel: SCIChartTheme
  • Defines the Key for the SciChartv4Dark theme in SciChart.

    Declaration

    Objective-C

    static const SCIChartTheme SCIChartThemeV4Dark = @"SCIChartThemeV4Dark"

    Swift

    static let v4Dark: SCIChartTheme
  • Defines the Key for the Bright_Spark theme in SciChart.

    Declaration

    Objective-C

    static const SCIChartTheme SCIChartThemeBrightSpark =
        @"SCIChartThemeBrightSpark"

    Swift

    static let brightSpark: SCIChartTheme
  • Defines the Key for the Chrome theme in SciChart.

    Declaration

    Objective-C

    static const SCIChartTheme SCIChartThemeChrome = @"SCIChartThemeChrome"

    Swift

    static let chrome: SCIChartTheme
  • Defines the Key for the Electric theme in SciChart.

    Declaration

    Objective-C

    static const SCIChartTheme SCIChartThemeElectric = @"SCIChartThemeElectric"

    Swift

    static let electric: SCIChartTheme
  • Defines the Key for the ExpressionLight theme in SciChart.

    Declaration

    Objective-C

    static const SCIChartTheme SCIChartThemeExpressionLight =
        @"SCIChartThemeExpressionLight"

    Swift

    static let expressionLight: SCIChartTheme
  • Defines the Key for the Oscilloscope theme in SciChart.

    Declaration

    Objective-C

    static const SCIChartTheme SCIChartThemeOscilloscope =
        @"SCIChartThemeOscilloscope"

    Swift

    static let oscilloscope: SCIChartTheme
  • Defines the Key for the ExpressionDark theme in SciChart.

    Declaration

    Objective-C

    static const SCIChartTheme SCIChartThemeExpressionDark =
        @"SCIChartThemeExpressionDark"

    Swift

    static let expressionDark: SCIChartTheme
  • Defines the Key for the SCIChartThemeNavy theme in SciChart.

    Declaration

    Objective-C

    static const SCIChartTheme SCIChartThemeNavy = @"SCIChartThemeNavy"

    Swift

    static let navy: SCIChartTheme
  • Defines the Key for the default theme in SciChart. Which is SCIChartThemeV4Dark.

    Declaration

    Objective-C

    static const SCIChartTheme SCIChartThemeDefault = @"SCIChartThemeV4Dark"

    Swift

    static let `default`: SCIChartTheme
  • Deprecated

    Please use SCIChartThemeBlackSteel instead

    Defines the Key for the BlackSteel theme in SciChart.

    Declaration

    Objective-C

    static __deprecated_msg("Please use SCIChartThemeBlackSteel instead")
        NSString *const SCIChart_BlackSteelStyleKey = SCIChartThemeBlackSteel

    Swift

    let SCIChart_BlackSteelStyleKey: String
  • Deprecated

    Please use SCIChartThemeV4Dark instead

    Defines the Key for the SciChartv4Dark theme in SciChart.

    Declaration

    Objective-C

    static __deprecated_msg("Please use SCIChartThemeV4Dark instead")
        NSString *const SCIChart_SciChartv4DarkStyleKey = SCIChartThemeV4Dark

    Swift

    let SCIChart_SciChartv4DarkStyleKey: String
  • Deprecated

    Please use SCIChartThemeBrightSpark instead

    Defines the Key for the Bright_Spark theme in SciChart.

    Declaration

    Objective-C

    static __deprecated_msg("Please use SCIChartThemeBrightSpark instead")
        NSString *const SCIChart_Bright_SparkStyleKey = SCIChartThemeBrightSpark

    Swift

    let SCIChart_Bright_SparkStyleKey: String
  • Deprecated

    Please use SCIChartThemeChrome instead

    Defines the Key for the Chrome theme in SciChart.

    Declaration

    Objective-C

    static __deprecated_msg("Please use SCIChartThemeChrome instead")
        NSString *const SCIChart_ChromeStyleKey = SCIChartThemeChrome

    Swift

    let SCIChart_ChromeStyleKey: String
  • Deprecated

    Please use SCIChartThemeElectric instead

    Defines the Key for the Electric theme in SciChart.

    Declaration

    Objective-C

    static __deprecated_msg("Please use SCIChartThemeElectric instead")
        NSString *const SCIChart_ElectricStyleKey = SCIChartThemeElectric

    Swift

    let SCIChart_ElectricStyleKey: String
  • Deprecated

    Please use SCIChartThemeExpressionLight instead

    Defines the Key for the ExpressionLight theme in SciChart.

    Declaration

    Objective-C

    static __deprecated_msg(
        "Please use SCIChartThemeExpressionLight instead") NSString *const
        SCIChart_ExpressionLightStyleKey = SCIChartThemeExpressionLight

    Swift

    let SCIChart_ExpressionLightStyleKey: String
  • Deprecated

    Please use SCIChartThemeOscilloscope instead

    Defines the Key for the Oscilloscope theme in SciChart.

    Declaration

    Objective-C

    static __deprecated_msg("Please use SCIChartThemeOscilloscope instead")
        NSString *const SCIChart_OscilloscopeStyleKey = SCIChartThemeOscilloscope

    Swift

    let SCIChart_OscilloscopeStyleKey: String
  • Deprecated

    Please use SCIChartThemeExpressionDark instead

    Defines the Key for the ExpressionDark theme in SciChart.

    Declaration

    Objective-C

    static __deprecated_msg(
        "Please use SCIChartThemeExpressionDark instead") NSString *const
        SCIChart_ExpressionDarkStyleKey = SCIChartThemeExpressionDark

    Swift

    let SCIChart_ExpressionDarkStyleKey: String
  • Deprecated

    Please use SCIChartThemeNavy instead

    Defines the Key for the SCIChartThemeNavy theme in SciChart.

    Declaration

    Objective-C

    static __deprecated_msg("Please use SCIChartThemeNavy instead") NSString *const
        SCIChart_SCIChartThemeNavyStyleKey = SCIChartThemeNavy

    Swift

    let SCIChart_SCIChartThemeNavyStyleKey: String
  • Deprecated

    Please use SCIChartThemeDefault instead

    Defines the Key for the default theme in SciChart. Which is SCIChartThemeNavy.

    Declaration

    Objective-C

    static __deprecated_msg("Please use SCIChartThemeDefault instead")
        NSString *const SCIChart_DefaultThemeKey = SCIChartThemeNavy

    Swift

    let SCIChart_DefaultThemeKey: String
  • Provides default capacity for dataSeries underlying arrays

    Declaration

    Objective-C

    static const int DefaultSize = 128

    Swift

    let DefaultSize: Int32
  • Provides date minimum seconds value

    Declaration

    Objective-C

    extern const double DateMinSecondsValue

    Swift

    let DateMinSecondsValue: Double
  • Provides date maximum seconds value.

    Declaration

    Objective-C

    extern const double DateMaxSecondsValue

    Swift

    let DateMaxSecondsValue: Double
  • Provides date minimum ticks value

    Declaration

    Objective-C

    extern const long DateMinTicksValue

    Swift

    let DateMinTicksValue: Int
  • Provides date maximum ticks value.

    Declaration

    Objective-C

    extern const long DateMaxTicksValue

    Swift

    let DateMaxTicksValue: Int
  • Provides minimum Minor Delta Value.

    Declaration

    Objective-C

    extern const double p_SCI_MinMinorDeltaValue

    Swift

    let p_SCI_MinMinorDeltaValue: Double