iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCIDrawablePointMarker
@interface SCIDrawablePointMarker : SCIPointMarkerBase
Allows any custom drawing to be rendered via ISCIRenderContext2D API at each data point location.
Warning
Derived classes must implement-internalDrawWithContext:at:withStrokePen:andFillBrush: which draws PointMarker at specified point, otherwise exception will be throwed.
See
SCIPointMarkerBase.
-
Renders single PointMarker at specified coordinates on screen.
Declaration
Objective-C
- (void)internalDrawWithContext:(nonnull id<ISCIRenderContext2D>)renderContext at:(CGPoint)point withStrokePen:(nonnull id<ISCIPen2D>)pen andFillBrush:(nonnull id<ISCIBrush2D>)brush;Swift
func internalDraw(with renderContext: any ISCIRenderContext2D, at point: CGPoint, withStroke pen: any ISCIPen2D, andFill brush: any ISCIBrush2D)Parameters
renderContextThe
ISCIRenderContext2Dinstance to draw to.pointThe coorsinates to draw point marker at.
penStroke
ISCIPen2Dinstance.brushFill
ISCIBrush2Dinstance.
View on GitHub