Creating a Chart from MSQL-Database

There is an example of SQL database (not specifically MSSQL) to Dashboard v1 chart here