I've read in the docs that RadChart supports charts with multiple areas for its series. Is there any way to get something similar in RadChartView?
In case it helps, what I'm trying to achieve is to "stack" vertically different series (candlestick, lines, bars) sharing one common horizontal axis but each with its individual vertical axis.
5 Answers, 1 is accepted
Due to multiple reasons, we have decided not to implement multiple areas within a single chart. You can however put charts together and get the same results. The only major thing you need to take care of is to align the plot areas of the charts (at least I assume you would want to do that). You can get the code from this qsf demo, see the ChartViewUtilities static class.
You can collapse the axes you do not want to get displayed and in case the horizontal data in the different series varies, you can bind the ranges of the collapsed horizontal axes to the ActualRange of the visible one.
Let us know how it goes.
Regards,
Petar Marchev
Telerik
Is this still true? There are two images that appear to show multiple areas:
https://www.telerik.com/products/wpf/chartview.aspx
But I can't find anything in the documentation that explains how to do this.
Hello Jason,
The multiple series scenario shown on the ChartView's product page is different than the requirement Jonathan asks for. The one from the product page is supported. To achieve this, you can define multiple chart series in the Series collection of the chart control. If you need to stack the data, you can set the CombineMode of each series to Stack.
To achieve the requirement from the original post of this forum, you can stack vertically multiple RadCartesianChart controls.
Regards,
Martin Ivanov
Progress Telerik
Our thoughts here at Progress are with those affected by the outbreak.
I was referring to the attached images. Are these just stacked charts? Multiple areas would be extremely useful. I use it for one of my existing charts and it's much better than trying to keep multiple charts in sync.
Hello Jason,
Yes, those are two RadCartesianChart controls stack one on top of the other. You can see this setup in the Zooming and Scrolling, Financial and Stock Series / Indicators examples from the WPF Demos application.
Regards,
Martin Ivanov
Progress Telerik
Our thoughts here at Progress are with those affected by the outbreak.