SCIFastCandlestickRenderableSeries Class Reference

The SCIFastCandlestickRenderableSeries class. More...

#import <SCIFastCandlestickRenderableSeries.h>

Inheritance diagram for SCIFastCandlestickRenderableSeries:
SCIRenderableSeriesBase <SCIThemeableProtocol> <SCIRenderableSeriesProtocol> <SCIThemeableProtocol> <SCIDrawableProtocol>

Instance Methods

(void) - addAnimation:
 defines body fill for chart Up mode (open < close) More...
 
- Instance Methods inherited from SCIRenderableSeriesBase
(BOOL) - isValidForDrawing
 If method returns false renderable series is not valid for drawing. More...
 
(float) - getDatapointWidthFrom:Amount:Calculator:WidthFraction:
 Returns data point width in pixels @discussion For internal use. More...
 
(void) - internalDrawWithContext:WithData:
 Method that implements renderable series drawing. More...
 
(void) - iterationInRenderPassData:withBlock:
 Method that iterates through data points @discussion For internal use @params renderPassData SCIRenderPassData contains all data required for drawing. More...
 
- Instance Methods inherited from <SCIRenderableSeriesProtocol>
(void) - addAnimation:
 The SCIRenderableSeriesProtocol class' property. More...
 
(void) - removeAnimation:
 Remove animation from queue, All animations automatically are removed from queue when they are finished, only repeatable animations are left. More...
 
(BOOL) - isValidForUpdate
 Checks whether this series is valid for update. More...
 
- Instance Methods inherited from <SCIDrawableProtocol>
(void) - onDrawAnimationWithContext:
 
(void) - onDrawWithContext:WithData:
 
(void) - prepareForDrawing
 
- Instance Methods inherited from <SCIThemeableProtocol>
(void) - applyThemeProvider:
 Applies specified theme to current instance. More...
 

Properties

SCICandlestickSeriesStyle * style
 Get or set style for visual customization. More...
 
SCICandlestickSeriesStyle * selectedStyle
 Gets or sets selected series style @discussion If set to nil selected style is default series style. More...
 
SCIPenStylestrokeUpStyle
 
SCIPenStylestrokeDownStyle
 

Additional Inherited Members

- Protected Attributes inherited from SCIRenderableSeriesBase
id< SCIPointSeriesProtocol_previousPointSeries
 
SCIAnimationsController_animationsController
 
SCIDataSeriesObserver_dataSeriesObserver
 

Detailed Description

The SCIFastCandlestickRenderableSeries class.

@discussion Provides Candlestick series rendering where each data point displayed as candle with rectangular body and line from min to max value. @discussion Candlestick series has two color schemes for Up and Down mode. If open value is higher than close, data point is drawn in Down mode, else in Up mode

Remarks
Designed to work with SCIOhlcDataSeries as data container
For styling provide or customize SCICandlestickSeriesStyle
See also
SCIRenderableSeriesProtocol
SCIRenderableSeriesBase
SCIOhlcDataSeries
SCICandlestickSeriesStyle

Method Documentation

◆ addAnimation:()

- (void) addAnimation: (id< SCICandleStickRenderableSeriesAnimationProtocol >)  animation

defines body fill for chart Up mode (open < close)

rSeries.upBodyBrush = SCIBrushSolid(colorCode: 0xFF00FF00)
@encode
/
@property(nonatomic, strong) SCIBrushStyle *fillUpBrushStyle;
@property(nonatomic, strong) SCIBrushStyle *fillDownBrushStyle;
@property(nonatomic) double dataPointWidth;
Parameters
animationsome base animation object which implements SCICandleStickRenderableSeriesAnimationProtocol.

Property Documentation

◆ selectedStyle

- (SCICandlestickSeriesStyle*) selectedStyle
readwritenonatomiccopy

Gets or sets selected series style @discussion If set to nil selected style is default series style.

◆ strokeDownStyle

- (SCIPenStyle*) strokeDownStyle
readwritenonatomicassign

◆ strokeUpStyle

- (SCIPenStyle*) strokeUpStyle
readwritenonatomicassign

◆ style

- (SCICandlestickSeriesStyle*) style
readwritenonatomiccopy

Get or set style for visual customization.

See also
SCICandlestickSeriesStyle

The documentation for this class was generated from the following file: