Align 2 charts vertically?

3 posts, 0 answers
  1. Deamon
    Deamon avatar
    8 posts
    Member since:
    Nov 2012

    Posted 15 Nov 2012 Link to this post

    I have 2 lineseries charts, one under another.  The horizonal axes labels come from the same data set, however the vertical axes for both vary.

    Since the labels for the vertical axes are different, the 0 points for each chart are not aligned.  I haven't been able to figure out how to get these to line up.  What am I missing?

    I am trying to accomplish something like that is in the demo for ChartView -> Chart Types -> Stock Series \ Indicators except that I want the vertical axes on the right hand side.

    Attached is a screen shot of the 2 graph unaligned.
  2. Deamon
    Deamon avatar
    8 posts
    Member since:
    Nov 2012

    Posted 15 Nov 2012 Link to this post

    This works for me if the the labels for the vertical axes don't change in width...

    axVertical2.View.Margin = new Padding(8, 0, 0, 0);

    George
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Boryana
    Admin
    Boryana avatar
    330 posts

    Posted 20 Nov 2012 Link to this post

    Hello George,

    Thank you for contacting us.

    Currently, there is no built-in mechanism that will allow aligning the vertical axes of two charts. I have logged it as a feature request to our Public Issue Tracker under ID 13502. To vote for it and subscribe for its status updates follow this link: http://www.telerik.com/support/pits.aspx#/public/winforms/13502. We will do our best to introduce this feature in a future release.

    Your Telerik points have been updated for this request.

    Regards,
    Boryana
    the Telerik team
    Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
Back to Top