Vertical axis ticks and multi-chart alignment

Discussion about JFreeChart related to stockmarket charts.
Locked
Guest

Vertical axis ticks and multi-chart alignment

Post by Guest » Mon Sep 20, 2004 4:35 am

2 questions:

1) For an XY chart, can I specify that the vertical axis is at intervals of, say, 0.1 and does not deviate from that, e.g. not 0.05? I do know how to create, say, an integer axis.

2) I have 3 charts in 3 separate panels, each above the other. The timescales should be identical and thus aligned identically. But due to the vertical axes scaling/rounding, on the left and or right sides, the actual chart areas are offset somewhat from true vertical alignment. I envisage a partial solution to this by using JSplitPanes and manually adjusting each one so that the actual chart areas themselves align vertically. Wondering whether there is any better way to do this? Perhaps I can offset the left and right chart areas by a fixed amount, and let the legends occupy the margins both left and right? Then the 3 charts would be perfectly aligned vertically.

TIA

bfry5282
Posts: 10
Joined: Thu Sep 02, 2004 2:45 am
Location: Durham, NC USA
Contact:

Post by bfry5282 » Mon Sep 20, 2004 4:45 am

Here's what I mean, where each chart should be vertically aligned, but is not due to axis labels, etc.
Image

Locked