highlight selected bar item?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
jiangshachina
Posts: 32
Joined: Fri May 26, 2006 12:56 pm
Location: Beijing, China

highlight selected bar item?

Post by jiangshachina » Fri Nov 06, 2009 7:02 am

Hi,
When I used an old version JFreechart, I could highlight a selected bar chart item with method CategoryPlot.setSelectCategoryIndex(),
now, I'm using JFreeChart 1.0.13, how to achieve the same goal?

Thanks in advance!
a cup of Java, cheers!
Sha Jiang

jiangshachina
Posts: 32
Joined: Fri May 26, 2006 12:56 pm
Location: Beijing, China

Re: highlight selected bar item?

Post by jiangshachina » Tue Dec 01, 2009 1:59 am

I think I made a gread mistake, JFreechart may never provide such feature.
Now, I customize the BarRenderer, and override the drawItem method.

Thanks!
a cup of Java, cheers!
Sha Jiang

Locked