Position of additional Y axis in radhtmlchart

Thread is closed for posting
2 posts, 0 answers
  1. William
    William avatar
    1 posts
    Member since:
    Apr 2013

    Posted 11 Sep 2014 Link to this post

    I've created a radhtmlchart with an additional Y axis.  The problem is that the axis is displayed left of the original y axis.  I want this additional y axis displayed on the right side of the chart.  Code below.
    <telerik:RadHtmlChart ID="RadHtmlChart1" runat="server">
         <ChartTitle Text="Rows Purged by Date"></ChartTitle>
         <PlotArea>
             <Series>
                 <telerik:ColumnSeries DataFieldY="PurgeRowCnt">
                     <TooltipsAppearance Color="White"></TooltipsAppearance>
                 </telerik:ColumnSeries>
                 <telerik:ColumnSeries AxisName="yAxis_Time" Name="E-Time" DataFieldY="PurgeElapsedTime">
                     <TooltipsAppearance Color="Tomato"></TooltipsAppearance>
                     <Appearance FillStyle-BackgroundColor="PowderBlue"></Appearance>
                 </telerik:ColumnSeries>
             </Series>
             <XAxis DataLabelsField="PurgeDateDisplay">
                 <TitleAppearance Text="Purge Date"></TitleAppearance>
             </XAxis>
             <YAxis>
                 <TitleAppearance Text="Purge Row Count"></TitleAppearance>
             </YAxis>
             <AdditionalYAxes>
                 <telerik:AxisY Name="yAxis_Time" Color="SlateBlue"></telerik:AxisY>
             </AdditionalYAxes>
         </PlotArea>
    </telerik:RadHtmlChart>
  2. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1494 posts

    Posted 12 Sep 2014 Link to this post

    Hi William,

    As of Q1 2014, you can use the x-axis' AxisCrossingPoints tag to rearrange the position of the main and the additional Y-axes of the chart. More details are available in the Multiple Y-axes help article.

    Regards,
    Danail Vasilev
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top