Hi Roy,
Check out this example for how to create a dynamic chart with data from a table. Good luck!
Cheers, Ben