Only draw range axis?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Augusto
Posts: 12
Joined: Wed Jan 21, 2004 9:02 pm

Only draw range axis?

Post by Augusto » Wed Apr 04, 2007 7:16 pm

This is going to sound weird, but I need a way to only draw the range axis on a plot. I've tried many ways, but whatever I do, there's always a blank data area (even if all renderers are turned off) showing in the middle.

Anybody have any hints as to what can be done?

I'm basically doing this (in case somebody is just wondering what's going on):

I have 2 chart panels, they are contained in a splitpane. The chart I'm showing has a lot of data and there's a different set of tick marks per variable, so that results in the range axis being large. The option I'm trying to enable is to resize the range axis area via the splitpane.

Thanks!

Augusto
Posts: 12
Joined: Wed Jan 21, 2004 9:02 pm

Post by Augusto » Wed Apr 04, 2007 8:09 pm

A user called "skunk" had replied if I tried dAxis.setVisible(false);

I just did, but it didn't work either :-(

(BTW - no idea why his reply disappeared)

skunk
Posts: 1087
Joined: Thu Jun 02, 2005 10:14 pm
Location: Brisbane, Australia

Post by skunk » Thu Apr 05, 2007 2:25 pm

I reread your initial post after my post and realized it wouldn't work :D

Locked