Search found 6 matches

by Flow2k
Fri Dec 29, 2006 8:55 am
Forum: JFreeChart
Topic: Mapping Dataset to domain Axis
Replies: 0
Views: 1731

Mapping Dataset to domain Axis

Hi Guys, I'm currently facing the problem that I've got 3 Renderers with 3 different datasets and 2 Rangeaxis. When all of the datasets have the same categories, everything is working fine. But sometimes, for one dataset, some categories are missing (because no data) Is it possible to "map" the data...
by Flow2k
Thu Dec 28, 2006 3:36 pm
Forum: JFreeChart
Topic: Removing Categories from DefaultBoxAndWhiskerCategoryDataset
Replies: 1
Views: 2851

I solved this by implementing a removeCategory() - function in the DefaultBoxAndWhiskerCategoryDataset - Class

Code: Select all

 public void removeCategory(String cat){
    	this.data.removeColumn(cat);
    	this.fireDatasetChanged();
    }
KR
Florian
by Flow2k
Thu Dec 28, 2006 3:31 pm
Forum: JFreeChart
Topic: How to zoom in along categoty axis orientation (X-AXIS)?
Replies: 5
Views: 7874

Remove Categories

Hi,

maybe you could just remove the Categories you don't want to display.
And to "unzoom" just add them again

I used this method in one of my apps - and (imho) it's quite satisfying


KR
Florian
by Flow2k
Tue Dec 19, 2006 2:22 pm
Forum: JFreeChart
Topic: XY zoom with DefaultCategoryDataset
Replies: 2
Views: 4005

Hi,

I don't know if zooming is possible, but you could just remove the "unneeded" Categories from your dataset using the removeColumn() function..

KR
Florian
by Flow2k
Tue Dec 19, 2006 2:18 pm
Forum: JFreeChart
Topic: scrollbar
Replies: 6
Views: 12572

Hi,

have you tried puttin' the ChartPanel into a JScrollPane?

Code: Select all

...
JScrollPane scroll=new JScrollPane(chartPanel)
...
I haven't tried this yet, but I think this should work

KR
Florian
by Flow2k
Tue Dec 19, 2006 1:31 pm
Forum: JFreeChart
Topic: Removing Categories from DefaultBoxAndWhiskerCategoryDataset
Replies: 1
Views: 2851

Removing Categories from DefaultBoxAndWhiskerCategoryDataset

Hi all,

is there any way to remove a Column from a DefaultBoxAndWhiskerCategoryDataset?
I'm thinking of sth like the removeColumn() function of the DefaultCategoryDataset..

Thanks in advance
KR
Florian