This is a migrated thread and some comments may be shown as answers.

Report Chart Watermark

3 Answers 72 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 14 Apr 2016, 10:02 AM

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

3 Answers, 1 is accepted

Sort by
0
Peter
Top achievements
Rank 1
answered on 14 Apr 2016, 12:38 PM

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

0
Accepted
Peter
Top achievements
Rank 1
answered on 14 Apr 2016, 12:40 PM

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

0
Stef
Telerik team
answered on 18 Apr 2016, 01:43 PM
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
Tags
General Discussions
Asked by
Peter
Top achievements
Rank 1
Answers by
Peter
Top achievements
Rank 1
Stef
Telerik team
Share this question
or