Y-axis label positioning

Thread is closed for posting
2 posts, 0 answers
  1. Kristof
    Kristof avatar
    3 posts
    Member since:
    Apr 2011

    Posted 28 Jul 2011 Link to this post


    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,
  2. Giuseppe
    Giuseppe avatar
    2363 posts

    Posted 02 Aug 2011 Link to this post

    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,
    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.

  3. DevCraft R3 2016 release webinar banner
Back to Top