Marked Zone Label Position

3 posts, 0 answers
  1. Sergio
    Sergio avatar
    30 posts
    Member since:
    Jul 2010

    Posted 24 May 2011 Link to this post

    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. Sergio
    Sergio avatar
    30 posts
    Member since:
    Jul 2010

    Posted 24 May 2011 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Evgenia
    Admin
    Evgenia avatar
    1407 posts

    Posted 27 May 2011 Link to this post

    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.
Back to Top