iOS Charting Documentation - SciChart iOS Charts SDK v3.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 (readonly, nonatomic) 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.