Report Chart Watermark

4 posts, 1 answers
  1. Peter
    Peter avatar
    8 posts
    Member since:
    Aug 2012

    Posted 14 Apr Link to this post

    Hi;

     

    I have a report that requires text to be displayed in four parts of a graph. The text is to be watermark in nature -- I.E.  should appear behind everything else on the chart. I did this building a series for the text and using the data point label and made sure this series was the first loaded. But unfortunatelya series label is always displayed above everything else on the chart regardless of when it as loaded. So, how do I add text to a chart and have be in the back of everything else (note I need to resize the text - so can't use standard font size).

     

     

    Peter

  2. Peter
    Peter avatar
    8 posts
    Member since:
    Aug 2012

    Posted 14 Apr in reply to Peter Link to this post

    I found the solution. The label has a style and the style has a colour - and the colour class (static) has an generation operation that takes an alpha value. For those who know - alpha is used to specify how transpaent the colour will be. 

     

    Peter

  3. DevCraft banner
  4. Answer
    Peter
    Peter avatar
    8 posts
    Member since:
    Aug 2012

    Posted 14 Apr in reply to Peter Link to this post

    Found how to do this. The label has a style which uses a colour. The colour class has static fields for generation of a colour object -- one function has an alpha parameter. For those who know -- alpha is used to identify the level of transparency of the colour. So this solved my problem.

     

    Peter

  5. Stef
    Admin
    Stef avatar
    3036 posts

    Posted 18 Apr Link to this post

    Hello Peter,

    The graph item supports transparency that can be specified by using an ARGB value when a System.Drawing.Color object is required.

    Regards,
    Stef
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top