How can I make the TITLE SIZE FIXED !?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
jumister
Posts: 3
Joined: Wed Mar 29, 2006 2:30 pm

How can I make the TITLE SIZE FIXED !?

Post by jumister » Wed Mar 29, 2006 2:40 pm

I am have a XYLINECHART and i wanna to make the size of the title fixed.

FOr example i create the same graph 3 maybe 4 times, but everytime with a diferent size, and i would like that the title size remains with the same value for all the graphs.


Thanks, and sorry for the english.

sachinkt
Posts: 5
Joined: Thu Apr 06, 2006 1:31 pm

Post by sachinkt » Thu Apr 06, 2006 1:36 pm

try this


TextTitle eventTitle = new TextTitle("", new Font("Arial", Font.BOLD, 13));
eventTitle.setPosition(RectangleEdge.TOP);
chart.setTitle(eventTitle);

jumister
Posts: 3
Joined: Wed Mar 29, 2006 2:30 pm

Thx

Post by jumister » Mon Apr 24, 2006 2:44 pm

Thanks for all!

Locked