font color and underline for Legend's text

Thread is closed for posting
2 posts, 0 answers
  1. Taraman
    Taraman avatar
    17 posts
    Member since:
    Aug 2010

    Posted 20 Aug 2011 Link to this post

    I need to assign a font color and underline for legend's Text in pie chart

    Mohamed Taraman
  2. Evgenia
    Evgenia avatar
    1437 posts

    Posted 24 Aug 2011 Link to this post

    Hello Taraman,

    You can achieve this through our API or by applying the wanted values to the appropriate properties of the Legend through the Properties window by right-clicking on the Chart in Design View (as shown in the picture attached).
    Meanwhile here is the sample code that you need:

    <telerik:RadChart ID="MilestoneChart" AutoLayout="true" 
                <Appearance TextProperties-Color="BlueViolet" TextProperties-Font="Verdana, 8.25pt, style=Underline">

    Kind regards,
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Back to Top