XY zoom with DefaultCategoryDataset

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
manutudescends
Posts: 7
Joined: Mon Dec 18, 2006 7:14 pm

XY zoom with DefaultCategoryDataset

Post by manutudescends » Tue Dec 19, 2006 9:45 am

Hi,
I'm trying to display only 2 categories into my BarChart, but i don't know what DataSet i can use.

for example I need to zoom into this Chart:
Image

to make this.
Image
Thanks.

Flow2k
Posts: 6
Joined: Tue Dec 19, 2006 1:29 pm

Post by Flow2k » Tue Dec 19, 2006 2:22 pm

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

manutudescends
Posts: 7
Joined: Mon Dec 18, 2006 7:14 pm

Post by manutudescends » Wed Dec 20, 2006 10:19 am

thank you. I'll try this.

Locked