iOS Charting Documentation - SciChart iOS Charts SDK v3.x

Other Constants

The following constants are available globally.

  • Project version number for SciChart.

    Declaration

    Objective-C

    extern double SciChartVersionNumber

    Swift

    var SciChartVersionNumber: Double
  • Project version string for SciChart.

    Declaration

    Objective-C

    extern const unsigned char SciChartVersionString[]
  • Constant indicating that no alignment has been set.

    Declaration

    Objective-C

    static const int NoAlignment = 0

    Swift

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

    Declaration

    Objective-C

    static const int AxisSpecified = 1

    Swift

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

    Declaration

    Objective-C

    static const int AxisStart = 2

    Swift

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

    Declaration

    Objective-C

    static const int AxisEnd = 4

    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
  • Proivdes default size of AxisArea

    Declaration

    Objective-C

    extern const CGFloat SCIDefaultAxisAreaSize

    Swift

    let SCIDefaultAxisAreaSize: CGFloat
  • Provides reuse identifier for ISCILegendItem.

    Declaration

    Objective-C

    extern NSString *const LegendItemReuseIdentifier

    Swift

    let LegendItemReuseIdentifier: 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
  • Defines the Key for the BlackSteel theme in SciChart.

    Declaration

    Objective-C

    static NSString *const _Nonnull SCIChart_BlackSteelStyleKey =
        @"SciChart_BlackSteel"

    Swift

    let SCIChart_BlackSteelStyleKey: String
  • Defines the Key for the SciChartv4Dark theme in SciChart.

    Declaration

    Objective-C

    static NSString *const _Nonnull SCIChart_SciChartv4DarkStyleKey =
        @"SciChart_SciChartv4Dark"

    Swift

    let SCIChart_SciChartv4DarkStyleKey: String
  • Defines the Key for the Bright_Spark theme in SciChart.

    Declaration

    Objective-C

    static NSString *const _Nonnull SCIChart_Bright_SparkStyleKey =
        @"SciChart_Bright_Spark"

    Swift

    let SCIChart_Bright_SparkStyleKey: String
  • Defines the Key for the Chrome theme in SciChart.

    Declaration

    Objective-C

    static NSString *const _Nonnull SCIChart_ChromeStyleKey = @"SciChart_Chrome"

    Swift

    let SCIChart_ChromeStyleKey: String
  • Defines the Key for the Electric theme in SciChart.

    Declaration

    Objective-C

    static NSString *const _Nonnull SCIChart_ElectricStyleKey = @"SciChart_Electric"

    Swift

    let SCIChart_ElectricStyleKey: String
  • Defines the Key for the ExpressionLight theme in SciChart.

    Declaration

    Objective-C

    static NSString *const _Nonnull SCIChart_ExpressionLightStyleKey =
        @"SciChart_ExpressionLight"

    Swift

    let SCIChart_ExpressionLightStyleKey: String
  • Defines the Key for the Oscilloscope theme in SciChart.

    Declaration

    Objective-C

    static NSString *const _Nonnull SCIChart_OscilloscopeStyleKey =
        @"SciChart_Oscilloscope"

    Swift

    let SCIChart_OscilloscopeStyleKey: String
  • Defines the Key for the ExpressionDark theme in SciChart.

    Declaration

    Objective-C

    static NSString *const _Nonnull SCIChart_ExpressionDarkStyleKey =
        @"SciChart_ExpressionDark"

    Swift

    let SCIChart_ExpressionDarkStyleKey: String
  • Defines the Key for the default theme in SciChart. Which is SCIChart_SciChartv4DarkStyleKey.

    Declaration

    Objective-C

    static NSString *const _Nonnull SCIChart_DefaultThemeKey =
        @"SciChart_SciChartv4Dark"

    Swift

    let SCIChart_DefaultThemeKey: String