Search found 24 matches
- Sun May 17, 2009 3:04 pm
- Forum: JFreeChart
- Topic: ChartListener problem
- Replies: 1
- Views: 2220
Re: ChartListener problem
I got the answer partly from this topic: http://www.jfree.org/phpBB2/viewtopic.php?f=3&t=23810 Especially because I'm also embedding the chart into SWT. The only difference is, that in the posted code by Don ChartComposite is used somehow for the embedding, while I do it the following way: emComposi...
- Sat May 16, 2009 4:06 pm
- Forum: JFreeChart
- Topic: ChartListener problem
- Replies: 1
- Views: 2220
ChartListener problem
Dear all, I would like to do the following (actually simple) thing: * click on a chart -> domain and range crosshair values are read (crosshair is locked to data) -> text annotation with x and y values is drawn at the crosshair position There are three potential listeners 1) ChartMouseListener 2) Ch...
- Sat Apr 25, 2009 4:51 pm
- Forum: JFreeChart
- Topic: New line in TextAnnotation
- Replies: 1
- Views: 1996
Re: New line in TextAnnotation
Sorry to bother again! It would be really convenient for me to have multi-line TextAnnotations. Just want to know if it's possible and if yes how! If not I have to start to work around it...
- Sun Apr 19, 2009 1:39 pm
- Forum: JFreeChart
- Topic: Dragging mouse is extremely slow
- Replies: 29
- Views: 20833
Re: Dragging mouse is extremely slow
... sounds good, perfect!
- Thu Apr 16, 2009 7:38 pm
- Forum: JFreeChart
- Topic: How do I get plotarea height, width, x,y co-ordinates?
- Replies: 2
- Views: 2685
Re: How do I get plotarea height, width, x,y co-ordinates?
I don't know how you want to use the x and y coordinates, but if you have access to the demo files check the MouseListenerDemos. Maybe this is what you need.
- Thu Apr 16, 2009 7:28 pm
- Forum: JFreeChart
- Topic: Drawing cirlces at data point in line chart
- Replies: 1
- Views: 2276
Re: Drawing cirlces at data point in line chart
you can do the following:
renderer.setSeriesShape(i, new Ellipse2D.Double(-1.0,-1.0,2.0,2.0));
This will set the same shape for all series, if you do it in a for loop. Usually these things work also for all at once if you don't give an index. Just check the API, I'm not sure in this case.
HTH
renderer.setSeriesShape(i, new Ellipse2D.Double(-1.0,-1.0,2.0,2.0));
This will set the same shape for all series, if you do it in a for loop. Usually these things work also for all at once if you don't give an index. Just check the API, I'm not sure in this case.
HTH
- Thu Apr 16, 2009 7:13 pm
- Forum: JFreeChart
- Topic: Dragging mouse is extremely slow
- Replies: 29
- Views: 20833
Re: Dragging mouse is extremely slow
Hi, I have a similar mouse/zoom problem as described in this thread. But in my case the mouse zoom rectangle is not slow but draws incorrectly. Instead of a rectangle several horizontal and vertical lines are produced. The faster the mouse is moved the more lines are there. In the thread the 'Scatte...
- Wed Apr 15, 2009 7:02 pm
- Forum: JFreeChart
- Topic: New line in TextAnnotation
- Replies: 1
- Views: 1996
New line in TextAnnotation
Hi,
Does anybody know how to make multi line TextAnnotations? I tried any combination of "\n" and "\r", but does not work
What is the trick?
Thanks in advance!
Does anybody know how to make multi line TextAnnotations? I tried any combination of "\n" and "\r", but does not work
What is the trick?
Thanks in advance!
- Sat Mar 14, 2009 3:39 pm
- Forum: JFreeChart
- Topic: Using Legend to Configure Series Shapes and Colors
- Replies: 2
- Views: 4842
Re: Using Legend to Configure Series Shapes and Colors
I was quite happy to find this question in the forum, since I have exactly the same problem. But unfortunatelly nobody answered it! Maybe anyone knows how to enable the editor for series paint and series color in the Chart Properies dialog (maybe even for the renderer, to change e.g. frome lines to ...