Search found 24 matches

by annac
Fri Nov 02, 2007 11:04 pm
Forum: JFreeChart
Topic: dynamic timeseries chart - display day, week, month, etc.
Replies: 0
Views: 2813

dynamic timeseries chart - display day, week, month, etc.

Hi, I am using JFreeChart to display a dynamic TimeSeries chart in an applet. I want the user to be able to choose a time window for the data displayed. ie. Show the last Hour, Day, Month, or Year As data gets dynamically added I want to push any old data off the axis (at this point I don't know whe...
by annac
Tue Oct 30, 2007 4:42 pm
Forum: JFreeChart
Topic: How to render a line with dots having customizable width?
Replies: 1
Views: 4872

have you looked at the XYLineAndShapeRenderer? it has setShapesVisible(boolean) and setLinesVisible(boolean) methods.
by annac
Fri Oct 26, 2007 5:52 pm
Forum: JFreeChart
Topic: data not showing in timeseries chart
Replies: 4
Views: 7258

my fault. I didn't realize that the month index started at 0
by annac
Thu Oct 25, 2007 8:00 pm
Forum: JFreeChart
Topic: data not showing in timeseries chart
Replies: 4
Views: 7258

correction, Calendar is working for time periods larger than two weeks (approx?)... not sure why data disappears if time period is smaller than this...
by annac
Thu Oct 25, 2007 7:26 pm
Forum: JFreeChart
Topic: data not showing in timeseries chart
Replies: 4
Views: 7258

yes I did. I also tried getting double values for the dates and using the setUpper/LowerBound methods. neither worked.

using Calendar instead of Date appears to be working though.

thanks for your suggestions!
by annac
Thu Oct 25, 2007 4:58 pm
Forum: JFreeChart
Topic: data not showing in timeseries chart
Replies: 4
Views: 7258

data not showing in timeseries chart

hi, I have a chart in an applet which is obtaining data from our database. I am querying a time period of 7 days, 5 of which have data. If I let the chart auto range the data then it plots the 5 days along the x axis and the chart looks normal. However, if I specifically set the maximum and minimum ...
by annac
Wed Oct 24, 2007 10:53 pm
Forum: JFreeChart
Topic: java.io.InvalidClassException: org.jfree.data.time.Second;
Replies: 2
Views: 4678

I was careful to reference the same version of the jfreechart jars (jfreechart 1.0.6, jcommon 1.0.10) from the applet as the ones available to the servlet (Originally the servlet had access to older versions) but this didn't help the problem. We have come up with a workaround but it's fairly messy (...
by annac
Tue Oct 23, 2007 5:31 pm
Forum: JFreeChart
Topic: java.io.InvalidClassException: org.jfree.data.time.Second;
Replies: 2
Views: 4678

java.io.InvalidClassException: org.jfree.data.time.Second;

Hi, I have embedded a jfreechart applet in an html page. The applet is passed a serialized object from a servlet (connected to our database) which contains a TimeSeries. I am getting the following error: java.io.InvalidClassException: org.jfree.data.time.Second; incompatible types for field second a...
by annac
Mon Oct 15, 2007 9:56 pm
Forum: JFreeChart
Topic: problem with overriding code and deploying an applet
Replies: 2
Views: 4277

My apologies. That way was recommended to me. I am new to working with open source projects so I am not familiar with protocol or best practices. And yes, I need to access some of the private fields and modify methods in the ChartPanel class so copying the source seemed the easiest way to access the...
by annac
Mon Oct 15, 2007 9:27 pm
Forum: JFreeChart
Topic: problem with overriding code and deploying an applet
Replies: 2
Views: 4277

problem with overriding code and deploying an applet

I am deploying my program in an applet and I have run into problems with overriding the ChartPanel class by placing a copied/modified version in an org.jfree.chart package within my project. Applets (in browsers) search the archive .jar files before searching files in your codebase, therefore openin...
by annac
Fri Oct 12, 2007 10:55 pm
Forum: JFreeChart
Topic: Restore Zoom Point (zoom out) overriding ChartPanel patch
Replies: 9
Views: 34362

I think I figured it out. I specified the location path for the java source attachment of the jar file and now I am able to open up the .class file and edit it. Is this what you meant?
by annac
Fri Oct 12, 2007 10:06 pm
Forum: JFreeChart
Topic: Restore Zoom Point (zoom out) overriding ChartPanel patch
Replies: 9
Views: 34362

I am using eclipse. so you are saying that if I change the source ChartPanel.java file the jar file will automatically update the ChartPanel.class file? do I need to import the ChartPanel.java file somewhere special in my eclipse project to work on it? sorry for all the questions. I am new to this o...
by annac
Fri Oct 12, 2007 7:08 pm
Forum: JFreeChart
Topic: Restore Zoom Point (zoom out) overriding ChartPanel patch
Replies: 9
Views: 34362

did you make these changes within the actual ChartPanel class or did you subclass ChartPanel to override the methods?...
by annac
Fri Oct 12, 2007 4:47 pm
Forum: JFreeChart
Topic: Realtime Dynamic Crosshair (trace) and tooltip (patch code)
Replies: 15
Views: 53854

again, thank you!

I am definitely going to take a look at this
by annac
Thu Oct 11, 2007 5:07 pm
Forum: JFreeChart
Topic: Restore Zoom Point (zoom out) overriding ChartPanel patch
Replies: 9
Views: 34362

just what I was looking for! thank you for sharing your code with us :) just one question. why did you choose to restore the original bounds and then zoom in n-1 times? did you encounter a problem in simply setting the axes bounds to the previous values? I have also been looking for a way to capture...