Area series Overlap Problem

2 posts, 0 answers
  1. Dts
    Dts avatar
    12 posts
    Member since:
    Apr 2013

    Posted 10 Dec 2013 Link to this post

            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
  2. Petar Marchev
    Petar Marchev avatar
    968 posts

    Posted 12 Dec 2013 Link to this post


    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.

    Petar Marchev
    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 >>
  3. DevCraft R3 2016 release webinar banner
Back to Top