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

Annotation/Text on CustomLine?

2 Answers 64 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Brian asked on 01 Feb 2012, 05:28 PM
I need to put some text on a CustomLine.  I am trying to do this in the same way that is done on a CustomGridLine but that is not working.  How can I do this?

For example, this does not work:

customLine.DataContext = "Test";

 

 

2 Answers, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 06 Feb 2012, 03:46 PM
Hi Brian,

You may find attached a sample project where a Text is successfully set applied to the custom line. The approach is the same used for the CustomGridLine as described here.

Let us know if any questions arise.

Greetings,
Evgenia
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Brian
Top achievements
Rank 1
answered on 07 Feb 2012, 06:13 PM
This worked, thanks!

Apparently, my style was not quite right.
Tags
Chart
Asked by
Brian
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Brian
Top achievements
Rank 1
Share this question
or