Search found 53 matches
- Mon Aug 18, 2008 11:02 pm
- Forum: JFreeChart
- Topic: TIP: using the zoom rectangle for your own purposes
- Replies: 10
- Views: 16230
I've been away for awhile so I haven't seen these more recent posts.... I develop code in an environment that does not have access to the internet, so it is problematic for me to add code examples in this forum. Given the amount of code involved for this solution, it would be rather time consuming t...
- Fri May 30, 2008 9:10 pm
- Forum: JFreeChart
- Topic: Overlapping of Item labels
- Replies: 1
- Views: 4713
- Fri May 30, 2008 9:00 pm
- Forum: JFreeChart
- Topic: Display JFreeChart inside a panel
- Replies: 17
- Views: 24084
Sounds like it might be a problem with the choice of layout manager. Also.... When you do successive actions to add things to the jPanelMain, do you clear out any old components before adding the new one? It is possible, depending on the layout manager, that if older components are not removed first...
- Fri May 30, 2008 8:48 pm
- Forum: JFreeChart
- Topic: how to show one legend item per row in legend area?
- Replies: 6
- Views: 7934
If you need to keep the legend on the bottom, then one way to accomplish your goal is to make each legend item long enough so that only one item fits on a single line. The legends are ordered left-to-right, as many as fit on a line before wrapping to the next line. If you add even more length to you...
- Thu May 29, 2008 9:08 pm
- Forum: JFreeChart
- Topic: how to show one legend item per row in legend area?
- Replies: 6
- Views: 7934
Actually, I was faced with the same problem as you, but I also had to deal with the possibility of up to 20 series. I resolved it by doing two things: 1. I decided to keep the legend short, and moved it to the right side. 2. I put the chart in a tabbed pane, then in a second tab, I provided a table ...
- Thu May 29, 2008 8:55 pm
- Forum: JFreeChart
- Topic: DateRange immutable?
- Replies: 9
- Views: 8574
As far as saving an instance of TimeZone.getDefault.... This shouldn't create a problem in most applications, but if you are in an application where the user can choose their time zone on the fly (as is the case with the application I work on), it could be a bad thing to have various time zone insta...
- Wed May 28, 2008 8:47 pm
- Forum: JFreeChart
- Topic: DateRange immutable?
- Replies: 9
- Views: 8574
The Java Date class IS immutable. Where did you get the idea it isn't? Edited: after the subsequent post, am I missing something? Edited still later: I went back and double-checked the Java doc on Date. The Date class is not immutable as you've stated. Now, where did *I* get the idea that it was imm...
- Wed May 28, 2008 8:41 pm
- Forum: JFreeChart
- Topic: how to show one legend item per row in legend area?
- Replies: 6
- Views: 7934
Use the following code to change the positioning of the legend from the bottom to the right side (or you could do the LEFT side). This has the effect of ordering the legend items in a vertical rather than a horizontal alignment. To my knowledge, you can't leave the legend on the bottom AND align the...
- Tue May 20, 2008 9:59 pm
- Forum: JFreeChart
- Topic: TimeSeriesChart Question!
- Replies: 4
- Views: 6959
- Mon May 19, 2008 11:30 pm
- Forum: JFreeChart
- Topic: TIP: using the zoom rectangle for your own purposes
- Replies: 10
- Views: 16230
Since someone asked in another thread, I'll copy my response here as well as to a little more detail on determining which data points are within a selecting rectangle.... It is a bit more involved than just a few lines to do this. Essentially, you do the following: - get the chart rendering info fro...
- Mon May 19, 2008 11:16 pm
- Forum: JFreeChart
- Topic: How to create rectangular selection?
- Replies: 3
- Views: 4280
It is a bit more involved than just a few lines. Essentially, you do the following: - get the chart rendering info from the panel. - get the entity collection from the rendering info. - loop through the entity collection and for the XYItemEntity-s you compare their chart position with the saved rect...
- Fri May 16, 2008 7:32 pm
- Forum: JFreeChart
- Topic: How to create rectangular selection?
- Replies: 3
- Views: 4280
I implemented this. I posted the basic details in the following thread in this forum: http://www.jfree.org/phpBB2/viewtopic.php?t=24320 The above thread provides just the basic details on the approach to take. Before you ask, it is too difficult for me to move my code from my non-internet-access wor...
- Wed May 07, 2008 9:36 pm
- Forum: JFreeChart
- Topic: DateAxis zooming and plotting issues
- Replies: 29
- Views: 70817
- Mon May 05, 2008 10:32 pm
- Forum: JFreeChart
- Topic: DateAxis zooming and plotting issues
- Replies: 29
- Views: 70817
- Fri Apr 25, 2008 7:25 pm
- Forum: JFreeChart
- Topic: MousecClickedEvent update
- Replies: 5
- Views: 11013
Unfortunately, my code is on another network with no internet access so it would be a problem ... or would be time consuming to retype ... my code here. The only other alternative for me is to have a friend scan my code with their OCR software, but their program is not all that accurate ... once aga...