SeriesProvider and Series display order

2 posts, 0 answers
  1. Michal
    Michal avatar
    1 posts
    Member since:
    May 2020

    Posted 12 May 2020 Link to this post


    In my chart I created ChartSeriesProvider and few ScatterPointSeries. 

    For the ScatterPointSeries I can set the display ordering using Zindex or using default order But the ChartSeriesProvider created on top of other series.

    How can I set the order of ChartSeriesProvider to most down?




  2. Dinko
    Dinko avatar
    1220 posts

    Posted 15 May 2020 Link to this post

    Hi Michal,

    What you can try is to target the series generated by the ChartSeriesProvider. For example, you can set it through the Style property.

    <telerik:CategoricalSeriesDescriptor CategoryPath="Category" 
                            <Style TargetType="telerik:LineSeries"> 
                                <Setter Property="StrokeThickness" Value="4" /> 
                                <Setter Property="ZIndex" Value="0" /> 

    Another approach is to subscribe to the SeriesCreated event of the ChartSeriesProvider. In the event handler, you can get the currently created series from the Series property from the event arguments and set the ZIndex property.

    I hope this information is useful.

    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.
Back to Top