Search found 4 matches

by exo
Fri Mar 20, 2009 12:14 am
Forum: JFreeChart
Topic: NoClassDefFoundError when ChartFactory.createXYLineChart
Replies: 8
Views: 11284

Re: NoClassDefFoundError when ChartFactory.createXYLineChart

I just had the same problem when running on Linux. After spending an evening on this, I'd like to share my findings. There are three solutions I found: 1) If you don't need user interaction, e.g. just need to generate an image for a web application, you can run headless. So, set the java system prop...
by exo
Sun Nov 05, 2006 10:01 am
Forum: JFreeChart
Topic: JFreeChart SWT version
Replies: 9
Views: 15341

SWT dependencies

Why not just put swt.jar into libs directory for compilation? I did so. And for runtime, the user will put his SWT into classpath. In Azureus project the build script assumes swt.jar is in libs dir before compilation. It is multiplatform SWT application. This is a portion of the build script: <targe...
by exo
Tue Oct 31, 2006 2:27 am
Forum: JFreeChart
Topic: How to change the color of a single data item shape?
Replies: 1
Views: 2841

How to change the color of a single data item shape?

Hi, I have a standard XY line chart with visible and filled items. What I need is to change the item shape color whenever the user clicks on it. I wrote a mouse listener below and registered it. The code looks like this: ChartPanel panel = new ChartPanel(chart); frame.add(panel); panel.addChartMouse...
by exo
Tue Oct 31, 2006 2:06 am
Forum: JFreeChart
Topic: JFreeChart SWT version
Replies: 9
Views: 15341

Hi, The experimental SWT support is working fine for me too and it looks great I think. Unfortunately it is not part of the experimental JAR by default and one has to change the build script and rebuild the package. What I'd like to see is the support of the ChartPanel methods, because currently the...