Home › Forums › Chart Support › Dynamic chart from SQL Server in MVC › Reply To: Dynamic chart from SQL Server in MVC
@arqu07,
You can fetch the latest row in database, parse it and add it to chart-dataPoints. Please refer the following links for more information on retrieving latest row from database.
http://stackoverflow.com/questions/22323682/how-to-get-the-latest-row-in-a-table-using-entity-framework-considering-perform http://stackoverflow.com/questions/18528736/how-to-retrieve-values-from-the-last-row-in-a-datatable http://dba.stackexchange.com/questions/69358/retrieve-recently-inserted-5-rows
— Vishwas R