Click here to Skip to main content
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 OriginalGriff 290
1 Jochen Arndt 150
2 Kornfeld Eliyahu Peter 149
3 PIEBALDconsult 110
4 Richard MacCutchan 105
0 OriginalGriff 6,080
1 DamithSL 4,648
2 Maciej Los 4,087
3 Kornfeld Eliyahu Peter 3,624
4 Sergey Alexandrovich Kryukov 3,294


Advertise | Privacy | Mobile
Web03 | 2.8.141220.1 | Last Updated 17 Apr 2012
Copyright © CodeProject, 1999-2014
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