iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
ISCISeriesDrawingManager
@protocol ISCISeriesDrawingManager <ISCIDisposable>
Defines the interface with helper methods for rendering of renderable series.
-
Begins drawing with this drawing manager instance.
Declaration
Objective-C
- (void)beginDrawWithContext:(nonnull id<ISCIRenderContext2D>)renderContext renderPassData: (nonnull id<ISCISeriesRenderPassData>)renderPassData;Swift
func beginDraw(with renderContext: any ISCIRenderContext2D, renderPassData: any ISCISeriesRenderPassData)Parameters
renderContextThe render context to draw on.
renderPassDataThe current render pass data.
-
Ends drawing with this drawing manager instance.
Declaration
Objective-C
- (void)endDraw;Swift
func endDraw()
-
Draws line strips with static
ISCIPathColorinstance.Declaration
Objective-C
- (void)iterateLinesWith:(nonnull id<ISCIDrawingContext>)drawingContext pathColor:(nonnull id<ISCIPathColor>)pathColor xCoords:(nonnull SCIFloatValues *)xCoords yCoords:(nonnull SCIFloatValues *)yCoords isDigitalLine:(BOOL)isDigitalLine closeGaps:(BOOL)closeGaps;Swift
func iterateLines(with drawingContext: any ISCIDrawingContext, pathColor: any ISCIPathColor, xCoords: SCIFloatValues, yCoords: SCIFloatValues, isDigitalLine: Bool, closeGaps: Bool)Parameters
drawingContextThe
ISCIDrawingContextinstance, which will be used to draw lines.pathColorThe pen or brush for the drawing operation.
xCoordsThe
SCIFloatValuescollection ofx-coordinates.yCoordsThe
SCIFloatValuescollection ofy-coordinates.isDigitalLineValue which indicates whether the digital line should or should not be drawn.
closeGapsValue which indicates whether to close gaps or not.
-
Draws line strips with static
ISCIPathColorinstance.Declaration
Objective-C
- (void)iterateCubicLinesWith:(nonnull id<ISCIDrawingContext>)drawingContext pathColor:(nonnull id<ISCIPathColor>)pathColor xCoords:(nonnull SCIFloatValues *)xCoords yCoords:(nonnull SCIFloatValues *)yCoords xaCoords:(nonnull SCIFloatValues *)xaCoords yaCoords:(nonnull SCIFloatValues *)yaCoords xbCoords:(nonnull SCIFloatValues *)xbCoords ybCoords:(nonnull SCIFloatValues *)ybCoords;Swift
func iterateCubicLines(with drawingContext: any ISCIDrawingContext, pathColor: any ISCIPathColor, xCoords: SCIFloatValues, yCoords: SCIFloatValues, xaCoords: SCIFloatValues, yaCoords: SCIFloatValues, xbCoords: SCIFloatValues, ybCoords: SCIFloatValues)Parameters
drawingContextThe
ISCIDrawingContextinstance, which will be used to draw lines.pathColorThe pen or brush for the drawing operation.
xCoordsThe
SCIFloatValuescollection ofx-coordinates.yCoordsThe
SCIFloatValuescollection ofy-coordinates.xaCoordsThe
SCIFloatValuescollection ofxa-coordinates.yaCoordsThe
SCIFloatValuescollection ofya-coordinates.xbCoordsThe
SCIFloatValuescollection ofxb-coordinates.ybCoordsThe
SCIFloatValuescollection ofyb-coordinates. -
Draws mountain area with static
ISCIPathColorinstance.Declaration
Objective-C
- (void)iterateMountainAreaWith:(nonnull id<ISCIDrawingContext>)drawingContext pathColor:(nonnull id<ISCIPathColor>)pathColor xCoords:(nonnull SCIFloatValues *)xCoords yCoords:(nonnull SCIFloatValues *)yCoords isDigitalLine:(BOOL)isDigitalLine closeGaps:(BOOL)closeGaps zeroLine:(float)zeroLine;Swift
func iterateMountainArea(with drawingContext: any ISCIDrawingContext, pathColor: any ISCIPathColor, xCoords: SCIFloatValues, yCoords: SCIFloatValues, isDigitalLine: Bool, closeGaps: Bool, zeroLine: Float)Parameters
drawingContextThe
ISCIDrawingContextinstance, which will be used to draw mountain area.pathColorThe pen or brush for the drawing operation.
xCoordsThe
SCIFloatValuescollection ofx-coordinates.yCoordsThe
SCIFloatValuescollection ofy-coordinates.isDigitalLineValue which indicates whether the digital line should or should not be drawn.
closeGapsValue which indicates whether to close gaps or not.
zeroLineValue in pixels that determines the position of Y zero line on a chart.
-
-iterateCubicMountainAreaWith:pathColor:xCoords:yCoords:xaCoords:yaCoords:xbCoords:ybCoords:zeroLine:Draws mountain area using cubic bezier curves with static
ISCIPathColorinstance.Declaration
Objective-C
- (void)iterateCubicMountainAreaWith: (nonnull id<ISCIDrawingContext>)drawingContext pathColor:(nonnull id<ISCIPathColor>)pathColor xCoords:(nonnull SCIFloatValues *)xCoords yCoords:(nonnull SCIFloatValues *)yCoords xaCoords:(nonnull SCIFloatValues *)xaCoords yaCoords:(nonnull SCIFloatValues *)yaCoords xbCoords:(nonnull SCIFloatValues *)xbCoords ybCoords:(nonnull SCIFloatValues *)ybCoords zeroLine:(float)zeroLine;Swift
func iterateCubicMountainArea(with drawingContext: any ISCIDrawingContext, pathColor: any ISCIPathColor, xCoords: SCIFloatValues, yCoords: SCIFloatValues, xaCoords: SCIFloatValues, yaCoords: SCIFloatValues, xbCoords: SCIFloatValues, ybCoords: SCIFloatValues, zeroLine: Float)Parameters
drawingContextThe
ISCIDrawingContextinstance, which will be used to draw lines.pathColorThe pen or brush for the drawing operation.
xCoordsThe
SCIFloatValuescollection ofx-coordinates.yCoordsThe
SCIFloatValuescollection ofy-coordinates.xaCoordsThe
SCIFloatValuescollection ofxa-coordinates.yaCoordsThe
SCIFloatValuescollection ofya-coordinates.xbCoordsThe
SCIFloatValuescollection ofxb-coordinates.ybCoordsThe
SCIFloatValuescollection ofyb-coordinates.zeroLineValue in pixels that determines the position of Y zero line on a chart.
-
Draws points with static
ISCIPathColorinstance.Declaration
Objective-C
- (void)iteratePointsWith:(nonnull id<ISCIDrawingContext>)drawingContext pathColor:(nonnull id<ISCIPathColor>)pathColor xCoords:(nonnull SCIFloatValues *)xCoords yCoords:(nonnull SCIFloatValues *)yCoords;Swift
func iteratePoints(with drawingContext: any ISCIDrawingContext, pathColor: any ISCIPathColor, xCoords: SCIFloatValues, yCoords: SCIFloatValues)Parameters
drawingContextThe
ISCIDrawingContextinstance, which will be used to draw points.pathColorThe pen or brush for the drawing operation.
xCoordsThe
SCIFloatValuescollection ofx-coordinates.yCoordsThe
SCIFloatValuescollection ofy-coordinates. -
Draws bubbles with static
ISCIPathColorinstance.Declaration
Objective-C
- (void)iterateBubblesWith:(nonnull id<ISCIDrawingContext>)drawingContext pathColor:(nonnull id<ISCIPathColor>)pathColor xCoords:(nonnull SCIFloatValues *)xCoords yCoords:(nonnull SCIFloatValues *)yCoords zCoords:(nonnull SCIFloatValues *)zCoords;Swift
func iterateBubbles(with drawingContext: any ISCIDrawingContext, pathColor: any ISCIPathColor, xCoords: SCIFloatValues, yCoords: SCIFloatValues, zCoords: SCIFloatValues)Parameters
drawingContextThe
ISCIDrawingContextinstance, which will be used to draw bubbles.pathColorThe pen or brush for the drawing operation.
xCoordsThe
SCIFloatValuescollection ofx-coordinates.yCoordsThe
SCIFloatValuescollection ofy-coordinates.zCoordsThe
SCIFloatValuescollection ofz-coordinates. -
Draws columns as vertical lines with static
ISCIPathColorinstance.Declaration
Objective-C
- (void)iterateColumnsAsLinesWith:(nonnull id<ISCIDrawingContext>)drawingContext pathColor:(nonnull id<ISCIPathColor>)pathColor xCoords:(nonnull SCIFloatValues *)xCoords yCoords:(nonnull SCIFloatValues *)yCoords zeroLine:(float)zeroLine;Swift
func iterateColumnsAsLines(with drawingContext: any ISCIDrawingContext, pathColor: any ISCIPathColor, xCoords: SCIFloatValues, yCoords: SCIFloatValues, zeroLine: Float)Parameters
drawingContextThe
ISCIDrawingContextinstance, which will be used to draw columns as lines.pathColorThe pen or brush for the drawing operation.
xCoordsThe
SCIFloatValuescollection ofx-coordinates.yCoordsThe
SCIFloatValuescollection ofy-coordinates.zeroLineValue in pixels that determines the position of Y zero line on a chart.
-
-iterateColumnsWith:fillPathColor:drawRectsDrawingContext:strokePathColor:xCoords:yCoords:zeroLine:columnWidth:Draws columns with static
ISCIPathColorinstance.Declaration
Objective-C
- (void)iterateColumnsWith:(nonnull id<ISCIDrawingContext>)fillDrawingContext fillPathColor:(nonnull id<ISCIPathColor>)fillPathColor drawRectsDrawingContext: (nonnull id<ISCIDrawingContext>)drawRectsDrawingContext strokePathColor:(nonnull id<ISCIPathColor>)strokePathColor xCoords:(nonnull SCIFloatValues *)xCoords yCoords:(nonnull SCIFloatValues *)yCoords zeroLine:(float)zeroLine columnWidth:(float)columnWidth;Swift
func iterateColumns(with fillDrawingContext: any ISCIDrawingContext, fill fillPathColor: any ISCIPathColor, drawRectsDrawingContext: any ISCIDrawingContext, stroke strokePathColor: any ISCIPathColor, xCoords: SCIFloatValues, yCoords: SCIFloatValues, zeroLine: Float, columnWidth: Float)Parameters
fillDrawingContextThe
ISCIDrawingContextinstance, which will be used to draw columns fill.fillPathColorThe pen or brush to draw columns fill.
drawRectsDrawingContextThe
ISCIDrawingContextinstance, which will be used to draw columns stroke.strokePathColorThe pen or brush to draw columns stroke.
xCoordsThe
SCIFloatValuescollection ofx-coordinates.yCoordsThe
SCIFloatValuescollection ofy-coordinates.zeroLineValue in pixels that determines the position of Y zero line on a chart.
columnWidthValue in pixels that determines each column width.
-
Draws stacked columns as vertical lines with static
ISCIPathColorinstance.Declaration
Objective-C
- (void)iterateStackedColumnsAsLinesWith: (nonnull id<ISCIDrawingContext>)drawingContext pathColor:(nonnull id<ISCIPathColor>)pathColor xCoords:(nonnull SCIFloatValues *)xCoords yCoords:(nonnull SCIFloatValues *)yCoords prevSeriesYCoords: (nonnull SCIFloatValues *)prevSeriesYCoords;Swift
func iterateStackedColumnsAsLines(with drawingContext: any ISCIDrawingContext, pathColor: any ISCIPathColor, xCoords: SCIFloatValues, yCoords: SCIFloatValues, prevSeriesYCoords: SCIFloatValues)Parameters
drawingContextThe
ISCIDrawingContextinstance, which will be used to draw stacked columns as vertical lines.pathColorThe pen or brush for the drawing operation.
xCoordsThe
SCIFloatValuescollection ofx-coordinates.yCoordsThe
SCIFloatValuescollection ofy-coordinates.prevSeriesYCoordsThe
SCIFloatValuescollection of previous seriesy-coordinates. -
-iterateStackedColumnsWith:fillPathColor:drawRectsDrawingContext:strokePathColor:xCoords:yCoords:prevSeriesYCoords:columnWidth:Draws stacked columns with static
ISCIPathColorinstance.Declaration
Objective-C
- (void)iterateStackedColumnsWith: (nonnull id<ISCIDrawingContext>)fillDrawingContext fillPathColor:(nonnull id<ISCIPathColor>)fillPathColor drawRectsDrawingContext: (nonnull id<ISCIDrawingContext>)drawRectsDrawingContext strokePathColor:(nonnull id<ISCIPathColor>)strokePathColor xCoords:(nonnull SCIFloatValues *)xCoords yCoords:(nonnull SCIFloatValues *)yCoords prevSeriesYCoords:(nonnull SCIFloatValues *)prevSeriesYCoords columnWidth:(float)columnWidth;Swift
func iterateStackedColumns(with fillDrawingContext: any ISCIDrawingContext, fill fillPathColor: any ISCIPathColor, drawRectsDrawingContext: any ISCIDrawingContext, stroke strokePathColor: any ISCIPathColor, xCoords: SCIFloatValues, yCoords: SCIFloatValues, prevSeriesYCoords: SCIFloatValues, columnWidth: Float)Parameters
fillDrawingContextThe
ISCIDrawingContextinstance, which will be used to draw columns fill.fillPathColorThe pen or brush to draw the columns fill.
drawRectsDrawingContextThe
ISCIDrawingContextinstance, which will be used to draw columns stroke.strokePathColorThe pen or brush to draw the columns stroke.
xCoordsThe
SCIFloatValuescollection ofx-coordinates.yCoordsThe
SCIFloatValuescollection ofy-coordinates.prevSeriesYCoordsThe
SCIFloatValuescollection of previous seriesy-coordinates.columnWidthValue in pixels that determines each column width.
-
-iterateBandAreaWith:pathColor:pathColorY1:xCoords:yCoords:y1Coords:isDigitalLine:closeGaps:isFlippedCoords:Draws band area with static
ISCIPathColorinstance.Declaration
Objective-C
- (void)iterateBandAreaWith:(nonnull id<ISCIDrawingContext>)drawingContext pathColor:(nonnull id<ISCIPathColor>)pathColor pathColorY1:(nonnull id<ISCIPathColor>)pathColorY1 xCoords:(nonnull SCIFloatValues *)xCoords yCoords:(nonnull SCIFloatValues *)yCoords y1Coords:(nonnull SCIFloatValues *)y1Coords isDigitalLine:(BOOL)isDigitalLine closeGaps:(BOOL)closeGaps isFlippedCoords:(BOOL)isFlippedCoords;Swift
func iterateBandArea(with drawingContext: any ISCIDrawingContext, pathColor: any ISCIPathColor, pathColorY1: any ISCIPathColor, xCoords: SCIFloatValues, yCoords: SCIFloatValues, y1Coords: SCIFloatValues, isDigitalLine: Bool, closeGaps: Bool, isFlippedCoords: Bool)Parameters
drawingContextThe
ISCIDrawingContextinstance, which will be used to draw band area.pathColorThe pen or brush to draw the first band line.
pathColorY1The pen or brush to draw the second band line.
xCoordsThe
SCIFloatValuescollection ofx-coordinates.yCoordsThe
SCIFloatValuescollection ofy-coordinates.y1CoordsThe
SCIFloatValuescollection ofy1-coordinates.isDigitalLineValue which indicates whether the digital line should or should not be drawn.
closeGapsValue which indicates whether to close gaps or not.
isFlippedCoordsValue which indicates whether coordinates are flipped.
-
-iterateCubicBandAreaWith:pathColor:pathColorY1:xCoords:yCoords:y1Coords:xaCoords:yaCoords:xbCoords:ybCoords:xa1Coords:ya1Coords:xb1Coords:yb1Coords:isFlippedCoords:Draws cubic band area with static
ISCIPathColorinstance.Declaration
Objective-C
- (void)iterateCubicBandAreaWith:(nonnull id<ISCIDrawingContext>)drawingContext pathColor:(nonnull id<ISCIPathColor>)pathColor pathColorY1:(nonnull id<ISCIPathColor>)pathColorY1 xCoords:(nonnull SCIFloatValues *)xCoords yCoords:(nonnull SCIFloatValues *)yCoords y1Coords:(nonnull SCIFloatValues *)y1Coords xaCoords:(nonnull SCIFloatValues *)xaCoords yaCoords:(nonnull SCIFloatValues *)yaCoords xbCoords:(nonnull SCIFloatValues *)xbCoords ybCoords:(nonnull SCIFloatValues *)ybCoords xa1Coords:(nonnull SCIFloatValues *)xa1Coords ya1Coords:(nonnull SCIFloatValues *)ya1Coords xb1Coords:(nonnull SCIFloatValues *)xb1Coords yb1Coords:(nonnull SCIFloatValues *)yb1Coords isFlippedCoords:(BOOL)isFlippedCoords;Swift
func iterateCubicBandArea(with drawingContext: any ISCIDrawingContext, pathColor: any ISCIPathColor, pathColorY1: any ISCIPathColor, xCoords: SCIFloatValues, yCoords: SCIFloatValues, y1Coords: SCIFloatValues, xaCoords: SCIFloatValues, yaCoords: SCIFloatValues, xbCoords: SCIFloatValues, ybCoords: SCIFloatValues, xa1Coords: SCIFloatValues, ya1Coords: SCIFloatValues, xb1Coords: SCIFloatValues, yb1Coords: SCIFloatValues, isFlippedCoords: Bool)Parameters
drawingContextThe
ISCIDrawingContextinstance, which will be used to draw band area.pathColorThe pen or brush to draw the first band line.
pathColorY1The pen or brush to draw the second band line.
xCoordsThe
SCIFloatValuescollection ofx-coordinates.yCoordsThe
SCIFloatValuescollection ofy-coordinates.y1CoordsThe
SCIFloatValuescollection ofy1-coordinates.xaCoordsThe
SCIFloatValuescollection ofxa-coordinates.yaCoordsThe
SCIFloatValuescollection ofya-coordinates.xbCoordsThe
SCIFloatValuescollection ofxb-coordinates.ybCoordsThe
SCIFloatValuescollection ofyb-coordinates.xa1CoordsThe
SCIFloatValuescollection ofxa1-coordinates.ya1CoordsThe
SCIFloatValuescollection ofya1-coordinates.xb1CoordsThe
SCIFloatValuescollection ofxb1-coordinates.yb1CoordsThe
SCIFloatValuescollection ofyb1-coordinates.isFlippedCoordsValue which indicates whether coordinates are flipped.
-
-iterateOhlcWith:upWickColor:downWickColor:xCoords:openCoords:highCoords:lowCoords:closeCoords:openValues:closeValues:ohlcWidth:Draws ohlc series with static
ISCIPathColorprovider.Declaration
Objective-C
- (void)iterateOhlcWith:(nonnull id<ISCIDrawingContext>)drawingContext upWickColor:(nonnull id<ISCIPathColor>)upWickColor downWickColor:(nonnull id<ISCIPathColor>)downWickColor xCoords:(nonnull SCIFloatValues *)xCoords openCoords:(nonnull SCIFloatValues *)openCoords highCoords:(nonnull SCIFloatValues *)highCoords lowCoords:(nonnull SCIFloatValues *)lowCoords closeCoords:(nonnull SCIFloatValues *)closeCoords openValues:(nonnull SCIDoubleValues *)openValues closeValues:(nonnull SCIDoubleValues *)closeValues ohlcWidth:(float)ohlcWidth;Swift
func iterateOhlc(with drawingContext: any ISCIDrawingContext, upWickColor: any ISCIPathColor, downWickColor: any ISCIPathColor, xCoords: SCIFloatValues, openCoords: SCIFloatValues, highCoords: SCIFloatValues, lowCoords: SCIFloatValues, closeCoords: SCIFloatValues, open openValues: SCIDoubleValues, close closeValues: SCIDoubleValues, ohlcWidth: Float)Parameters
drawingContextThe
ISCIDrawingContextinstance, which will be used to draw ohlc series.upWickColorThe pen or brush to draw the up ohlc stroke.
downWickColorThe pen or brush to draw the down ohlc stroke.
xCoordsThe
SCIFloatValuescollection ofx-coordinates.openCoordsThe
SCIFloatValuescollection ofopen-coordinates.highCoordsThe
SCIFloatValuescollection ofhigh-coordinates.lowCoordsThe
SCIFloatValuescollection oflow-coordinates.closeCoordsThe
SCIFloatValuescollection ofclose-coordinates.openValuesThe
SCIDoubleValuescollection of open values.closeValuesThe
SCIDoubleValuescollection of close values.ohlcWidthValue in pixels that determines each ohlc width.
-
-iterateCandlesticksAsLinesWith:upWickColor:downWickColor:xCoords:highCoords:lowCoords:openValues:closeValues:Draws candlesticks as vertical lines with static
ISCIPathColorprovider.Declaration
Objective-C
- (void)iterateCandlesticksAsLinesWith: (nonnull id<ISCIDrawingContext>)drawingContext upWickColor:(nonnull id<ISCIPathColor>)upWickColor downWickColor:(nonnull id<ISCIPathColor>)downWickColor xCoords:(nonnull SCIFloatValues *)xCoords highCoords:(nonnull SCIFloatValues *)highCoords lowCoords:(nonnull SCIFloatValues *)lowCoords openValues:(nonnull SCIDoubleValues *)openValues closeValues:(nonnull SCIDoubleValues *)closeValues;Swift
func iterateCandlesticksAsLines(with drawingContext: any ISCIDrawingContext, upWickColor: any ISCIPathColor, downWickColor: any ISCIPathColor, xCoords: SCIFloatValues, highCoords: SCIFloatValues, lowCoords: SCIFloatValues, open openValues: SCIDoubleValues, close closeValues: SCIDoubleValues)Parameters
drawingContextThe
ISCIDrawingContextinstance, which will be used to draw ohlc series.upWickColorThe pen or brush to draw the up ohlc stroke.
downWickColorThe pen or brush to draw the down ohlc stroke.
xCoordsThe
SCIFloatValuescollection ofx-coordinates.highCoordsThe
SCIFloatValuescollection ofhigh-coordinates.lowCoordsThe
SCIFloatValuescollection oflow-coordinates.openValuesThe
SCIDoubleValuescollection of open values.closeValuesThe
SCIDoubleValuescollection of close values. -
-iterateCandlesticksWith:upBodyBrush:downBodyBrush:strokeDrawingContext:upWickColor:downWickColor:xCoords:openCoords:highCoords:lowCoords:closeCoords:openValues:closeValues:candleWidth:Draws candlesticks with static
ISCIPathColorprovider.Declaration
Objective-C
- (void) iterateCandlesticksWith:(nonnull id<ISCIDrawingContext>)fillDrawingContext upBodyBrush:(nonnull id<ISCIPathColor>)upBodyBrush downBodyBrush:(nonnull id<ISCIPathColor>)downBodyBrush strokeDrawingContext:(nonnull id<ISCIDrawingContext>)strokeDrawingContext upWickColor:(nonnull id<ISCIPathColor>)upWickColor downWickColor:(nonnull id<ISCIPathColor>)downWickColor xCoords:(nonnull SCIFloatValues *)xCoords openCoords:(nonnull SCIFloatValues *)openCoords highCoords:(nonnull SCIFloatValues *)highCoords lowCoords:(nonnull SCIFloatValues *)lowCoords closeCoords:(nonnull SCIFloatValues *)closeCoords openValues:(nonnull SCIDoubleValues *)openValues closeValues:(nonnull SCIDoubleValues *)closeValues candleWidth:(float)candleWidth;Swift
func iterateCandlesticks(with fillDrawingContext: any ISCIDrawingContext, upBodyBrush: any ISCIPathColor, downBodyBrush: any ISCIPathColor, stroke strokeDrawingContext: any ISCIDrawingContext, upWickColor: any ISCIPathColor, downWickColor: any ISCIPathColor, xCoords: SCIFloatValues, openCoords: SCIFloatValues, highCoords: SCIFloatValues, lowCoords: SCIFloatValues, closeCoords: SCIFloatValues, open openValues: SCIDoubleValues, close closeValues: SCIDoubleValues, candleWidth: Float)Parameters
fillDrawingContextThe
ISCIDrawingContextinstance, which will be used to draw candles fill.upBodyBrushThe pen or brush to draw the up candles fill.
downBodyBrushThe pen or brush to draw the down candles fill.
strokeDrawingContextThe
ISCIDrawingContextinstance, which will be used to draw candles stroke.upWickColorThe pen or brush to draw the up candles stroke.
downWickColorThe pen or brush to draw the down candles stroke.
xCoordsThe
SCIFloatValuescollection ofx-coordinates.openCoordsThe
SCIFloatValuescollection ofopen-coordinates.highCoordsThe
SCIFloatValuescollection ofhigh-coordinates.lowCoordsThe
SCIFloatValuescollection oflow-coordinates.closeCoordsThe
SCIFloatValuescollection ofclose-coordinates.openValuesThe
SCIDoubleValuescollection of open values.closeValuesThe
SCIDoubleValuescollection of close values.candleWidthValue in pixels that determines each candle width.
-
Draws lines with dynamic
ISCIPathColorprovider.Declaration
Objective-C
- (void)iterateLinesWith:(nonnull id<ISCIDrawingContext>)drawingContext dynamicPathColorProvider: (nonnull id<ISCIDynamicPathColorProvider>)dynamicPathColorProvider xCoords:(nonnull SCIFloatValues *)xCoords yCoords:(nonnull SCIFloatValues *)yCoords paletteProvider: (nonnull id<ISCIStrokePaletteProvider>)paletteProvider isDigitalLine:(BOOL)isDigitalLine closeGaps:(BOOL)closeGaps;Swift
func iterateLines(with drawingContext: any ISCIDrawingContext, dynamicPathColorProvider: any ISCIDynamicPathColorProvider, xCoords: SCIFloatValues, yCoords: SCIFloatValues, paletteProvider: any ISCIStrokePaletteProvider, isDigitalLine: Bool, closeGaps: Bool)Parameters
drawingContextThe
ISCIDrawingContextinstance, which will be used to draw lines.dynamicPathColorProviderDynamic pen or brush for the drawing operation.
xCoordsThe
SCIFloatValuescollection ofx-coordinates.yCoordsThe
SCIFloatValuescollection ofy-coordinates.paletteProviderThe
ISCIStrokePaletteProviderinstance.isDigitalLineValue which indicates whether the digital line should or should not be drawn.
closeGapsValue which indicates whether to close gaps or not.
-
-iterateCubicLinesWith:dynamicPathColorProvider:paletteProvider:xCoords:yCoords:xaCoords:yaCoords:xbCoords:ybCoords:Draws cubic lines with dynamic
ISCIPathColorprovider.Declaration
Objective-C
- (void)iterateCubicLinesWith:(nonnull id<ISCIDrawingContext>)drawingContext dynamicPathColorProvider: (nonnull id<ISCIDynamicPathColorProvider>)dynamicPathColorProvider paletteProvider: (nonnull id<ISCIStrokePaletteProvider>)paletteProvider xCoords:(nonnull SCIFloatValues *)xCoords yCoords:(nonnull SCIFloatValues *)yCoords xaCoords:(nonnull SCIFloatValues *)xaCoords yaCoords:(nonnull SCIFloatValues *)yaCoords xbCoords:(nonnull SCIFloatValues *)xbCoords ybCoords:(nonnull SCIFloatValues *)ybCoords;Swift
func iterateCubicLines(with drawingContext: any ISCIDrawingContext, dynamicPathColorProvider: any ISCIDynamicPathColorProvider, paletteProvider: any ISCIStrokePaletteProvider, xCoords: SCIFloatValues, yCoords: SCIFloatValues, xaCoords: SCIFloatValues, yaCoords: SCIFloatValues, xbCoords: SCIFloatValues, ybCoords: SCIFloatValues)Parameters
drawingContextThe
ISCIDrawingContextinstance, which will be used to draw lines.dynamicPathColorProviderDynamic pen or brush for the drawing operation.
xCoordsThe
SCIFloatValuescollection ofx-coordinates.yCoordsThe
SCIFloatValuescollection ofy-coordinates.xaCoordsThe
SCIFloatValuescollection ofxa-coordinates.yaCoordsThe
SCIFloatValuescollection ofya-coordinates.xbCoordsThe
SCIFloatValuescollection ofxb-coordinates.ybCoordsThe
SCIFloatValuescollection ofyb-coordinates.paletteProviderThe
ISCIStrokePaletteProviderinstance. -
-iterateMountainAreaWith:dynamicPathColorProvider:xCoords:yCoords:paletteProvider:isDigitalLine:closeGaps:zeroLine:Draws mountain area with dynamic
ISCIPathColorprovider.Declaration
Objective-C
- (void)iterateMountainAreaWith:(nonnull id<ISCIDrawingContext>)drawingContext dynamicPathColorProvider: (nonnull id<ISCIDynamicPathColorProvider>)dynamicPathColorProvider xCoords:(nonnull SCIFloatValues *)xCoords yCoords:(nonnull SCIFloatValues *)yCoords paletteProvider: (nonnull id<ISCIFillPaletteProvider>)paletteProvider isDigitalLine:(BOOL)isDigitalLine closeGaps:(BOOL)closeGaps zeroLine:(float)zeroLine;Swift
func iterateMountainArea(with drawingContext: any ISCIDrawingContext, dynamicPathColorProvider: any ISCIDynamicPathColorProvider, xCoords: SCIFloatValues, yCoords: SCIFloatValues, paletteProvider: any ISCIFillPaletteProvider, isDigitalLine: Bool, closeGaps: Bool, zeroLine: Float)Parameters
drawingContextThe
ISCIDrawingContextinstance, which will be used to draw mountain area.dynamicPathColorProviderDynamic pen or brush for the drawing operation.
xCoordsThe
SCIFloatValuescollection ofx-coordinates.yCoordsThe
SCIFloatValuescollection ofy-coordinates.paletteProviderThe
ISCIStrokePaletteProviderinstance.isDigitalLineValue which indicates whether the digital line should or should not be drawn.
closeGapsValue which indicates whether to close gaps or not.
zeroLineValue in pixels that determines the position of Y zero line on a chart.
-
-iterateCubicMountainAreaWith:dynamicPathColorProvider:paletteProvider:xCoords:yCoords:xaCoords:yaCoords:xbCoords:ybCoords:zeroLine:Draws cubic mountain area with dynamic
ISCIPathColorprovider.Declaration
Objective-C
- (void) iterateCubicMountainAreaWith:(nonnull id<ISCIDrawingContext>)drawingContext dynamicPathColorProvider: (nonnull id<ISCIDynamicPathColorProvider>)dynamicPathColorProvider paletteProvider: (nonnull id<ISCIFillPaletteProvider>)paletteProvider xCoords:(nonnull SCIFloatValues *)xCoords yCoords:(nonnull SCIFloatValues *)yCoords xaCoords:(nonnull SCIFloatValues *)xaCoords yaCoords:(nonnull SCIFloatValues *)yaCoords xbCoords:(nonnull SCIFloatValues *)xbCoords ybCoords:(nonnull SCIFloatValues *)ybCoords zeroLine:(float)zeroLine;Swift
func iterateCubicMountainArea(with drawingContext: any ISCIDrawingContext, dynamicPathColorProvider: any ISCIDynamicPathColorProvider, paletteProvider: any ISCIFillPaletteProvider, xCoords: SCIFloatValues, yCoords: SCIFloatValues, xaCoords: SCIFloatValues, yaCoords: SCIFloatValues, xbCoords: SCIFloatValues, ybCoords: SCIFloatValues, zeroLine: Float)Parameters
drawingContextThe
ISCIDrawingContextinstance, which will be used to draw mountain area.dynamicPathColorProviderDynamic pen or brush for the drawing operation.
paletteProviderThe
ISCIStrokePaletteProviderinstance.xCoordsThe
SCIFloatValuescollection ofx-coordinates.xaCoordsThe
SCIFloatValuescollection ofxa-coordinates.yaCoordsThe
SCIFloatValuescollection ofya-coordinates.xbCoordsThe
SCIFloatValuescollection ofxb-coordinates.ybCoordsThe
SCIFloatValuescollection ofyb-coordinates.yCoordsThe
SCIFloatValuescollection ofy-coordinates.zeroLineValue in pixels that determines the position of Y zero line on a chart.
-
Draws points with dynamic
ISCIPathColorprovider.Declaration
Objective-C
- (void)iteratePointsWith:(nonnull id<ISCIDrawingContext>)drawingContext dynamicPathColorProvider: (nonnull id<ISCIDynamicPathColorProvider>)dynamicPathColorProvider xCoords:(nonnull SCIFloatValues *)xCoords yCoords:(nonnull SCIFloatValues *)yCoords paletteProvider: (nonnull id<ISCIPointMarkerPaletteProvider>)paletteProvider;Swift
func iteratePoints(with drawingContext: any ISCIDrawingContext, dynamicPathColorProvider: any ISCIDynamicPathColorProvider, xCoords: SCIFloatValues, yCoords: SCIFloatValues, paletteProvider: any ISCIPointMarkerPaletteProvider)Parameters
drawingContextThe
ISCIDrawingContextinstance, which will be used to draw points.dynamicPathColorProviderDynamic pen or brush for the drawing operation.
xCoordsThe
SCIFloatValuescollection ofx-coordinates.yCoordsThe
SCIFloatValuescollection ofy-coordinates.paletteProviderThe
ISCIStrokePaletteProviderinstance. -
Draws bubbles with dynamic
ISCIPathColorprovider.Declaration
Objective-C
- (void)iterateBubblesWith:(nonnull id<ISCIDrawingContext>)drawingContext dynamicPathColorProvider: (nonnull id<ISCIDynamicPathColorProvider>)dynamicPathColorProvider xCoords:(nonnull SCIFloatValues *)xCoords yCoords:(nonnull SCIFloatValues *)yCoords zCoords:(nonnull SCIFloatValues *)zCoords paletteProvider: (nonnull id<ISCIFillPaletteProvider>)paletteProvider;Swift
func iterateBubbles(with drawingContext: any ISCIDrawingContext, dynamicPathColorProvider: any ISCIDynamicPathColorProvider, xCoords: SCIFloatValues, yCoords: SCIFloatValues, zCoords: SCIFloatValues, paletteProvider: any ISCIFillPaletteProvider)Parameters
drawingContextThe
ISCIDrawingContextinstance, which will be used to draw bubbles.dynamicPathColorProviderDynamic pen or brush for the drawing operation.
xCoordsThe
SCIFloatValuescollection ofx-coordinates.yCoordsThe
SCIFloatValuescollection ofy-coordinates.zCoordsThe
SCIFloatValuescollection ofz-coordinates.paletteProviderThe
ISCIStrokePaletteProviderinstance. -
Draws columns as vertical lines with dynamic
ISCIPathColorprovider.Declaration
Objective-C
- (void)iterateColumnsAsLinesWith:(nonnull id<ISCIDrawingContext>)drawingContext dynamicPathColorProvider: (nonnull id<ISCIDynamicPathColorProvider>)dynamicPathColorProvider xCoords:(nonnull SCIFloatValues *)xCoords yCoords:(nonnull SCIFloatValues *)yCoords paletteProvider: (nonnull id<ISCIStrokePaletteProvider>)paletteProvider zeroLine:(float)zeroLine;Swift
func iterateColumnsAsLines(with drawingContext: any ISCIDrawingContext, dynamicPathColorProvider: any ISCIDynamicPathColorProvider, xCoords: SCIFloatValues, yCoords: SCIFloatValues, paletteProvider: any ISCIStrokePaletteProvider, zeroLine: Float)Parameters
drawingContextThe
ISCIDrawingContextinstance, which will be used to draw column as lines.dynamicPathColorProviderDynamic pen or brush for the drawing operation.
xCoordsThe
SCIFloatValuescollection ofx-coordinates.yCoordsThe
SCIFloatValuescollection ofy-coordinates.paletteProviderThe
ISCIStrokePaletteProviderinstance.zeroLineValue in pixels that determines the position of Y zero line on a chart.
-
-iterateColumnsWith:dynamicFillPathColorProvider:drawRectsDrawingContext:dynamicStrokePathColorProvider:xCoords:yCoords:strokePaletteProvider:fillPaletteProvider:zeroLine:columnWidth:Draws columns with dynamic
ISCIPathColorprovider.Declaration
Objective-C
- (void)iterateColumnsWith:(nonnull id<ISCIDrawingContext>)fillDrawingContext dynamicFillPathColorProvider: (nonnull id<ISCIDynamicPathColorProvider>)dynamicFillPathColorProvider drawRectsDrawingContext: (nonnull id<ISCIDrawingContext>)drawRectsDrawingContext dynamicStrokePathColorProvider: (nonnull id<ISCIDynamicPathColorProvider>)dynamicStrokePathColorProvider xCoords:(nonnull SCIFloatValues *)xCoords yCoords:(nonnull SCIFloatValues *)yCoords strokePaletteProvider: (nonnull id<ISCIStrokePaletteProvider>)strokePaletteProvider fillPaletteProvider: (nonnull id<ISCIFillPaletteProvider>)fillPaletteProvider zeroLine:(float)zeroLine columnWidth:(float)columnWidth;Swift
func iterateColumns(with fillDrawingContext: any ISCIDrawingContext, dynamicFill dynamicFillPathColorProvider: any ISCIDynamicPathColorProvider, drawRectsDrawingContext: any ISCIDrawingContext, dynamicStroke dynamicStrokePathColorProvider: any ISCIDynamicPathColorProvider, xCoords: SCIFloatValues, yCoords: SCIFloatValues, strokePaletteProvider: any ISCIStrokePaletteProvider, fillPaletteProvider: any ISCIFillPaletteProvider, zeroLine: Float, columnWidth: Float)Parameters
fillDrawingContextThe
ISCIDrawingContextinstance, which will be used to draw columns fill.dynamicFillPathColorProviderDynamic pen or brush to draw columns fill.
drawRectsDrawingContextThe
ISCIDrawingContextinstance, which will be used to draw columns stroke.dynamicStrokePathColorProviderDynamic pen or brush to draw columns stroke.
xCoordsThe
SCIFloatValuescollection ofx-coordinates.yCoordsThe
SCIFloatValuescollection ofy-coordinates.strokePaletteProviderThe
ISCIStrokePaletteProviderinstance used to provide stroke colors.fillPaletteProviderThe
ISCIFillPaletteProviderinstance used to provide fill colors.zeroLineValue in pixels that determines the position of Y zero line on a chart.
columnWidthValue in pixels that determines each column width.
-
-iterateStackedColumnsAsLinesWith:dynamicPathColorProvider:xCoords:yCoords:prevSeriesYCoords:strokePaletteProvider:Draws stacked columns as vertical lines with dynamic
ISCIPathColorprovider.Declaration
Objective-C
- (void) iterateStackedColumnsAsLinesWith: (nonnull id<ISCIDrawingContext>)drawingContext dynamicPathColorProvider:(nonnull id<ISCIDynamicPathColorProvider>) dynamicPathColorProvider xCoords:(nonnull SCIFloatValues *)xCoords yCoords:(nonnull SCIFloatValues *)yCoords prevSeriesYCoords:(nonnull SCIFloatValues *)prevSeriesYCoords strokePaletteProvider: (nonnull id<ISCIStrokePaletteProvider>)strokePaletteProvider;Swift
func iterateStackedColumnsAsLines(with drawingContext: any ISCIDrawingContext, dynamicPathColorProvider: any ISCIDynamicPathColorProvider, xCoords: SCIFloatValues, yCoords: SCIFloatValues, prevSeriesYCoords: SCIFloatValues, strokePaletteProvider: any ISCIStrokePaletteProvider)Parameters
drawingContextThe
ISCIDrawingContextinstance, which will be used to draw stacked columns.dynamicPathColorProviderDynamic pen or brush for the drawing operation.
xCoordsThe
SCIFloatValuescollection ofx-coordinates.yCoordsThe
SCIFloatValuescollection ofy-coordinates.prevSeriesYCoordsThe
SCIFloatValuescollection of previous seriesy-coordinates.strokePaletteProviderThe
ISCIStrokePaletteProviderinstance. -
-iterateStackedColumnsWith:dynamicFillPathColorProvider:drawRectsDrawingContext:dynamicStrokePathColorProvider:xCoords:yCoords:prevSeriesYCoords:strokePaletteProvider:fillPaletteProvider:columnWidth:Draws stacked columns with dynamic
ISCIPathColorprovider.Declaration
Objective-C
- (void)iterateStackedColumnsWith: (nonnull id<ISCIDrawingContext>)fillDrawingContext dynamicFillPathColorProvider: (nonnull id<ISCIDynamicPathColorProvider>)dynamicFillPathColorProvider drawRectsDrawingContext: (nonnull id<ISCIDrawingContext>)drawRectsDrawingContext dynamicStrokePathColorProvider: (nonnull id<ISCIDynamicPathColorProvider>)dynamicStrokePathColorProvider xCoords:(nonnull SCIFloatValues *)xCoords yCoords:(nonnull SCIFloatValues *)yCoords prevSeriesYCoords:(nonnull SCIFloatValues *)prevSeriesYCoords strokePaletteProvider: (nonnull id<ISCIStrokePaletteProvider>)strokePaletteProvider fillPaletteProvider: (nonnull id<ISCIFillPaletteProvider>)fillPaletteProvider columnWidth:(float)columnWidth;Swift
func iterateStackedColumns(with fillDrawingContext: any ISCIDrawingContext, dynamicFill dynamicFillPathColorProvider: any ISCIDynamicPathColorProvider, drawRectsDrawingContext: any ISCIDrawingContext, dynamicStroke dynamicStrokePathColorProvider: any ISCIDynamicPathColorProvider, xCoords: SCIFloatValues, yCoords: SCIFloatValues, prevSeriesYCoords: SCIFloatValues, strokePaletteProvider: any ISCIStrokePaletteProvider, fillPaletteProvider: any ISCIFillPaletteProvider, columnWidth: Float)Parameters
fillDrawingContextThe
ISCIDrawingContextinstance, which will be used to draw stacked columns fill.dynamicFillPathColorProviderDynamic pen or brush to draw columns fill.
drawRectsDrawingContextThe
ISCIDrawingContextinstance, which will be used to draw stacked columns stroke.dynamicStrokePathColorProviderDynamic pen or brush to draw columns stroke.
xCoordsThe
SCIFloatValuescollection ofx-coordinates.yCoordsThe
SCIFloatValuescollection ofy-coordinates.prevSeriesYCoordsThe
SCIFloatValuescollection of previous seriesy-coordinates.strokePaletteProviderThe
ISCIStrokePaletteProviderinstance used to provide stroke colors.fillPaletteProviderThe
ISCIFillPaletteProviderinstance used to provide fill colors.columnWidthValue in pixels that determines each column width.
-
-iterateOhlcWith:dynamicPen:xCoords:openCoords:highCoords:lowCoords:closeCoords:openValues:closeValues:strokePaletteProvider:ohlcWidth:Draws ohlc series with dynamic
ISCIPathColorprovider.Declaration
Objective-C
- (void)iterateOhlcWith:(nonnull id<ISCIDrawingContext>)drawingContext dynamicPen:(nonnull id<ISCICandlestickDynamicPathColorProvider>) dynamicPen xCoords:(nonnull SCIFloatValues *)xCoords openCoords:(nonnull SCIFloatValues *)openCoords highCoords:(nonnull SCIFloatValues *)highCoords lowCoords:(nonnull SCIFloatValues *)lowCoords closeCoords:(nonnull SCIFloatValues *)closeCoords openValues:(nonnull SCIDoubleValues *)openValues closeValues:(nonnull SCIDoubleValues *)closeValues strokePaletteProvider: (nonnull id<ISCIStrokePaletteProvider>)strokePaletteProvider ohlcWidth:(float)ohlcWidth;Swift
func iterateOhlc(with drawingContext: any ISCIDrawingContext, dynamicPen: any ISCICandlestickDynamicPathColorProvider, xCoords: SCIFloatValues, openCoords: SCIFloatValues, highCoords: SCIFloatValues, lowCoords: SCIFloatValues, closeCoords: SCIFloatValues, open openValues: SCIDoubleValues, close closeValues: SCIDoubleValues, strokePaletteProvider: any ISCIStrokePaletteProvider, ohlcWidth: Float)Parameters
drawingContextThe
ISCIDrawingContextinstance, which will be used to draw ohlc series.dynamicPenDynamic
ISCICandlestickDynamicPathColorProviderwhich could be pen or brush for the drawing operation.xCoordsThe
SCIFloatValuescollection ofx-coordinates.openCoordsThe
SCIFloatValuescollection ofopen-coordinates.highCoordsThe
SCIFloatValuescollection ofhigh-coordinates.lowCoordsThe
SCIFloatValuescollection oflow-coordinates.closeCoordsThe
SCIFloatValuescollection ofclose-coordinates.openValuesThe
SCIDoubleValuescollection of open values.closeValuesThe
SCIDoubleValuescollection of close values.strokePaletteProviderThe
ISCIStrokePaletteProviderinstance.ohlcWidthValue in pixels that determines each ohlc width.
-
-iterateCandlesticksAsLinesWith:dynamicPen:xCoords:highCoords:lowCoords:openValues:closeValues:strokePaletteProvider:Draws candlesticks as vertical lines with dynamic
ISCIPathColorprovider.Declaration
Objective-C
- (void) iterateCandlesticksAsLinesWith: (nonnull id<ISCIDrawingContext>)drawingContext dynamicPen: (nonnull id<ISCICandlestickDynamicPathColorProvider>) dynamicPen xCoords:(nonnull SCIFloatValues *)xCoords highCoords:(nonnull SCIFloatValues *)highCoords lowCoords:(nonnull SCIFloatValues *)lowCoords openValues:(nonnull SCIDoubleValues *)openValues closeValues:(nonnull SCIDoubleValues *)closeValues strokePaletteProvider: (nonnull id<ISCIStrokePaletteProvider>)strokePaletteProvider;Swift
func iterateCandlesticksAsLines(with drawingContext: any ISCIDrawingContext, dynamicPen: any ISCICandlestickDynamicPathColorProvider, xCoords: SCIFloatValues, highCoords: SCIFloatValues, lowCoords: SCIFloatValues, open openValues: SCIDoubleValues, close closeValues: SCIDoubleValues, strokePaletteProvider: any ISCIStrokePaletteProvider)Parameters
drawingContextThe
ISCIDrawingContextinstance, which will be used to draw candlestick as lines.dynamicPenDynamic pen or brush for the drawing operation.
xCoordsThe
SCIFloatValuescollection ofx-coordinates.highCoordsThe
SCIFloatValuescollection ofhigh-coordinates.lowCoordsThe
SCIFloatValuescollection oflow-coordinates.openValuesThe
SCIDoubleValuescollection of open values.closeValuesThe
SCIDoubleValuescollection of close values.strokePaletteProviderThe
ISCIStrokePaletteProviderinstance. -
-iterateCandlesticksWith:dynamicBrush:strokeDrawingContext:dynamicPen:xCoords:openCoords:highCoords:lowCoords:closeCoords:openValues:closeValues:strokePaletteProvider:fillPaletteProvider:candleWidth:Draws candlesticks with dynamic
ISCIPathColorprovider.Declaration
Objective-C
- (void) iterateCandlesticksWith:(nonnull id<ISCIDrawingContext>)fillDrawingContext dynamicBrush: (nonnull id<ISCICandlestickDynamicPathColorProvider>) dynamicBrush strokeDrawingContext:(nonnull id<ISCIDrawingContext>)strokeDrawingContext dynamicPen: (nonnull id<ISCICandlestickDynamicPathColorProvider>) dynamicPen xCoords:(nonnull SCIFloatValues *)xCoords openCoords:(nonnull SCIFloatValues *)openCoords highCoords:(nonnull SCIFloatValues *)highCoords lowCoords:(nonnull SCIFloatValues *)lowCoords closeCoords:(nonnull SCIFloatValues *)closeCoords openValues:(nonnull SCIDoubleValues *)openValues closeValues:(nonnull SCIDoubleValues *)closeValues strokePaletteProvider: (nonnull id<ISCIStrokePaletteProvider>)strokePaletteProvider fillPaletteProvider: (nonnull id<ISCIFillPaletteProvider>)fillPaletteProvider candleWidth:(float)candleWidth;Swift
func iterateCandlesticks(with fillDrawingContext: any ISCIDrawingContext, dynamicBrush: any ISCICandlestickDynamicPathColorProvider, stroke strokeDrawingContext: any ISCIDrawingContext, dynamicPen: any ISCICandlestickDynamicPathColorProvider, xCoords: SCIFloatValues, openCoords: SCIFloatValues, highCoords: SCIFloatValues, lowCoords: SCIFloatValues, closeCoords: SCIFloatValues, open openValues: SCIDoubleValues, close closeValues: SCIDoubleValues, strokePaletteProvider: any ISCIStrokePaletteProvider, fillPaletteProvider: any ISCIFillPaletteProvider, candleWidth: Float)Parameters
fillDrawingContextThe
ISCIDrawingContextinstance, which will be used to draw stacked candles fill.dynamicBrushDynamic pen or brush to draw candles fill.
strokeDrawingContextThe
ISCIDrawingContextinstance, which will be used to draw stacked candles stroke.dynamicPenDynamic pen or brush to draw candles stroke.
xCoordsThe
SCIFloatValuescollection ofx-coordinates.openCoordsThe
SCIFloatValuescollection ofopen-coordinates.highCoordsThe
SCIFloatValuescollection ofhigh-coordinates.lowCoordsThe
SCIFloatValuescollection oflow-coordinates.closeCoordsThe
SCIFloatValuescollection ofclose-coordinates.openValuesThe
SCIDoubleValuescollection of open values.closeValuesThe
SCIDoubleValuescollection of close values.fillPaletteProviderThe
ISCIFillPaletteProviderinstance used to provide fill colors.strokePaletteProviderThe
ISCIStrokePaletteProviderinstance used to provide stroke colors.candleWidthValue in pixels that determines each candle width.
-
Draws single box with specified
fillandstroke.Declaration
Objective-C
- (void)drawRect:(CGRect)rect withPen:(nonnull id<ISCIPen2D>)pen andBrush:(nonnull id<ISCIBrush2D>)brush;Swift
func draw(_ rect: CGRect, with pen: any ISCIPen2D, andBrush brush: any ISCIBrush2D)Parameters
rectThe
CGRectcoordinates in pixels.penThe
ISCIPen2Dpen to draw rect stroke with.brushThe
SCIBrush2DProtocolbrush to fill rect with. -
Draws a single line using the specified
ISCIPen2D.Declaration
Objective-C
- (void)drawLineWithPen:(nonnull id<ISCIPen2D>)pen atStart:(CGPoint)start end:(CGPoint)end;Swift
func drawLine(with pen: any ISCIPen2D, atStart start: CGPoint, end: CGPoint)Parameters
penThe pen to draw line with.
startThe start point coordinates in pixels.
endThe end point coordinates in pixels.
-
Draws texture in specified rect bounds.
Declaration
Objective-C
- (void)drawTexture:(nonnull id<ISCITexture2D>)texture inRect:(CGRect)rect withOpacity:(float)opacity;Swift
func draw(_ texture: any ISCITexture2D, in rect: CGRect, withOpacity opacity: Float)Parameters
textureThe
ISCITexture2Dtexture instance to draw.rectThe rect coordinates in pixels to draw texture in.
opacityThe opacity to draw texture with.
-
Draws a single heatmap using the specified float texture and gradient color map.
Declaration
Objective-C
- (void)drawHeatmapTexure:(nonnull id<ISCITexture2D>)heatmap inRect:(CGRect)rect withColorMapTexture:(nonnull id<ISCITexture2D>)colorMap min:(double)min andMax:(double)max;Swift
func drawHeatmapTexure(_ heatmap: any ISCITexture2D, in rect: CGRect, withColorMapTexture colorMap: any ISCITexture2D, min: Double, andMax max: Double)Parameters
heatmapThe heatmap texture with normalized float values which will be converted to colors using colorMap.
rectThe rect coordinates in points to draw texture in.
colorMapThe colorMap texture, which will be used to calculate colors for heatmap normalized values.
minThe minimum value for this heatmap texture.
maxThe maximum value for this heatmap texture.
View on GitHub