Search found 6 matches

by 1337rooster
Thu Apr 24, 2008 8:44 pm
Forum: JFreeChart
Topic: Displaying only some of the labels on a category bar chart
Replies: 1
Views: 3088

Displaying only some of the labels on a category bar chart

Is it possible to display only some of the labels on a category bar chart? Can either the ExtendedCategoryAxis or DefaultCategoryAxis allow this? I want to display every other category label, they wont all fit in.
by 1337rooster
Thu Apr 24, 2008 7:12 pm
Forum: JFreeChart
Topic: Forcing DateTick objects to display on DateAxis
Replies: 0
Views: 2173

Forcing DateTick objects to display on DateAxis

is it possible to create my own DateTick object and force it to display on my DateAxis? I don't want to specify a tick unit, I want certain dates to show up and be forced in place. How can I apply DateTick objects to a DateAxis?
by 1337rooster
Thu Apr 17, 2008 2:08 pm
Forum: JFreeChart
Topic: Label placement on pie charts
Replies: 2
Views: 3716

Label placement on pie charts

are there any methods to control the label placement on pie charts? I'm finding that if my pie chart has a few small slices near the top or bottom that the labels will all be forced in a small area (one of the lower corners) and if the labels are large they are sometimes cut off the page.
by 1337rooster
Tue Apr 15, 2008 3:49 pm
Forum: JFreeChart
Topic: Plot data ordering
Replies: 5
Views: 7795

Oh, it didn't seem to work that way for me. I was trying to figure out how to get the labels to display in the order I provided. I noticed that they were going in alphabetical order so I looked at the api for CategoryPlot and found: setColumnRenderingOrder(org.jfree.util.SortOrder order) Sets the co...
by 1337rooster
Mon Apr 14, 2008 3:10 pm
Forum: JFreeChart
Topic: Plot data ordering
Replies: 5
Views: 7795

If your using CategoryPlot, it sorts the labels alphabetically, maybe use a more numerical date format which can be sorted alphabetically.

I.E. yyyy/mm/dd
by 1337rooster
Mon Apr 14, 2008 3:08 pm
Forum: JFreeChart
Topic: Legend in two columns
Replies: 7
Views: 12817

Hackish fix idea

I ran into something similar to this, I think my same hackish approach will work. I'm not sure if JFreeChart built in method to make the columns, if it does I would recommend using that. Basically, what you can do is make every key the same length in characters. So write some code to add trailing wh...