Search found 10 matches

by Hans Horn
Sun Nov 12, 2017 4:43 pm
Forum: JFreeChart
Topic: Migrating to 1.5.0
Replies: 4
Views: 13781

Re: Migrating to 1.5.0

There is a new JFreeChart version? How can I get it?
by Hans Horn
Fri Oct 05, 2012 6:11 pm
Forum: JFreeChart
Topic: prevent scaling fonts of textannotations
Replies: 0
Views: 2470

prevent scaling fonts of textannotations

Group,
how can I prevent the font of textannotations being scaled when the chart is being resized?
For some charts I'd like it to retain the font size I set on it, as a textannotation can become very hard (fuzzy!) to read when the chart get smaller.
Thx.,
H.
by Hans Horn
Fri Oct 17, 2008 7:06 pm
Forum: JFreeChart
Topic: how to draw legend inside of a chart
Replies: 1
Views: 2893

re: how to draw legend inside of a chart

I guess I found a solution: - create chart with legend - grab the legend, reconfigure it and place it as annotation onto the chart's plot - remove the chart's legend ... LegendTitle legend = chart.getLegend(); legend.setPosition(RectangleEdge.RIGHT); // cause items to wrap ((XYPlot) chart.getPlot())...
by Hans Horn
Fri Oct 17, 2008 3:42 pm
Forum: JFreeChart
Topic: how to draw legend inside of a chart
Replies: 1
Views: 2893

how to draw legend inside of a chart

Group, I have not been able to figure out how draw a wrapped legend INSIDE of a chart's plot area such as ------------------------------------------------------ | | | | -------- | |o item1| | |o item2| | |o item3| | -------- | | | ------------------------------------------------------ What do the ex...
by Hans Horn
Fri Oct 10, 2008 3:53 pm
Forum: JFreeChart
Topic: v1.0.11 install & javadocs?
Replies: 4
Views: 4151

ping

ping
by Hans Horn
Sat Oct 04, 2008 2:50 am
Forum: JFreeChart
Topic: v1.0.11 install & javadocs?
Replies: 4
Views: 4151

David,
that's indeed what I was referring to...
H.
by Hans Horn
Thu Oct 02, 2008 9:18 pm
Forum: JFreeChart
Topic: v1.0.11 install & javadocs?
Replies: 4
Views: 4151

v1.0.11 install & javadocs?

as subjectline says...
by Hans Horn
Wed Aug 06, 2008 8:10 pm
Forum: JFreeChart
Topic: slider labels and chart tick labels
Replies: 3
Views: 4002

Yup,

but then I'd have to install a progress listener that would update my slider once the chart has been painted!

Tried that; for very large datasets I get some weird repainting issues on the slider when the initial ticklabels are being made in-sync with the chart.

Thx for responding,
H.
by Hans Horn
Wed Aug 06, 2008 3:09 pm
Forum: JFreeChart
Topic: slider labels and chart tick labels
Replies: 3
Views: 4002

Well, I figured it out for myself. I created a fake tick list using a fake screen data area and calling refreshTicks() on the axis such as: Rectangle2D fakeArea = new Rectangle2D.Double(10, 10, 1000, 1000); java.util.List ticks = plot.getDomainAxis().refreshTicks((Graphics2D) chartPanel.getGraphics(...
by Hans Horn
Mon Aug 04, 2008 10:45 pm
Forum: JFreeChart
Topic: slider labels and chart tick labels
Replies: 3
Views: 4002

slider labels and chart tick labels

Group,

In my app I have a slider which I want to display the same tick labels as the domain axis of my chart uses.
However, I have not been able to find out how to access the ticklabels used by the axis.
Anybody has got any leads?
thx,
Hans