Search found 24 matches
- Thu Mar 31, 2005 9:41 am
- Forum: JFreeChart
- Topic: High Performance Apps
- Replies: 43
- Views: 104746
Hi, I've got one remark, you use a boolean bAddEntity for adding entities. Instead of setting that boolean where you do it, you could set it only if the line is realy drawn. This way an entity only is added if it realy is needed. if (state.workingLine.intersects(dataArea)) { // Set boolean bAddEntit...
- Thu Mar 31, 2005 7:36 am
- Forum: JFreeChart
- Topic: Clicking on lines
- Replies: 0
- Views: 2098
Clicking on lines
Hi all, Several days ago someone posted a question about clicking on lines. I did some more research and came up with the following: Graphics2D has a method hit(Rectangle, Shape, boolean) that checks if Reactangle intersects with Shape. What I did for now is to get the EntityCollection of a chart an...
- Wed Mar 23, 2005 10:01 am
- Forum: JFreeChart
- Topic: High Performance Apps
- Replies: 43
- Views: 104746
- Tue Mar 22, 2005 10:13 am
- Forum: JFreeChart
- Topic: Click on a line
- Replies: 11
- Views: 14774
- Fri Mar 18, 2005 10:24 am
- Forum: JFreeChart
- Topic: Click on a line
- Replies: 11
- Views: 14774
Hi all, I am working on something to make it possible to detect line clicks on XY chart. What I came up with is the following: Edit the XYLineAndShapeRenderer to create polygons for every line, create something like a XYEntityItem, add this "XYLineItem" to a List, make this List available to the out...
- Wed Mar 16, 2005 10:14 am
- Forum: JFreeChart
- Topic: High Performance Apps
- Replies: 43
- Views: 104746
Hi, Thx for the code, will look into it a little more. Looks like I will have to change it so it doesn't use a TimeSeries anymore. I also tried to draw everything in at once using drawPolyline, but this gave some strange behaviour. If I resized my screen to become larger, at one point (something abo...
- Tue Mar 15, 2005 9:51 am
- Forum: JFreeChart
- Topic: High Performance Apps
- Replies: 43
- Views: 104746
Hi, thx for the hints. Looking at the LineAndShape renderer I see that you use 2 separate passes for drawing the shapes and the lines, is there a reason to do it that way? Doing the drawing/creating of lines and shapes in one step makes much more sense, now it has to calculate the position for every...
- Mon Mar 14, 2005 8:15 pm
- Forum: JFreeChart
- Topic: High Performance Apps
- Replies: 43
- Views: 104746
- Mon Mar 14, 2005 4:19 pm
- Forum: JFreeChart
- Topic: Click on a line
- Replies: 11
- Views: 14774
- Mon Mar 14, 2005 1:02 pm
- Forum: JFreeChart
- Topic: High Performance Apps
- Replies: 43
- Views: 104746
- Mon Mar 14, 2005 11:04 am
- Forum: JFreeChart
- Topic: High Performance Apps
- Replies: 43
- Views: 104746
Hi, I do have the same problem, but need to be able to show much more datapoints. I did look at the jfreechart code myself, and came up with some adjustments for XY charts. I do not know what type of chart you want to use. But in case of XY charts the following might help: In StandardXYItemRenderer ...
- Thu Mar 10, 2005 8:25 am
- Forum: JFreeChart
- Topic: Added : dynamic data, zooming, adjust, move...
- Replies: 50
- Views: 92640
- Tue Mar 08, 2005 3:35 pm
- Forum: JFreeChart
- Topic: Pan/Scroll
- Replies: 2
- Views: 5551
Hi, In an older release there was an example of panning a XY chart. That example doesn't work with the 1.0.0rc, but the way it works is simple. And I think it can also be used on the gantt chart you want. What the example does is add a mouselistener and a mousemotionlistener to the chart panel. Usin...
- Fri Mar 04, 2005 10:10 am
- Forum: JFreeChart
- Topic: Another dynamic data solution
- Replies: 6
- Views: 11310
- Thu Mar 03, 2005 9:46 am
- Forum: JFreeChart
- Topic: Performance XYLine renderer and generalpath
- Replies: 1
- Views: 3322