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

Position of additional Y axis in radhtmlchart

1 Answer 193 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
William
Top achievements
Rank 1
William asked on 11 Sep 2014, 02:42 PM
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>

1 Answer, 1 is accepted

Sort by
0
Danail Vasilev
Telerik team
answered on 12 Sep 2014, 11:33 AM
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.

 
Tags
Chart (Obsolete)
Asked by
William
Top achievements
Rank 1
Answers by
Danail Vasilev
Telerik team
Share this question
or