
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;
Parameters
renderContext
The render context to draw on.
renderPassData
The current render pass data.
-
Ends drawing with this drawing manager instance.
Declaration
Objective-C
- (void)endDraw;
-
Draws line strips with static
ISCIPathColor
instance.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;
Parameters
drawingContext
The
ISCIDrawingContext
instance, which will be used to draw lines.pathColor
The pen or brush for the drawing operation.
xCoords
The
SCIFloatValues
collection ofx-coordinates
.yCoords
The
SCIFloatValues
collection ofy-coordinates
.isDigitalLine
Value which indicates whether the digital line should or should not be drawn.
closeGaps
Value which indicates whether to close gaps or not.
-
Draws line strips with static
ISCIPathColor
instance.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;
Parameters
drawingContext
The
ISCIDrawingContext
instance, which will be used to draw lines.pathColor
The pen or brush for the drawing operation.
xCoords
The
SCIFloatValues
collection ofx-coordinates
.yCoords
The
SCIFloatValues
collection ofy-coordinates
.xaCoords
The
SCIFloatValues
collection ofxa-coordinates
.yaCoords
The
SCIFloatValues
collection ofya-coordinates
.xbCoords
The
SCIFloatValues
collection ofxb-coordinates
.ybCoords
The
SCIFloatValues
collection ofyb-coordinates
. -
Draws mountain area with static
ISCIPathColor
instance.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;
Parameters
drawingContext
The
ISCIDrawingContext
instance, which will be used to draw mountain area.pathColor
The pen or brush for the drawing operation.
xCoords
The
SCIFloatValues
collection ofx-coordinates
.yCoords
The
SCIFloatValues
collection ofy-coordinates
.isDigitalLine
Value which indicates whether the digital line should or should not be drawn.
closeGaps
Value which indicates whether to close gaps or not.
zeroLine
Value 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
ISCIPathColor
instance.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;
Parameters
drawingContext
The
ISCIDrawingContext
instance, which will be used to draw lines.pathColor
The pen or brush for the drawing operation.
xCoords
The
SCIFloatValues
collection ofx-coordinates
.yCoords
The
SCIFloatValues
collection ofy-coordinates
.xaCoords
The
SCIFloatValues
collection ofxa-coordinates
.yaCoords
The
SCIFloatValues
collection ofya-coordinates
.xbCoords
The
SCIFloatValues
collection ofxb-coordinates
.ybCoords
The
SCIFloatValues
collection ofyb-coordinates
.zeroLine
Value in pixels that determines the position of Y zero line on a chart.
-
Draws points with static
ISCIPathColor
instance.Declaration
Objective-C
- (void)iteratePointsWith:(nonnull id<ISCIDrawingContext>)drawingContext pathColor:(nonnull id<ISCIPathColor>)pathColor xCoords:(nonnull SCIFloatValues *)xCoords yCoords:(nonnull SCIFloatValues *)yCoords;
Parameters
drawingContext
The
ISCIDrawingContext
instance, which will be used to draw points.pathColor
The pen or brush for the drawing operation.
xCoords
The
SCIFloatValues
collection ofx-coordinates
.yCoords
The
SCIFloatValues
collection ofy-coordinates
. -
Draws bubbles with static
ISCIPathColor
instance.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;
Parameters
drawingContext
The
ISCIDrawingContext
instance, which will be used to draw bubbles.pathColor
The pen or brush for the drawing operation.
xCoords
The
SCIFloatValues
collection ofx-coordinates
.yCoords
The
SCIFloatValues
collection ofy-coordinates
.zCoords
The
SCIFloatValues
collection ofz-coordinates
. -
Draws columns as vertical lines with static
ISCIPathColor
instance.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;
Parameters
drawingContext
The
ISCIDrawingContext
instance, which will be used to draw columns as lines.pathColor
The pen or brush for the drawing operation.
xCoords
The
SCIFloatValues
collection ofx-coordinates
.yCoords
The
SCIFloatValues
collection ofy-coordinates
.zeroLine
Value 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
ISCIPathColor
instance.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;
Parameters
fillDrawingContext
The
ISCIDrawingContext
instance, which will be used to draw columns fill.fillPathColor
The pen or brush to draw columns fill.
drawRectsDrawingContext
The
ISCIDrawingContext
instance, which will be used to draw columns stroke.strokePathColor
The pen or brush to draw columns stroke.
xCoords
The
SCIFloatValues
collection ofx-coordinates
.yCoords
The
SCIFloatValues
collection ofy-coordinates
.zeroLine
Value in pixels that determines the position of Y zero line on a chart.
columnWidth
Value in pixels that determines each column width.
-
Draws stacked columns as vertical lines with static
ISCIPathColor
instance.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;
Parameters
drawingContext
The
ISCIDrawingContext
instance, which will be used to draw stacked columns as vertical lines.pathColor
The pen or brush for the drawing operation.
xCoords
The
SCIFloatValues
collection ofx-coordinates
.yCoords
The
SCIFloatValues
collection ofy-coordinates
.prevSeriesYCoords
The
SCIFloatValues
collection of previous seriesy-coordinates
. -
-iterateStackedColumnsWith:fillPathColor:drawRectsDrawingContext:strokePathColor:xCoords:yCoords:prevSeriesYCoords:columnWidth:
Draws stacked columns with static
ISCIPathColor
instance.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;
Parameters
fillDrawingContext
The
ISCIDrawingContext
instance, which will be used to draw columns fill.fillPathColor
The pen or brush to draw the columns fill.
drawRectsDrawingContext
The
ISCIDrawingContext
instance, which will be used to draw columns stroke.strokePathColor
The pen or brush to draw the columns stroke.
xCoords
The
SCIFloatValues
collection ofx-coordinates
.yCoords
The
SCIFloatValues
collection ofy-coordinates
.prevSeriesYCoords
The
SCIFloatValues
collection of previous seriesy-coordinates
.columnWidth
Value in pixels that determines each column width.
-
-iterateBandAreaWith:pathColor:pathColorY1:xCoords:yCoords:y1Coords:isDigitalLine:closeGaps:isFlippedCoords:
Draws band area with static
ISCIPathColor
instance.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;
Parameters
drawingContext
The
ISCIDrawingContext
instance, which will be used to draw band area.pathColor
The pen or brush to draw the first band line.
pathColorY1
The pen or brush to draw the second band line.
xCoords
The
SCIFloatValues
collection ofx-coordinates
.yCoords
The
SCIFloatValues
collection ofy-coordinates
.y1Coords
The
SCIFloatValues
collection ofy1-coordinates
.isDigitalLine
Value which indicates whether the digital line should or should not be drawn.
closeGaps
Value which indicates whether to close gaps or not.
isFlippedCoords
Value 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
ISCIPathColor
instance.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;
Parameters
drawingContext
The
ISCIDrawingContext
instance, which will be used to draw band area.pathColor
The pen or brush to draw the first band line.
pathColorY1
The pen or brush to draw the second band line.
xCoords
The
SCIFloatValues
collection ofx-coordinates
.yCoords
The
SCIFloatValues
collection ofy-coordinates
.y1Coords
The
SCIFloatValues
collection ofy1-coordinates
.xaCoords
The
SCIFloatValues
collection ofxa-coordinates
.yaCoords
The
SCIFloatValues
collection ofya-coordinates
.xbCoords
The
SCIFloatValues
collection ofxb-coordinates
.ybCoords
The
SCIFloatValues
collection ofyb-coordinates
.xa1Coords
The
SCIFloatValues
collection ofxa1-coordinates
.ya1Coords
The
SCIFloatValues
collection ofya1-coordinates
.xb1Coords
The
SCIFloatValues
collection ofxb1-coordinates
.yb1Coords
The
SCIFloatValues
collection ofyb1-coordinates
.isFlippedCoords
Value which indicates whether coordinates are flipped.
-
-iterateOhlcWith:upWickColor:downWickColor:xCoords:openCoords:highCoords:lowCoords:closeCoords:openValues:closeValues:ohlcWidth:
Draws ohlc series with static
ISCIPathColor
provider.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;
Parameters
drawingContext
The
ISCIDrawingContext
instance, which will be used to draw ohlc series.upWickColor
The pen or brush to draw the up ohlc stroke.
downWickColor
The pen or brush to draw the down ohlc stroke.
xCoords
The
SCIFloatValues
collection ofx-coordinates
.openCoords
The
SCIFloatValues
collection ofopen-coordinates
.highCoords
The
SCIFloatValues
collection ofhigh-coordinates
.lowCoords
The
SCIFloatValues
collection oflow-coordinates
.closeCoords
The
SCIFloatValues
collection ofclose-coordinates
.openValues
The
SCIDoubleValues
collection of open values.closeValues
The
SCIDoubleValues
collection of close values.ohlcWidth
Value in pixels that determines each ohlc width.
-
-iterateCandlesticksAsLinesWith:upWickColor:downWickColor:xCoords:highCoords:lowCoords:openValues:closeValues:
Draws candlesticks as vertical lines with static
ISCIPathColor
provider.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;
Parameters
drawingContext
The
ISCIDrawingContext
instance, which will be used to draw ohlc series.upWickColor
The pen or brush to draw the up ohlc stroke.
downWickColor
The pen or brush to draw the down ohlc stroke.
xCoords
The
SCIFloatValues
collection ofx-coordinates
.highCoords
The
SCIFloatValues
collection ofhigh-coordinates
.lowCoords
The
SCIFloatValues
collection oflow-coordinates
.openValues
The
SCIDoubleValues
collection of open values.closeValues
The
SCIDoubleValues
collection of close values. -
-iterateCandlesticksWith:upBodyBrush:downBodyBrush:strokeDrawingContext:upWickColor:downWickColor:xCoords:openCoords:highCoords:lowCoords:closeCoords:openValues:closeValues:candleWidth:
Draws candlesticks with static
ISCIPathColor
provider.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;
Parameters
fillDrawingContext
The
ISCIDrawingContext
instance, which will be used to draw candles fill.upBodyBrush
The pen or brush to draw the up candles fill.
downBodyBrush
The pen or brush to draw the down candles fill.
strokeDrawingContext
The
ISCIDrawingContext
instance, which will be used to draw candles stroke.upWickColor
The pen or brush to draw the up candles stroke.
downWickColor
The pen or brush to draw the down candles stroke.
xCoords
The
SCIFloatValues
collection ofx-coordinates
.openCoords
The
SCIFloatValues
collection ofopen-coordinates
.highCoords
The
SCIFloatValues
collection ofhigh-coordinates
.lowCoords
The
SCIFloatValues
collection oflow-coordinates
.closeCoords
The
SCIFloatValues
collection ofclose-coordinates
.openValues
The
SCIDoubleValues
collection of open values.closeValues
The
SCIDoubleValues
collection of close values.candleWidth
Value in pixels that determines each candle width.
-
Draws lines with dynamic
ISCIPathColor
provider.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;
Parameters
drawingContext
The
ISCIDrawingContext
instance, which will be used to draw lines.dynamicPathColorProvider
Dynamic pen or brush for the drawing operation.
xCoords
The
SCIFloatValues
collection ofx-coordinates
.yCoords
The
SCIFloatValues
collection ofy-coordinates
.paletteProvider
The
ISCIStrokePaletteProvider
instance.isDigitalLine
Value which indicates whether the digital line should or should not be drawn.
closeGaps
Value which indicates whether to close gaps or not.
-
-iterateCubicLinesWith:dynamicPathColorProvider:paletteProvider:xCoords:yCoords:xaCoords:yaCoords:xbCoords:ybCoords:
Draws cubic lines with dynamic
ISCIPathColor
provider.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;
Parameters
drawingContext
The
ISCIDrawingContext
instance, which will be used to draw lines.dynamicPathColorProvider
Dynamic pen or brush for the drawing operation.
xCoords
The
SCIFloatValues
collection ofx-coordinates
.yCoords
The
SCIFloatValues
collection ofy-coordinates
.xaCoords
The
SCIFloatValues
collection ofxa-coordinates
.yaCoords
The
SCIFloatValues
collection ofya-coordinates
.xbCoords
The
SCIFloatValues
collection ofxb-coordinates
.ybCoords
The
SCIFloatValues
collection ofyb-coordinates
.paletteProvider
The
ISCIStrokePaletteProvider
instance. -
-iterateMountainAreaWith:dynamicPathColorProvider:xCoords:yCoords:paletteProvider:isDigitalLine:closeGaps:zeroLine:
Draws mountain area with dynamic
ISCIPathColor
provider.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;
Parameters
drawingContext
The
ISCIDrawingContext
instance, which will be used to draw mountain area.dynamicPathColorProvider
Dynamic pen or brush for the drawing operation.
xCoords
The
SCIFloatValues
collection ofx-coordinates
.yCoords
The
SCIFloatValues
collection ofy-coordinates
.paletteProvider
The
ISCIStrokePaletteProvider
instance.isDigitalLine
Value which indicates whether the digital line should or should not be drawn.
closeGaps
Value which indicates whether to close gaps or not.
zeroLine
Value 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
ISCIPathColor
provider.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;
Parameters
drawingContext
The
ISCIDrawingContext
instance, which will be used to draw mountain area.dynamicPathColorProvider
Dynamic pen or brush for the drawing operation.
paletteProvider
The
ISCIStrokePaletteProvider
instance.xCoords
The
SCIFloatValues
collection ofx-coordinates
.xaCoords
The
SCIFloatValues
collection ofxa-coordinates
.yaCoords
The
SCIFloatValues
collection ofya-coordinates
.xbCoords
The
SCIFloatValues
collection ofxb-coordinates
.ybCoords
The
SCIFloatValues
collection ofyb-coordinates
.yCoords
The
SCIFloatValues
collection ofy-coordinates
.zeroLine
Value in pixels that determines the position of Y zero line on a chart.
-
Draws points with dynamic
ISCIPathColor
provider.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;
Parameters
drawingContext
The
ISCIDrawingContext
instance, which will be used to draw points.dynamicPathColorProvider
Dynamic pen or brush for the drawing operation.
xCoords
The
SCIFloatValues
collection ofx-coordinates
.yCoords
The
SCIFloatValues
collection ofy-coordinates
.paletteProvider
The
ISCIStrokePaletteProvider
instance. -
Draws bubbles with dynamic
ISCIPathColor
provider.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;
Parameters
drawingContext
The
ISCIDrawingContext
instance, which will be used to draw bubbles.dynamicPathColorProvider
Dynamic pen or brush for the drawing operation.
xCoords
The
SCIFloatValues
collection ofx-coordinates
.yCoords
The
SCIFloatValues
collection ofy-coordinates
.zCoords
The
SCIFloatValues
collection ofz-coordinates
.paletteProvider
The
ISCIStrokePaletteProvider
instance. -
Draws columns as vertical lines with dynamic
ISCIPathColor
provider.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;
Parameters
drawingContext
The
ISCIDrawingContext
instance, which will be used to draw column as lines.dynamicPathColorProvider
Dynamic pen or brush for the drawing operation.
xCoords
The
SCIFloatValues
collection ofx-coordinates
.yCoords
The
SCIFloatValues
collection ofy-coordinates
.paletteProvider
The
ISCIStrokePaletteProvider
instance.zeroLine
Value 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
ISCIPathColor
provider.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;
Parameters
fillDrawingContext
The
ISCIDrawingContext
instance, which will be used to draw columns fill.dynamicFillPathColorProvider
Dynamic pen or brush to draw columns fill.
drawRectsDrawingContext
The
ISCIDrawingContext
instance, which will be used to draw columns stroke.dynamicStrokePathColorProvider
Dynamic pen or brush to draw columns stroke.
xCoords
The
SCIFloatValues
collection ofx-coordinates
.yCoords
The
SCIFloatValues
collection ofy-coordinates
.strokePaletteProvider
The
ISCIStrokePaletteProvider
instance used to provide stroke colors.fillPaletteProvider
The
ISCIFillPaletteProvider
instance used to provide fill colors.zeroLine
Value in pixels that determines the position of Y zero line on a chart.
columnWidth
Value in pixels that determines each column width.
-
-iterateStackedColumnsAsLinesWith:dynamicPathColorProvider:xCoords:yCoords:prevSeriesYCoords:strokePaletteProvider:
Draws stacked columns as vertical lines with dynamic
ISCIPathColor
provider.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;
Parameters
drawingContext
The
ISCIDrawingContext
instance, which will be used to draw stacked columns.dynamicPathColorProvider
Dynamic pen or brush for the drawing operation.
xCoords
The
SCIFloatValues
collection ofx-coordinates
.yCoords
The
SCIFloatValues
collection ofy-coordinates
.prevSeriesYCoords
The
SCIFloatValues
collection of previous seriesy-coordinates
.strokePaletteProvider
The
ISCIStrokePaletteProvider
instance. -
-iterateStackedColumnsWith:dynamicFillPathColorProvider:drawRectsDrawingContext:dynamicStrokePathColorProvider:xCoords:yCoords:prevSeriesYCoords:strokePaletteProvider:fillPaletteProvider:columnWidth:
Draws stacked columns with dynamic
ISCIPathColor
provider.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;
Parameters
fillDrawingContext
The
ISCIDrawingContext
instance, which will be used to draw stacked columns fill.dynamicFillPathColorProvider
Dynamic pen or brush to draw columns fill.
drawRectsDrawingContext
The
ISCIDrawingContext
instance, which will be used to draw stacked columns stroke.dynamicStrokePathColorProvider
Dynamic pen or brush to draw columns stroke.
xCoords
The
SCIFloatValues
collection ofx-coordinates
.yCoords
The
SCIFloatValues
collection ofy-coordinates
.prevSeriesYCoords
The
SCIFloatValues
collection of previous seriesy-coordinates
.strokePaletteProvider
The
ISCIStrokePaletteProvider
instance used to provide stroke colors.fillPaletteProvider
The
ISCIFillPaletteProvider
instance used to provide fill colors.columnWidth
Value in pixels that determines each column width.
-
-iterateOhlcWith:dynamicPen:xCoords:openCoords:highCoords:lowCoords:closeCoords:openValues:closeValues:strokePaletteProvider:ohlcWidth:
Draws ohlc series with dynamic
ISCIPathColor
provider.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;
Parameters
drawingContext
The
ISCIDrawingContext
instance, which will be used to draw ohlc series.dynamicPen
Dynamic
ISCICandlestickDynamicPathColorProvider
which could be pen or brush for the drawing operation.xCoords
The
SCIFloatValues
collection ofx-coordinates
.openCoords
The
SCIFloatValues
collection ofopen-coordinates
.highCoords
The
SCIFloatValues
collection ofhigh-coordinates
.lowCoords
The
SCIFloatValues
collection oflow-coordinates
.closeCoords
The
SCIFloatValues
collection ofclose-coordinates
.openValues
The
SCIDoubleValues
collection of open values.closeValues
The
SCIDoubleValues
collection of close values.strokePaletteProvider
The
ISCIStrokePaletteProvider
instance.ohlcWidth
Value in pixels that determines each ohlc width.
-
-iterateCandlesticksAsLinesWith:dynamicPen:xCoords:highCoords:lowCoords:openValues:closeValues:strokePaletteProvider:
Draws candlesticks as vertical lines with dynamic
ISCIPathColor
provider.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;
Parameters
drawingContext
The
ISCIDrawingContext
instance, which will be used to draw candlestick as lines.dynamicPen
Dynamic pen or brush for the drawing operation.
xCoords
The
SCIFloatValues
collection ofx-coordinates
.highCoords
The
SCIFloatValues
collection ofhigh-coordinates
.lowCoords
The
SCIFloatValues
collection oflow-coordinates
.openValues
The
SCIDoubleValues
collection of open values.closeValues
The
SCIDoubleValues
collection of close values.strokePaletteProvider
The
ISCIStrokePaletteProvider
instance. -
-iterateCandlesticksWith:dynamicBrush:strokeDrawingContext:dynamicPen:xCoords:openCoords:highCoords:lowCoords:closeCoords:openValues:closeValues:strokePaletteProvider:fillPaletteProvider:candleWidth:
Draws candlesticks with dynamic
ISCIPathColor
provider.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;
Parameters
fillDrawingContext
The
ISCIDrawingContext
instance, which will be used to draw stacked candles fill.dynamicBrush
Dynamic pen or brush to draw candles fill.
strokeDrawingContext
The
ISCIDrawingContext
instance, which will be used to draw stacked candles stroke.dynamicPen
Dynamic pen or brush to draw candles stroke.
xCoords
The
SCIFloatValues
collection ofx-coordinates
.openCoords
The
SCIFloatValues
collection ofopen-coordinates
.highCoords
The
SCIFloatValues
collection ofhigh-coordinates
.lowCoords
The
SCIFloatValues
collection oflow-coordinates
.closeCoords
The
SCIFloatValues
collection ofclose-coordinates
.openValues
The
SCIDoubleValues
collection of open values.closeValues
The
SCIDoubleValues
collection of close values.fillPaletteProvider
The
ISCIFillPaletteProvider
instance used to provide fill colors.strokePaletteProvider
The
ISCIStrokePaletteProvider
instance used to provide stroke colors.candleWidth
Value in pixels that determines each candle width.
-
Draws single box with specified
fill
andstroke
.Declaration
Objective-C
- (void)drawRect:(CGRect)rect withPen:(nonnull id<ISCIPen2D>)pen andBrush:(nonnull id<ISCIBrush2D>)brush;
Parameters
rect
The
CGRect
coordinates in pixels.pen
The
ISCIPen2D
pen to draw rect stroke with.brush
The
SCIBrush2DProtocol
brush to fill rect with. -
Draws texture in specified rect bounds.
Declaration
Objective-C
- (void)drawTexture:(nonnull id<ISCITexture2D>)texture inRect:(CGRect)rect withOpacity:(float)opacity;
Parameters
texture
The
ISCITexture2D
texture instance to draw.rect
The rect coordinates in pixels to draw texture in.
opacity
The 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;
Parameters
heatmap
The heatmap texture with normalized float values which will be converted to colors using colorMap.
rect
The rect coordinates in points to draw texture in.
colorMap
The colorMap texture, which will be used to calculate colors for heatmap normalized values.
min
The minimum value for this heatmap texture.
max
The maximum value for this heatmap texture.