wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes How to draw a chart with multiple y-axises Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to draw a chart with multiple y-axises" Watch "How to draw a chart with multiple y-axises" New topic
Author

How to draw a chart with multiple y-axises

Ray Kumar
Greenhorn

Joined: Jan 22, 2002
Posts: 17
Hi

How to draw a single Chart with multiple y-axis and sharing the same x-aixs, each y-aixs may contain one or more series. I appreciate any example code/samples on this one. I am using JClass from Quest software.

Ex:

20||
Graph 3 ||
10||
||
0|______________________________|
3||
||
Graph 22||
||
1|______________________________|
8||
6||
||
Graph 1 4||
||
2|______________________________|
15101520

X-Axis Title




Thanks in advance!!!
Ray
Ray Kumar
Greenhorn

Joined: Jan 22, 2002
Posts: 17
Above diagram is not displayed correctly, I am trying again.



20| |
Graph 3 | |
10| |
| |
0| |
-------------------------------
3| |
| |
Graph 2 2| |
| |
1| |
-------------------------------
| |
6| |
| |
Graph 1 4| |
| |
2| |
-------------------------------
15101520
X-Axis Title
Ray Kumar
Greenhorn

Joined: Jan 22, 2002
Posts: 17
Ray Kumar
Greenhorn

Joined: Jan 22, 2002
Posts: 17
I am trying to display the graph model again.

Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Ray,

to preserve the formatting of text, use the ubb code tags.


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Ray Kumar
Greenhorn

Joined: Jan 22, 2002
Posts: 17
Thank you for the code example.

I have to plot more than one series in each graph. Any code examples using JClass from sitraka appreciated. I am able to draw multiple series in one graph, but I want to plot multiple graphs with diffent y-axis ranges as show in the graph with the same x-axis.


Thanks in Advance.
Phani
 
Consider Paul's rocket mass heater.
 
subject: How to draw a chart with multiple y-axises
 
Similar Threads
fluctuation
Chart problem .. I would really appreciate some help !!
how to create traffic chart for site
Need help with Linear Equations.
Setting labels for the X & Y axis of a chart