About the color of category text.

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Mikio Kishi

About the color of category text.

Post by Mikio Kishi » Tue Oct 15, 2002 5:26 am

Hi all,

Is it possible to change the color of "only specific category text"
using VerticalBarChart ?

For example, if there are Sunday, Monday, Tuesday, Wednesday...strings,
I want to set only "Sunday" red color , and others black.

Sincerely,

Mikio Kishi.

Dave Gilbert

Re: About the color of category text.

Post by Dave Gilbert » Thu Oct 17, 2002 5:19 pm

You would have to modify the code to do this, but it wouldn't be that difficult. Take a look in the draw(...) method for HorizontalCategoryAxis.

Regards,

DG.

Locked