This is a migrated thread and some comments may be shown as answers.

Multiple areas in RadChartView

5 Answers 147 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Jonathan
Top achievements
Rank 1
Jonathan asked on 29 Feb 2016, 04:39 PM

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

Sort by
0
Petar Marchev
Telerik team
answered on 03 Mar 2016, 02:15 PM
Hi Jonathan,

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
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Jason D
Top achievements
Rank 1
Veteran
answered on 16 Jun 2020, 01:56 PM

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.

0
Martin Ivanov
Telerik team
answered on 17 Jun 2020, 07:09 AM

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

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Jason D
Top achievements
Rank 1
Veteran
answered on 17 Jun 2020, 12:32 PM

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.

 

0
Martin Ivanov
Telerik team
answered on 22 Jun 2020, 05:52 AM

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

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
ChartView
Asked by
Jonathan
Top achievements
Rank 1
Answers by
Petar Marchev
Telerik team
Jason D
Top achievements
Rank 1
Veteran
Martin Ivanov
Telerik team
Share this question
or