Populate chart control with SQL data

Can anyone please share a simple, but complete example of how to populate a chart control with SQL. Not through the wizzard, but in code. 


1 Reply

YP Yuvaraj Palanisamy Syncfusion Team February 3, 2022 12:50 PM UTC

Hi Pierre, 
 
We have prepared a chart sample for your requirement to populate chart control from getting data in SQL database. Also, we have attached the database script file for your reference. Please find the sample from the below link. 
 
   
Please find the database script file from the below link  
 
   
Output 
   
 
Regards,  
Yuvaraj. 


Loader.
Up arrow icon