change size of legend text

How can I increase the legend font size programmaticallly. I would like to do it programmatically because it will be put on a pdf.

1 Reply

MK Muneesh Kumar G Syncfusion Team April 30, 2018 05:54 AM UTC

Hi Caleb, 
 
Thanks for using Syncfusion products.  
 
We can achieve your requirement by setting FontSize as per the below code snippet.  
 
Code snippet [C#]: 
 
        public MainWindow() 
       
            InitializeComponent(); 
             
            chartlegend1.FontSize = 24;           
       
 
 
Please refer below user documentation for more details about legend customization.  
 
 
Please let us know if you have any queries.  
 
Thanks, 
Muneesh Kumar G 


Loader.
Up arrow icon