RadHtmlChart 2nd axis dock to right side?

Thread is closed for posting
2 posts, 0 answers
  1. Doug
    Doug avatar
    104 posts
    Member since:
    Aug 2014

    Posted 14 Jan 2015 Link to this post

    I used this code to add a 2nd y axis
    Dim axis As Telerik.Web.UI.AxisY = New Telerik.Web.UI.AxisY
    axis.Name = "AdditionalAxis"

    and when creating series I can tell a series to bond to the 2nd additional axis with
    oSeries.AxisName = "AdditionalAxis"

    but my 2nd axis is on the left side - how do I tell it (with API) to dock to the right side of the chart?
    I see it in the example here but don't see how it is done.
  2. Danail Vasilev
    Danail Vasilev avatar
    1502 posts

    Posted 16 Jan 2015 Link to this post

    Hi Doug,

    You must configure the x-axis crossing points collection, which indicate the point through which all of the y-axes cross the x-axis. For example:

            <telerik:AxisCrossingPoint Value="0" />
            <telerik:AxisCrossingPoint Value="4" />
        <LabelsAppearance DataFormatString="Quarter {0}" />
            <telerik:AxisItem LabelText="1" />
            <telerik:AxisItem LabelText="2" />
            <telerik:AxisItem LabelText="3" />
            <telerik:AxisItem LabelText="4" />

    Danail Vasilev

    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.

Back to Top