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

RadChart PieChart - Alignment

1 Answer 109 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Thaya
Top achievements
Rank 1
Thaya asked on 05 Mar 2009, 12:44 PM
Hi!

I have a question!
How can I align a Pie Chart to left?
Using blow source code, but doent help!
chart.Appearance.Position.AlignedPosition = AlignedPositions.Left;
(Tryed right, top, bottom, etc. but pie chart doent move)
Pie chart always display at the center!

Pls help me soon!

/Thaya

1 Answer, 1 is accepted

Sort by
0
Velin
Telerik team
answered on 07 Mar 2009, 03:33 PM
Hello Thaya,

Here are two options you should try.

  1. You could move the entire plot area and the ChartSeries inside to the left by setting the Margins.Right  property of the PlotArea to a given value. Here is how you can do this by code:
    chart.PlotArea.Appearance.Dimensions.Margins.Right = Telerik.Charting.Styles.Unit.Pixel(100); 
  2. You could move the ChartSeries position to the left leaving the PlotArea position intact. Following is a sample code:
    series.Appearance.CenterXOffset = -100; 

Hope this will help.

All the best,
Velin
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Chart (Obsolete)
Asked by
Thaya
Top achievements
Rank 1
Answers by
Velin
Telerik team
Share this question
or