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

Add text box to Radchart?

1 Answer 106 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
fudoki22
Top achievements
Rank 1
fudoki22 asked on 15 Mar 2011, 03:45 PM
Is it possible to add a text box to a Radchart?  

I am charting financial data over time. Periodically an event happens which affects the data and in the data source, these events are recorded. If possible, I would like to create another textblock in code, read in these events from the data source and write them out as text inside the chart background area (without affecting the chart and labels which are working nicely).

I realise I can do this outside of the chart, but I have a nice sized space inside the background area of the chart, below the series legend which would be otherwise unused. 

thanks,
fudoki

1 Answer, 1 is accepted

Sort by
0
Accepted
Evgenia
Telerik team
answered on 17 Mar 2011, 12:12 PM
Hello Michael,

You can use the fact that the MarkedZones of the PlotArea can be labeled. By knowing this - you can add Marked Zone and set it's color to be Transparent. That way only the Label of the MarkedZone will remain visible. The Label of the MarkedZone can be used as TextBlock for the purpose you mentioned. You may find our demo with full source code helpful.

Greetings,
Evgenia
the Telerik team
Tags
Chart (Obsolete)
Asked by
fudoki22
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Share this question
or