can you also use ADO to link a database to a bar chart?

if so, what code is it/change?

thanks