Set Title of AditionalYAxis

2 posts, 0 answers
  1. Achinta
    Achinta avatar
    1 posts
    Member since:
    Mar 2018

    Posted 30 May 2019 Link to this post


    I am using RadHtmlChart with Line series which contains YAxes and AdditionalYAxes.

    I want to change the title of AdditionalYAxes in C# Code Behind.


    Pls share some sample code.



  2. Vessy
    Vessy avatar
    2071 posts

    Posted 31 May 2019 Link to this post

    Hi Achinta,

    You can access the additional Axes of the chart by index on the server-side and change its title in a similar way:
    RadHtmlChart1.PlotArea.AdditionalYAxes[0].TitleAppearance.Text = "Some new title";
    RadHtmlChart1.PlotArea.AdditionalYAxes[1].TitleAppearance.Text = "Another new title";

    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top