Stacked Area Line "falling through to bottom"

2 posts, 0 answers
  1. sysinfradev
    sysinfradev avatar
    5 posts
    Member since:
    Sep 2011

    Posted 21 Nov 2011 Link to this post

    Has anyone seen a RadChart stacked area series falling to the bottom and then appearing behind another series which in fact it should be stacking on top of?

    We have this hooked up to a RadTimebar and whenver we select more than a few days worth of data points (there are a few thousand) it will fall off the bottom, but on not a single one of these days, when viewing day by day, does the chart behave like this.

    I have attached a picture to illustrate what I mean. The yellow series has fallen to the bottom when in fact it should be resting on the red one.

    Thanks for any help!!
  2. Tsvetie
    Tsvetie avatar
    1517 posts

    Posted 24 Nov 2011 Link to this post

    Hello Sysinfradev,
    First, let me explain how the timebar and chart are integrated, because I suppose you are using the built-in integration feature. Baically, the data that the chart shows is filtered, based on the selection in the timebar. As a result, in case you have only one datapoint for a series in the filtered data, it will show as a point and not as an area. And in case there are no datapoints for a series in the filtered data, you will not see this series.

    Now, regarding the change in the ZIndex for the different series. Basically, the ZIndex order of the series in the chart, depends on the data for the series. That is why, at some point, filtering the data for the chart through the timebar might lead to different ZIndex order of the series.

    In case the built-in integration of RadChart and RadTimeBar does not fit your requirements, you should be able to implement your own integration logic, using the features of the two controls.

    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top