iOS Charting Documentation - SciChart iOS Charts SDK v3.x

SCIModifierGroup

@interface SCIModifierGroup : SCIChartModifierBase <ISCIReceiveEventGroup>

Allows a collection of modifiers to be added to the ISCIChartSurface.chartModifiers.

Note

Child modifiers are stored in the childModifiers collection.
  • Defines the ID of the motion event group, which is used to share motion events across multiple targets.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) NSString *_Nonnull eventGroup;

    Swift

    var eventGroup: String { get set }
  • Gets the collection of the ISCIChartModifier in this group.

    Declaration

    Objective-C

    @property (readonly, nonatomic)
        SCIChartModifierCollection *_Nonnull childModifiers;

    Swift

    var childModifiers: SCIChartModifierCollection { get }
  • Creates a new SCIModifierGroup instance with childModifiers collection.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithChildModifiers:
        (nonnull NSArray<id<ISCIChartModifier>> *)childModifiers;

    Swift

    init(childModifiers: [ISCIChartModifier])

    Parameters

    childModifiers

    The child modifiers.

  • Looks for a ISCIChartModifier with the specified eventsGroupTag in the collection of child modifiers.

    Declaration

    Objective-C

    - (nullable id<ISCIChartModifier>)getChildModifierByTag:
        (nonnull NSString *)eventGroupTag;

    Swift

    func getChildModifier(byTag eventGroupTag: String) -> ISCIChartModifier?

    Parameters

    eventGroupTag

    Tag of the event group.

    Return Value

    The ISCIChartModifier instance associated with eventsGroupTag.