Got a chart control i wanna make from a data table.
the table looks like this:
alt text http://www.freeimagehosting.net/uploads/5d02ce1558.png
the chart i want will look like this:
'''
''''
''''' '' '
''''' '' '
ECCTMP ECCTMP ECCTMP
Monday Tuesday Wednesday
hope this makes sense for each day its grouped b y the type (email, calls).
I'm just now sure how to databind it?
Billy
If you're looking to group series in a bar chart then you'll need to use the Chart.DataBindTable method (MSDN).
Just add the following code:
This will produce a chart that looks something like the following:
Here's some dummy code to use as a test:
It is also possible to have the labels appear as you describe with ECCTMP but adding a legend will probably look cleaner.