Change label In Chart

2 posts, 0 answers
  1. Leo
    Leo avatar
    15 posts
    Member since:
    Apr 2011

    Posted 18 Dec 2017 Link to this post

    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.




  2. Dilyan Traykov
    Dilyan Traykov avatar
    815 posts

    Posted 19 Dec 2017 Link to this post

    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.

    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.
Back to Top