|
-
Mar 26th, 2010, 11:11 AM
#1
Thread Starter
Lively Member
MSChart from DataGrid or Access
Hello
I have a datagrid on my form which displays a data table from a DataSet (extracted from an Access DB) when the user selects an option from a combo box on the form. I would like this same data to be displayed in an MSChart on the same page but I dont know how to link the chart to the DataSet.
To populate the datagrid i have used the following code:
[DataGridView1.DataSource = K0201227ProjectDataSet.tblCardiff]
i tried various things to populate the MSChart with this same data but no luck. I guess I have to specify what data from the DataSet I want to display in the Chart but I dont know how to do this at run time(??)
Please help!
Thank you 
Amy
-
Mar 27th, 2010, 07:33 PM
#2
Addicted Member
Re: MSChart from DataGrid or Access
Hi Yummy Piglet,
Before I share my information with you I need to know what data you want to display on the MSCHART.
Cheers,
Lennie
-
Mar 28th, 2010, 10:54 AM
#3
Thread Starter
Lively Member
Re: MSChart from DataGrid or Access
Hey Lennie
Thanks for responding! I have a table with two columns, 'date&time' and 'averagevalue'. I would like the 'date&time' column as the X axis along the bottom and the 'averagevalue' (integer values) as the y axis. Let me know if you need more info..
Thank you!
Amy
-
Apr 9th, 2010, 07:44 AM
#4
Thread Starter
Lively Member
Re: MSChart from DataGrid or Access
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|