When replacing the Line Serie (SChartLineSeries) by a Column Serie (SChartColumnSeries) in the AppendData sample code, I am getting a serious memory leak. When using the Line Serie, it looks fine, no leak. Is there a workaround or something that can be done to prevent the leak?
IOS 7.1,
Xcode 5.1
iPod Touch 5th, iPad Mini
Code:
// Returns the series at the specified index for a given chart
-(SChartSeries *)sChart:(ShinobiChart *)chart seriesAtIndex:(NSInteger)index {
// In our example all series are line series.
// SChartLineSeries *lineSeries = [[SChartLineSeries alloc] init];
// lineSeries.style.lineWidth = @(2);
SChartColumnSeries *columnSeries = [[SChartColumnSeriesalloc] init];
return columnSeries;
}