Search found 13 matches

by Jeffh
Thu Feb 12, 2004 10:28 am
Forum: JFreeChart
Topic: saving Jpeg to a specified location (linux)
Replies: 13
Views: 24824

This probably means one of the parent directories in your path there does not exist... I'm guessing that images dir in /var/tomcat4/webapps/Application1/jsp probably doesn't already exist when you call new File(...). Make sure that all your parent directories exist, or use the mkdirs() method that i...
by Jeffh
Fri Nov 14, 2003 10:40 am
Forum: JFreeChart
Topic: 3DBar colors
Replies: 2
Views: 3509

Thanks for the reply, that worked great.

Jeff
by Jeffh
Thu Nov 13, 2003 4:43 pm
Forum: JFreeChart
Topic: org.jfree.ui.Drawable does not exist
Replies: 3
Views: 4160

it is in jcommon-0.8.8.jar

Jeff
by Jeffh
Thu Nov 13, 2003 11:43 am
Forum: JFreeChart
Topic: 3DBar colors
Replies: 2
Views: 3509

3DBar colors

When i use setSeriesPaint(0, new Color(255,0,0,128) to set the transparency of a color on a BarRenderer3D, it correctly shows the
transparency for the "front" panel of the bar, but the side and top are
still an alpha 1.0. Is this a bug, or are these drawn from a different
value?

Jeff
by Jeffh
Thu Nov 13, 2003 11:04 am
Forum: JFreeChart
Topic: Pie 3D Chart
Replies: 1
Views: 2620

Pieplot plot = (PiePlot) chart.getPlot();

plot.setAlphaForeground(0.5f);

You can modify that number yourself how you want, the lower it
is the more "transparency" you get.

Jeff
by Jeffh
Thu Nov 13, 2003 10:39 am
Forum: JFreeChart
Topic: combined bar charts
Replies: 1
Views: 2906

combined bar charts

I am trying to do a combined bar chart, and I have it so that i can combine the charts together fine, however i want to use the same legend items for each chart, as they all have the same series items. I am basically using the combined charts to add another depth dimension to the range axis. Current...
by Jeffh
Wed Nov 12, 2003 2:04 pm
Forum: JFreeChart
Topic: remove title from chart? titleless chart?
Replies: 3
Views: 6563

I simply send "" (empty string) as the chart title( the first parameter to Create<ChartTypeHere>Chart(...);) null may also work, altho I haven't tried that in 0.9.13 edit: tested null and it seems to remove the title area completely, whereas "" will leave some space at the top where the title should...
by Jeffh
Thu Nov 06, 2003 8:03 am
Forum: JFreeChart
Topic: newbe: how to diplay date and time on a time chart
Replies: 1
Views: 2831

Try this, it worked for me. By default i believe the chart narrows down the displayed to to the most relevant, ie if all your date/times are the same day, it will only display hours, minutes, etc... XYPlot plot = chart.getXYPlot(); DateAxis dateAxis = (DateAxis) plot.getDomainAxis(); axis.setDateFor...
by Jeffh
Mon Oct 20, 2003 9:28 am
Forum: JFreeChart
Topic: NoSuchMethod getInstance in License error
Replies: 2
Views: 3837

Edit: Nevermind, I figured it out.

Thanks,

Jeff
by Jeffh
Fri Oct 17, 2003 12:04 pm
Forum: JFreeChart
Topic: Range axis label problem
Replies: 4
Views: 5660

Well it turns out that i was right the first time. There is a known bug in the SGI hotspot virtual machince which does not allow text to be rotated with an AffineTranform, or at all for that matter. I'm going to go ahead and change it to print the text one character at a time vertically, ie like thi...
by Jeffh
Fri Oct 17, 2003 12:00 pm
Forum: JFreeChart
Topic: NoSuchMethod getInstance in License error
Replies: 2
Views: 3837

NoSuchMethod getInstance in License error

I have changed from 0.9.8 to 0.9.13 but whenever i try to create a chart it gives me the following error: java.lang.NoSuchMethodError: org.jfree.ui.about.Licenses.getInstance()L/org/jfree/ui/about/Licenses; I have jcommon0.8.8 installed and in my classpath, and it contains this method. I'd appreciat...
by Jeffh
Thu Oct 09, 2003 12:08 pm
Forum: JFreeChart
Topic: Range axis label problem
Replies: 4
Views: 5660

Thanks a ton, will try that out.


Jeff
by Jeffh
Thu Oct 09, 2003 9:56 am
Forum: JFreeChart
Topic: Range axis label problem
Replies: 4
Views: 5660

Range axis label problem

Hi all, great package btw. I am developing on a linux box, but our final application will run on an SGI. When i save a chart as a JPG, on Linux, the Range label shows up correctly displayed vertically. However, when I run the save code on an SGI, the range label is displayed horizontally in a slight...