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

Change label In Chart

1 Answer 66 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Leo
Top achievements
Rank 1
Leo asked on 18 Dec 2017, 02:22 PM

Dear Telerik Team,

I have problem how to change label and get list of legend in chart WPF. For detail Question please see the attached file.

 

Tq.

 

1 Answer, 1 is accepted

Sort by
0
Dilyan Traykov
Telerik team
answered on 19 Dec 2017, 04:14 PM
Hello Leo,

I will address your queries with respect to the numbers provided in the image you've attached:

1. Changing the color of the axis labels and lines has been demonstrated in this forum thread.
2. As for changing the label's color, you can use the DefaultVisualStyle property of the LabelDefinition.
3. If you've added the legend items through the LegendSettings properties of the individual series, they will be added and can be accessed through the LegendItems property of the RadCartesianChart. If you want, you can also manually populate the RadLegend control with your collection of legend items.

I hope you find all of this helpful. If any further questions or concerns arise, do not hesitate to contact me again.

Regards,
Dilyan Traykov
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
ChartView
Asked by
Leo
Top achievements
Rank 1
Answers by
Dilyan Traykov
Telerik team
Share this question
or