
iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
ISCIStackedColumnRenderableSeries
@protocol ISCIStackedColumnRenderableSeries <ISCIStackedRenderableSeries>
Defines the interface for Stacked Column RenderableSeries within SciChart.
-
Get the renderPassData instance of this series.
Declaration
Objective-C
@property (nonatomic, strong, readonly) id<ISCISeriesRenderPassData> firstRenderPassData;
Swift
var firstRenderPassData: ISCISeriesRenderPassData! { get }
Return Value
If it’s
SCIStackedColumnRenderableSeries
- returns its renderPassData. If it’sSCIVerticallyStackedColumnsCollection
- returns the renderPassData of the first series from the collection. -
Get the dataSeries instance of this series.
Declaration
Objective-C
@property (nonatomic, strong, readonly) id<ISCIDataSeries> firstDataSeries;
Swift
var firstDataSeries: ISCIDataSeries! { get }
Return Value
If it’s
SCIStackedColumnRenderableSeries
- returns its dataSeries. If it’sSCIVerticallyStackedColumnsCollection
- returns the dataSeries of the first series from the collection. -
Updates
SCIStackedColumnRenderPassData.columnPixelWidth
value of thisISCIStackedColumnRenderableSeries
instance. If it’sSCIVerticallyStackedColumnsCollection
- updatesSCIStackedColumnRenderPassData.columnPixelWidth
for all series in the collection.Declaration
Objective-C
- (void)updateColumnPixelWidth:(float)columnPixelWidth;
Swift
func updateColumnPixelWidth(_ columnPixelWidth: Float)
Parameters
columnPixelWidth
Value of new column width in pixels.
-
Shifts
X-Values
coordinates to spread all horizontally stacked columns properly.Declaration
Objective-C
- (void)shiftColumnCenters:(int *)columnsCountAtX pointsSequenceNumbers:(int *)pointsSequenceNumbers columnWidth:(float)columnWidth columnSpacing:(float)columnSpacing;
Swift
func shiftColumnCenters(_ columnsCountAtX: UnsafeMutablePointer<Int32>!, pointsSequenceNumbers: UnsafeMutablePointer<Int32>!, columnWidth: Float, columnSpacing: Float)
Parameters
columnsCountAtX
Array with counts of the horizontally stacked columns per each x-value.
pointsSequenceNumbers
Array with positions in sequence of the horizontally stacked columns per each
x-value
. Used to properly determine each column position.columnWidth
Each column width in pixels.
columnSpacing
Spacing between columns. Could be
SCISpacingMode.SCISpacingMode_Absolute
orSCISpacingMode.SCISpacingMode_Relative
.