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

Marked Zone Label Position

2 Answers 106 Views
Chart (obsolete as of Q1 2013)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sergio
Top achievements
Rank 1
Sergio asked on 24 May 2011, 06:23 PM
How do I change the Position of a Label that Displays in a Marked Zone? Say if I want it to display at the center marked zone!

I tried TextBlock.Appearance.Position.AlignedPosition but this did not do the trick.

Will appreciate the help
 

2 Answers, 1 is accepted

Sort by
0
Sergio
Top achievements
Rank 1
answered on 24 May 2011, 11:24 PM
The one that controled the position is not the TextBox property of the Marked Zone, rather the position of the label object
so Zone.Label.Apppearance.Position.AlignedPosition

Thought it should have been good to place it here for future references.
0
Evgenia
Telerik team
answered on 27 May 2011, 09:33 AM
Hello Sergio,

You can change the default position of the MarkedZone's label by either choosing from an enum of predefined positions: chartMarkedZone.Label.Appearance.Position.AlignedPosition or by turning off the chartMarkedZone.Label.Appearance.Position.Auto property and providing X and Y coordinates for it. Have in mind that these are physical coordinates and not the coordinates of the PlotArea.

Greetings,
Evgenia
the Telerik team

Q1’11 SP1 of RadControls for WinForms is available for download; also available is the Q2'11 Roadmap for Telerik Windows Forms controls.
Tags
Chart (obsolete as of Q1 2013)
Asked by
Sergio
Top achievements
Rank 1
Answers by
Sergio
Top achievements
Rank 1
Evgenia
Telerik team
Share this question
or