CartesianPlotBandAnnotation with specified Fill

3 posts, 1 answers
  1. Marcin
    Marcin avatar
    31 posts
    Member since:
    Jul 2013

    Posted 23 Jul 2013 Link to this post

    Hi,

    It seems, there is a problem when using CartesianPlotBandAnnotation with specified Fill property.
    In such situation, the annotations cover all chart area, including Series.

    When I try to define some tranparency (alfa-value for color) - series are plotted, but they look like behind the fog.
    Also Chart grid lines are visible behind the annotations. 
    In previous version of charting (RadChart) - it worked much better.

    Example screen shots are as attachments. The data is plotted just above the horizontal axis - so that it's hardly visible on the chartView_annotations example.

    Best regards
    Marcin Danek
  2. Answer
    Petar Marchev
    Admin
    Petar Marchev avatar
    968 posts

    Posted 25 Jul 2013 Link to this post

    Hi Marcin,

    The reason for the series not being visible is that the annotations are added to the same Canvas that the series are added to and the annotations have a greater ZIndex. This is by design. You can change the ZIndex property of the annotations (not the Canvas.ZIndex, but the annotation.ZIndex) in order to have the annotation beneath the series. You can try values in the range of -250 and -300 and see how it goes.

    Regards,
    Petar Marchev
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    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 banner
  4. Marcin
    Marcin avatar
    31 posts
    Member since:
    Jul 2013

    Posted 25 Jul 2013 Link to this post

    Thank You!
    -200 seems to perfect value ;)
Back to Top