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

SCIContentModeEnum

NS_ENUM(NSUInteger, SCIContentModeEnum) {
    
    /**
     * Contents scaled to fill available space. Aspect ration of image may not be maintained.
     */
    SCIContentMode_ScaleToFill,
    /**
     * Contents scaled to fit with fixed aspect. remainder is transparent
     */
    SCIContentMode_AspectFit,
    /**
     * Contents scaled to fill with fixed aspect. some portion of content may be clipped.*
     */
    SCIContentMode_AspectFill
}

Undocumented

  • Contents scaled to fill available space. Aspect ration of image may not be maintained.

    Declaration

    Objective-C

    SCIContentMode_ScaleToFill

    Swift

    case scaleToFill = 0
  • Contents scaled to fit with fixed aspect. remainder is transparent

    Declaration

    Objective-C

    SCIContentMode_AspectFit

    Swift

    case aspectFit = 1
  • Contents scaled to fill with fixed aspect. some portion of content may be clipped.*

    Declaration

    Objective-C

    SCIContentMode_AspectFill

    Swift

    case aspectFill = 2