<SCIRenderableSeriesProtocol> Protocol Reference

Protocol declares properties and methods common for all renderable series @discussion Renderable series is charts visual part. More...

#import <SCIRenderableSeriesProtocol.h>

Inheritance diagram for <SCIRenderableSeriesProtocol>:
<SCIDrawableProtocol> SCIRenderableSeriesBase <SCIStackedRenderableSeriesProtocol> SCIBaseColumnRenderableSeries SCIBaseMountainRenderableSeries SCIBubbleRenderableSeries SCICustomRenderableSeries SCIFastBandRenderableSeries SCIFastCandlestickRenderableSeries SCIFastErrorBarsRenderableSeries SCIFastFixedErrorBarsRenderableSeries SCIFastImpulseRenderableSeries SCIFastLineRenderableSeries SCIFastOhlcRenderableSeries SCIFastUniformHeatmapRenderableSeries SCIOhlcRenderableSeriesBase SCIStackedSeriesCollectionBase SCIXyScatterRenderableSeries SCIStackedColumnRenderableSeries SCIStackedMountainRenderableSeries

Instance Methods

(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
 

Detailed Description

Protocol declares properties and methods common for all renderable series @discussion Renderable series is charts visual part.

For it to be displayed you have to attach renderable series to SCIChartSurface, setup axes ID and provide data series.

Method Documentation

◆ addAnimation:()

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

The SCIRenderableSeriesProtocol class' property.

@discussion Defines Line's Pen.

series.linePen = SCIPenSolid(colorCode: 0xFF00FF00, width: 1)
@encode
/
@property (nonatomic) id<SCIPenStyleProtocol> strokeStyle;
@property (nonatomic) id<SCIPointMarkerProtocol> pointMarker;
@property (nonatomic) float opacity;
@property(nonatomic, weak) id <SCIChartSurfaceProtocol> parentSurface;
@property(nonatomic) BOOL isVisible;
@property(nonatomic) BOOL isSelected;
@property(nonatomic) SCIResamplingMode resamplingMode;
@property(nonatomic, strong) id <SCIDataSeriesProtocol> dataSeries;
- (BOOL)hasDataSeries;
@property(nonatomic, weak) id <SCIAxis2DProtocol> xAxis;
@property(nonatomic, weak) id <SCIAxis2DProtocol> yAxis;
@property(nonatomic, copy) NSString *xAxisId;
@property(nonatomic, copy) NSString *yAxisId;
@property(nonatomic, strong) id <SCIRenderPassDataProtocol> currentRenderPassData;
@property(nonatomic) double zeroLineY;
- (double)getYZeroCoord;
- (UIColor *)seriesColor;
- (id <SCIRangeProtocol>)getXRange;
- (id <SCIRangeProtocol>)getYRange:(id <SCIRangeProtocol>)xRange;
- (id <SCIRangeProtocol>)getYRange:(id <SCIRangeProtocol>)xRange Positive:(BOOL)getPositiveRange;
- (id <SCIHitTestProviderProtocol>)hitTestProvider;
- (SCISeriesInfo *)toSeriesInfoWithHitTest:(SCIHitTestInfo)info;
@property(nonatomic, strong) id <SCIPaletteProviderProtocol> paletteProvider;
- (id<SCIPointSeriesProtocol>)performAnimation:(id<SCIBaseRenderableSeriesAnimationProtocol>)animation withPointSeries:(id<SCIPointSeriesProtocol>)pointSeries;
Parameters
animationsome base animation object which implements SCIBaseRenderableSeriesAnimationProtocol.

◆ isValidForUpdate()

- (BOOL) isValidForUpdate

Checks whether this series is valid for update.

Returns true if series is valid, otherwise - false.

◆ removeAnimation:()

- (void) removeAnimation: (id< SCIBaseRenderableSeriesAnimationProtocol >)  animation

Remove animation from queue, All animations automatically are removed from queue when they are finished, only repeatable animations are left.

It is not thread safe method. It should be called only from main thread.

Parameters
animationparticular animation which should be removed.

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