Search found 12 matches
- Wed Aug 02, 2006 7:32 pm
- Forum: JFreeChart
- Topic: new patch posted, skip category labels and tick marks
- Replies: 3
- Views: 3907
hey thanks man..
I would like to make one small change to my code before I head off into the great white north. The spacing of the category labels is dead on.. But it would be better if there was a gap between them.. This code change will provide such a gap.. I really should have written a setter method for CATEGORY...
- Tue Aug 01, 2006 8:49 pm
- Forum: JFreeChart
- Topic: new patch posted, skip category labels and tick marks
- Replies: 3
- Views: 3907
new patch posted, skip category labels and tick marks

the code is documented and has been tested. It seems to work pretty well.
- Tue Aug 01, 2006 8:44 pm
- Forum: JFreeChart
- Topic: Skip category labels
- Replies: 29
- Views: 52731
Posted working, tested solution.. Category Skip Labels
:D Well it was hard.. I really wanted to do some fly fishing but instead I decided to stay home and work like crazy on a good solution to this problem.. I am happy to say, not as happy as I would have been with a 15 inch brook trout standing in the deep woods of Maine on the Canadian border :wink: b...
- Thu Jul 13, 2006 4:32 pm
- Forum: JFreeChart
- Topic: Skip category labels
- Replies: 29
- Views: 52731
:roll: Yeah.. I noticed this.. I am very, very, new to JfreeChart so take these statements with a grain of salt.. I think that Jfree chart is doing what it should at least on my charts.. But I have not had much time to play with it. I am already off on the next task at work.. :? It looks like there ...
- Tue Jul 11, 2006 4:28 pm
- Forum: JFreeChart
- Topic: Skip category labels
- Replies: 29
- Views: 52731
small change
when we integrated my changes into our build we found something. if (plotState != null) { EntityCollection entities = plotState.getOwner().getEntityCollection(); was from the old CatAxis.. Sometime, I do not know why, the plotState owner will be null and in that case this will generate a null pointe...
- Tue Jul 11, 2006 3:21 pm
- Forum: JFreeChart
- Topic: skip labels in a category chart
- Replies: 2
- Views: 3063
- Tue Jul 11, 2006 3:19 pm
- Forum: JFreeChart
- Topic: Skip category labels
- Replies: 29
- Views: 52731
the final solution.. Seems to work really well..
After spending some time thinking about how to calculate N it came to me that this is futile and not the right solution. I tried various methods of adding up all the labels widths, or lengths, and comparing that to the axis length. Replacing the labels so they are centered. Several approaches. Non w...
- Fri Jul 07, 2006 1:37 pm
- Forum: JFreeChart
- Topic: skip labels in a category chart
- Replies: 2
- Views: 3063
- Fri Jul 07, 2006 1:32 pm
- Forum: JFreeChart
- Topic: Skip category labels
- Replies: 29
- Views: 52731
Okay.. I have it working.. All you have to do is call public CategoryAxisSkipLabels(String label, int interval) and pass in the interval.. The problem becomes knowing when to set this interval (at what point the labels start to overlap) and what to set it to (how many labels do I have space to actua...
- Fri Jul 07, 2006 1:02 pm
- Forum: JFreeChart
- Topic: Skip category labels
- Replies: 29
- Views: 52731
Thanks I just found it a little while ago.. Not all the classes are in the API doc so that threw me off. I eventually went into the source and there it was.. for the record and to save someone else the effort.. Here are the import statements. import org.jfree.chart.axis.CategoryAxis; import org.jfre...
- Thu Jul 06, 2006 7:27 pm
- Forum: JFreeChart
- Topic: skip labels in a category chart
- Replies: 2
- Views: 3063
skip labels in a category chart
I need to skip labels in a category chart. There have been several request but no solutions. Does anyone have a solution? My categories are dates which can be in any arbitrary language or format. I can not use a time series chart because it does not support all the different chart types. I have no w...
- Thu Jul 06, 2006 7:04 pm
- Forum: JFreeChart
- Topic: Skip category labels
- Replies: 29
- Views: 52731
I would like to try out this solution.. So I copied it down and included it into one of my projects and I can not seem to find RectangleEdge. Can you help me out with that.. I am running JFreeChart 1.0.1 Here are the imports I included into the Code package chartingTest; import org.jfree.chart.axis....