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

Set Title of AditionalYAxis

1 Answer 12 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
Achinta
Top achievements
Rank 1
Achinta asked on 30 May 2019, 09:17 AM

Hi

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.

 

Thanks.

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 31 May 2019, 09:07 AM
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";


Regards,
Vessy
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
Tags
Chart (HTML5)
Asked by
Achinta
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Share this question
or