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

Align ChartTitle to the left

2 Answers 78 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Vitalii
Top achievements
Rank 1
Vitalii asked on 25 Jan 2013, 10:50 AM
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 Answers, 1 is accepted

Sort by
0
Petar Kirov
Telerik team
answered on 30 Jan 2013, 09:05 AM
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.
0
Vitalii
Top achievements
Rank 1
answered on 05 Feb 2013, 07:42 AM
Thank you, hope it will help)
Tags
Chart (Obsolete)
Asked by
Vitalii
Top achievements
Rank 1
Answers by
Petar Kirov
Telerik team
Vitalii
Top achievements
Rank 1
Share this question
or