In case you want to present different chart series on the same chart, just add those series to the chart. This is demonstrated in Axis Types > Multiple axes
example in our demo application.
However, if you want to present series of the same type where each series is stacked over the previous one, you should use the stackInfo
property. This is demonstrated in Chart Types > Stacked Column chart
and Chart Types > Stacked Area chart
examples in our demo application. Consider also the following code:
TKChartStackInfo *stackInfo = [[TKChartStackInfo alloc] initWithID:@(1) withStackMode:TKChartStackModeStack];
TKChartColumnSeries *series1 = [[TKChartColumnSeries alloc] initWithItems:items];
series1.stackInfo = stackInfo;
TKChartColumnSeries *series2 = [[TKChartColumnSeries alloc] initWithItems:items];
series2.stackInfo = stackInfo;
You can find further information about stacking in bar/column and area series in our online documentation:
In our Win8 toolkit there is a CombineMode
property which servers a similar purpose. However, we found that the stackInfo
property allows greater flexibility and it more adequately describes this scenario.
I will be glad to help if you have further questions.
Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).