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

ISCITooltipContainer

@protocol ISCITooltipContainer <ISCIViewContainer, ISCIThemeable>

Defines interface for the container, which can contain multiple ISCITooltip.

  • Gets background color of this ISCITooltipContainer instance, which will be used to get inverted color which will be used as default text color.

    Declaration

    Objective-C

    @property (nonatomic, readonly) unsigned int tooltipContainerBackgroundColor;

    Swift

    var tooltipContainerBackgroundColor: UInt32 { get }
  • Arranges child tooltips.

    Declaration

    Objective-C

    - (void)arrangeSubviews;

    Swift

    func arrangeSubviews()
  • Place thiis ISCITooltipContainer in it’s supervieiw at point according to passed in SCITooltipPosition.

    Note

    Frame of the ISCITooltipContainer might be adjusted, if it’s outside of superview bouds.

    Declaration

    Objective-C

    - (void)placeAt:(CGPoint)point withPosition:(SCITooltipPosition)position;

    Swift

    func place(at point: CGPoint, with position: SCITooltipPosition)

    Parameters

    point

    The CGPoint to place tooltip at.

    position

    The SCITooltipPosition which is used during placing this container.