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

Area series Overlap Problem

1 Answer 102 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Dts
Top achievements
Rank 1
Dts asked on 10 Dec 2013, 07:13 AM
Hello,
        
        We are developing application where we need dynamic series addition to the same radcartesian chart. We are able to add more than one series(may be of different or same) dynamically to single chart. It works fine.But we have got one problem related to the area series and same in case of spline area series.

Problem :-
        
             when we add more than one area /spline area series to the chart, the small area series gets overlapped by larger one and there is no way to know whether small area series is present or not unless we move the cursor to legends.

I am attaching 2 images for demonstrating the problem.In image1.png ,you can see that there are 2 area series one is in Green color(which is small) and other is in Blue color(which has more area than Green color area series). In this image we can see green color area series because on mouse hover on legendes,the corresponding series gets highlighted.But in Imag2.png, we can,t see green color area series.

Is there any way to draw the small area series over the bigger area series or something related to this.? so that we can see the both area series.

Thank You in Advance

1 Answer, 1 is accepted

Sort by
0
Petar Marchev
Telerik team
answered on 12 Dec 2013, 09:46 AM
Hi,

The two different series are two different visual elements. When placed together in a chart it is expected for the second series to cover the first one. The same thing happens if you place two Buttons on top of each other - if the first button is smaller, you would not be able to see it.

One option you have is to determine which area series is "smaller" and set its ZIndex to some number (say 10). This will result in the "smaller" series drawn on top of the other series.

Another option is to use a different type of display - stacked area series or simply line series. Or perhaps you can set a transparent fill to both series, so that they will surely be visible.

Regards,
Petar Marchev
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
ChartView
Asked by
Dts
Top achievements
Rank 1
Answers by
Petar Marchev
Telerik team
Share this question
or