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

Y-axis label positioning

1 Answer 68 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Kristof
Top achievements
Rank 1
Kristof asked on 28 Jul 2011, 12:15 PM
Hello

I'm trying to apply some custom positioning on the Y-Axislabel. This is working fine using the following code:  (left situation) in screenshot)

BaseChart.PlotArea.YAxis.AxisLabel.Visible = true;
BaseChart.PlotArea.YAxis.AxisLabel.Appearance.RotationAngle = 360;
BaseChart.PlotArea.YAxis.AxisLabel.Appearance.Position.Auto = false;
BaseChart.PlotArea.YAxis.AxisLabel.Appearance.Position.AlignedPosition = Telerik.Charting.Styles.AlignedPositions.None;
BaseChart.PlotArea.YAxis.AxisLabel.Appearance.Position.X = 20;
BaseChart.PlotArea.YAxis.AxisLabel.Appearance.Position.Y = -30;

But once I try to call GetBitmap() or the RenderControl() method on the chart the label position is lost. (right situation in screenshot)

Kind Regards,
Kristof

1 Answer, 1 is accepted

Sort by
0
Giuseppe
Telerik team
answered on 02 Aug 2011, 05:22 PM
Hi Kristof,

Could you elaborate a bit more on your scenario as we were unable to reproduce the problem in our local tests? We have attached our test application as well as the exported image for you to review (you would most probably need to modify the image output folder if you would like to run the app locally).

Looking forward to your reply.


Best wishes,
Giuseppe
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Chart (Obsolete)
Asked by
Kristof
Top achievements
Rank 1
Answers by
Giuseppe
Telerik team
Share this question
or