@fkh,
Please take a look at this StackOverflow thread for fetching data from database in ASP Classic. You can convert the fetched data into JSON and use the same to render a chart. Please take a look at this documentation page for information on rendering chart from JSON data.
___________
Indranil Deo
Team CanvasJS