1. threading problem jfree.orgHi, I currently have an application which generates several cluster load charts (1 for each cluster). So I thought of generating each of these charts in seperate threads: 1 thread per chart, taking care of keeping the threads independant (data wise). Each thread works independantly; creates a dataset, puts the data in it and then draws the chart. I have a ... |
2. Creating Chart and Threading jfree.orgMy createChart class creates faster than processing queries (due to large database, query takes some time to return the processed result to createChart class) thus i get nullpointerexception most of the time... Any help on this? How do i implement threading in this case? Any sample on applying threading to create chart (not sample on threading pls... i got tonnes..)? |
3. Exception in thread "Thread-4" jfree.orgHi, I create new project, import every jar from old project and this code is work , but no work this code JFreeChart chart = ChartFactory.createBarChart( VERTIKAL, // chart title "Item", // domain axis label "Value", // range axis label dataset, // data PlotOrientation.VERTICAL, true, // include legend true, false ); // NOW DO SOME OPTIONAL CUSTOMISATION OF THE CHART... // ... |
4. thread "main" NoClassDefFoundError jfree.orgI have added jcommon and jfreechat into my classpath. I can compile java file, but I can't run it. Please help me. my .bashrc file is: # .bashrc # User specific aliases and functions # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi export ANT_HOME=/home/software/apache-ant-1.6.5 export PATH=/home/software/j2sdk1.4.2_10/bin:$ANT_HOME/bin:$PATH export AXIS_HOME=/home/software/axis-1_3/lib export AXIS_LIB=$AXIS_HOME/axis-ant.jar:$AXIS_HOME/axis.jar:$AXIS_HOME/axis-schema.jar:$AXIS_HOME/commons-discovery-0.2.jar:$AXIS_HOME/commons-logging-1.0.4.jar:$AXIS_HOME/jaxrpc.jar:$AXIS_HOME/log4j-1.2.8.jar:$AXIS_HOME/saaj.jar:$AXIS_HOME/wsdl4j-1.5.1.jar export CLASSPATH=$AXIS_LIB:/home/software/axis-1_3/lib/activation.jar:/home/software/axis-1_3/lib/mailapi.jar:. export GLOBUS_LOCATION=$HOME/ws-core-4.0.1/ export JFREECHART_HOME=/home/users/selv/jfreechart-1.0.1/lib ... |
5. Background thread for drawing a chart jfree.orgBackground thread for drawing a chart by caa Sun Jul 02, 2006 2:59 am I wrote a little proxy around the JFreeChart.draw method. It kicks off the drawing onto a seperate thread. It seems to work pretty good, I'd like to hear what other people out there think of it. I had originally done this by making my own version ... |
6. Note that JFreeChart does not yet use thread synchronisation jfree.orgHello, I have a problem with synchronization. I have a JFreeChart on a ChartPanel which displays values comming from a seperate thread. I also implemented Drag and Drop support to make it possible to add a curve at runtime. So I drop the curvename on the panel and most of the time the curve is added and everthings fine. Sometimes the ... |
8. Loading data in a thread jfree.org |
9. JFreechart and thread safety jfree.orgJFreechart and thread safety by arwelbath Fri Mar 07, 2008 4:15 pm Hi, I have a chart which gets updated periodically. Occasionally, these updates can happen very quickly (i.e. some values can be changed using a JSlider which can result in some very fast updates). When this happens, I periodically get the folowing... Code: Select all Exception in thread "AWT-EventQueue-0" ... |
10. problem displaying dynamic chart (and thread??).. jfree.orgproblem displaying dynamic chart (and thread??).. by q25 Sun Mar 30, 2008 2:46 am I am experimenting with JFreeChart to create charting program that plots a line chart, by feeding it an xy data point (item) one at a time (to simulate dynamic chart drawing). I generate a set of random XYDataItem objects, and pass it one-by-one to the method ... |
11. MultiThreading support jfree.org |
12. Multithreading support for JFreeChart jfree.orgHi Thanks for your reply.As you r saying JFree chart is not thread safe. But my out put is in the form of images(PNG and JPG) And i hav created one thread Application where 3 threads parellaly calling three diff types of charts, 200 times and it is working so is thr any threading issue with image as output waiting for ... |
13. Updating / redrawing a chart from within a Thread - how? jfree.orgHello I'm trying to add some random data to series (XYseries) and update a chart every desired amount of time from within a thread. Here is my code: Code: Select all Runnable plotUpdater = new Runnable() { public void run() { for (int i = 0; i < 100; i++) { ... |
14. Multithreading jfree.orgIt's been a while since I have done threading in Java and my memory might need refreshing. I have several charts that I add to one panel. I create each chart in a separate thread, but I have found that my CPU peaks at 50% (dual-core machine). I think I remember that there is only one Swing thread. I also remember ... |
15. Dial chart with thread jfree.org |