Search found 7 matches
- Thu Sep 08, 2005 11:13 am
- Forum: JFreeChart
- Topic: Rangeaxis: Ticks not displayed...
- Replies: 9
- Views: 9024
- Sat Sep 03, 2005 9:58 pm
- Forum: JFreeChart
- Topic: Wrapping of LegendItem Text
- Replies: 3
- Views: 4390
There doesn't seem to be a way for the legend to wrap text based on maximum width. However I found that you can put a '\n' character within the label to make the label split onto a new line. e.g if you have legend label "Cumulative Budget (Current Authorised)" if you insert '\n' character "Cumulativ...
- Sat Sep 03, 2005 9:32 pm
- Forum: JFreeChart
- Topic: iText file size increase when using JFreeChart JDK 1.3.1_09
- Replies: 1
- Views: 2194
iText file size increase when using JFreeChart JDK 1.3.1_09
Thought I'd just post the solution to a problem which I've spent ages investigating, so it might help others. I've written an application which uses iText and JFreeChart to generate reports via the web browser. I had developed the application locally on my machine running Java SDK 1.4 and was impres...
- Sat Sep 03, 2005 9:08 pm
- Forum: JFreeChart
- Topic: Run JFreeChart in a Web Server
- Replies: 2
- Views: 2207
I don't see why you can't use awt in the web server, if you use a BufferedImage, then you can encode as JPEG/ PNG and put on the response output stream. If your using Unix/Linux then you'll need set the headless parameter i.e for tomcat set the property via :- export CATALINA_OPTS="-Djava.awt.headle...
- Fri Aug 12, 2005 8:59 am
- Forum: JFreeChart
- Topic: Can't connect to X11 window server
- Replies: 2
- Views: 3459
Can't connect to X11 window server
Looks like you need to use CeWolf which is based on JFreechart but can create charts for JSP.
- Fri Aug 12, 2005 8:25 am
- Forum: JFreeChart
- Topic: Saving JFreeChart object in a png format
- Replies: 1
- Views: 2349
Saving JFreeChart object in a png format
You can use the following method from the ChartUtilities class.
[/code]
Code: Select all
public static void writeChartAsPNG(OutputStream out,
JFreeChart chart,
int width,
int height)
- Fri Jul 29, 2005 11:36 am
- Forum: JFreeChart
- Topic: Wrapping of LegendItem Text
- Replies: 3
- Views: 4390
Wrapping of LegendItem Text
Hi, I have a LegendTitle with a number of categories which have long descriptions (Which are required). It is possible to reduce the width of the Legend title and wrap the corresponding LegendItem text? I've tried to set the size of the LegendTitle by using the setWidth method however it doesn't see...