Click here to Skip to main content
15,894,337 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I am using Zgraph in which i want to create different graph in a single pane without changing the axis
for eg the X and Y axis ll be same but if i add line chart it appear also if i add candle stick chart it should appear below line chart so that only the y axis will be change according to data .

I am using the code
GraphPane mypane = zc.GraphPane;
LineItem MyCurve = mypane.AddCurve("Sine Wave", pt1, Color.Red,SymbolType.Triangle);
BarItem Mybar = mypane.AddBar("Bar", pt1, Color.Plum); 

But in this way it is overlapping.
please help me and send me the code if any one have.


Thanks in Advance


Nand
Posted
Updated 31-Jul-11 20:58pm
v4
Comments
Amund Gjersøe 1-Aug-11 3:12am    
ZedGraph: have your searched the project's forum? I've used ZedGrapg a bit, but I don't understand what you want to do. I think you perhaps should use 'y2axis', but try once more to write your first paragraph. It just one long sentence.

1 solution

Check out the code project article about ZedGraph : A flexible charting library for .NET[^]

It says you can use MasterPane to add several panes.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900