2 Charts , 1 chart with multiple axis

3 posts, 0 answers
  1. Laurent Gautier
    Laurent Gautier avatar
    1 posts
    Member since:
    May 2010

    Posted 15 Nov 2010 Link to this post


    I have two  charts in my project. The first one have multiple Y axis and the X axis has Date Values.
    The second chart has the same period dates on X axis.
    Because of additional Axis on the first chart, the X axis length on the two charts are different. Is it possible to have the same length for X axis on second chart (top of the page).
    I hope I am clear enough.
    Thank you for your help.

  2. Folvort
    Folvort avatar
    7 posts
    Member since:
    Jun 2010

    Posted 17 Nov 2010 Link to this post


    I have similar problem.
    Will any answer?
  3. Yavor
    Yavor avatar
    11 posts

    Posted 18 Nov 2010 Link to this post

    Hello Folvort,

    Indeed, when a second Y axis is used, the X-Axis will be shorter, in order to accommodate the additional Axis. In this case, you can add a padding to the chart area of the chart without an additional YAxis. This may look something like this:

    <telerikChart:RadChart VerticalAlignment="Top" Grid.Row="1">
    <telerikCharting:ChartTitle Content="Year 2009" HorizontalAlignment="Center"/>
    <telerikCharting:ChartArea Padding="0, 0, 70, 0" >

    The resuly is demonstrated in the screenshot attached to this message - both X-axes have similar width.
    I hope this information helps.

    Best wishes,
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
Back to Top