Click here to Skip to main content
11,409,922 members (62,261 online)
Rate this: bad
good
Please Sign up or sign in to vote.
I have datatable with data as follows

x1 x2 x3
y   A   21
Y   B   36
Y   C   11
N   A   23
N   B   21
N   C   11

I would like to create a clustered bar/column graph as follows
- 3 clusters of graphs based on x2 i.e. A, B and C
- Each cluster has 2 bars/columns based on X1 i.e. Y or N
- X3 is the data value

Any ideas are very welcome. I am using C#/ZedGraph with VS 2005

Thanks
Posted 25-May-10 4:48am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

you use split nad use zegraph to plot
demo:http://www.youtube.com/watch?v=-FCat9dyQTM[^]
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 229
1 OriginalGriff 140
2 Maciej Los 138
3 Sascha Lefévre 120
4 BillWoodruff 60
0 Sergey Alexandrovich Kryukov 8,771
1 OriginalGriff 6,905
2 Maciej Los 3,390
3 Abhinav S 3,248
4 Peter Leow 3,059


Advertise | Privacy | Mobile
Web02 | 2.8.150414.5 | Last Updated 17 Apr 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100