Align ChartTitle to the left

Thread is closed for posting
3 posts, 0 answers
  1. Vitalii
    Vitalii avatar
    9 posts
    Member since:
    Jan 2013

    Posted 25 Jan 2013 Link to this post

    Hello Telerik, I am trying to align title position by this example.
    Here is my chart.

    And code
    <ChartTitle>
        <
    Appearance Dimensions-Margins="4%; 10px; 14px; 8%" Position-AlignedPosition="TopLeft">
        </
    Appearance>
       
    <TextBlock Text="">
            <
    Appearance TextProperties-Font="Arial, 18px" TextProperties-Color="#000000">
            </
    Appearance>
        </
    TextBlock>
    </
    ChartTitle>

    And I tried like this:

    <Appearance Dimensions-Margins="0px; 0px; 0px; 0px"  Position-AlignedPosition="TopLeft">
    </Appearance>

    Does not work ether. What can it be?

    When I delete appearence and textblock I have next image.

    How can I align char title to the left?
  2. Petar Kirov
    Admin
    Petar Kirov avatar
    425 posts

    Posted 30 Jan 2013 Link to this post

    Hi Vitalii,

    In order to be able to manually change the chart elements position, you must first set Position.Auto = false. This should now work as you expect: 
    <ChartTitle>
        <Appearance Position-Auto="false" Position-AlignedPosition="TopLeft">
        </Appearance>
        <TextBlock Text="">
            <Appearance TextProperties-Font="Arial, 18px"
                    TextProperties-Color="#000000">
            </Appearance>
        </TextBlock>
    </ChartTitle>

    I hope this helps.
     

    Regards,
    Petar Kirov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Vitalii
    Vitalii avatar
    9 posts
    Member since:
    Jan 2013

    Posted 05 Feb 2013 Link to this post

    Thank you, hope it will help)
Back to Top