I am using the chart control in Microsoft Visual Basic studio 2010 express.
I have a pie chart that shows the amount of records per name. The chart is connected to a dataset datatable that is populated by a database query. The datatable contains 3 columns; Name, ID, TotalRecords.
On my pie chart I am showing the xValue as name (so that the labels are readable and not ust a ID) and yValue as TotalRecords. Is there anywhere I can store the ID for later use against the series?
The reason I ask is because I would like to use this ID later to populate the parameters of a database query when the use clicks on particular section of the pie chart...