Search found 15 matches

by krheinwald
Wed Sep 13, 2017 2:16 pm
Forum: JFreeChart
Topic: Properties Menu in JavaFX implementation
Replies: 2
Views: 3851

Re: Properties Menu in JavaFX implementation

Any update/solution to this? I am running into the same issue while tyring to migrate my application from Swing to JavaFX.
by krheinwald
Mon Aug 23, 2010 12:05 pm
Forum: JFreeChart
Topic: Only one smooth line serie in a TimeSeries Chart
Replies: 1
Views: 2180

Re: Only one smooth line serie in a TimeSeries Chart

Investigate

setRenderer( new XYSplineRenderer());

Klaus
by krheinwald
Wed Feb 04, 2009 12:23 pm
Forum: JFreeChart
Topic: JFreeChart 1.0.12 - Regression bug?
Replies: 4
Views: 3803

hansk, David!

That fixed it. There are still a lot of those

Code: Select all

throw new IllegalArgumentException("Null ')
in this module, though.

Klaus
by krheinwald
Tue Feb 03, 2009 6:39 pm
Forum: JFreeChart
Topic: JFreeChart 1.0.12 - Regression bug?
Replies: 4
Views: 3803

Thanks David,

I will fix it locally.

Klaus
by krheinwald
Tue Feb 03, 2009 2:29 pm
Forum: JFreeChart
Topic: JFreeChart 1.0.12 - Regression bug?
Replies: 4
Views: 3803

JFreeChart 1.0.12 - Regression bug?

David, I ran into a problem when I upgraded from 1.0.11 to 1.0.12. This line ((CategoryPlot) barChart.getPlot()).setRenderer(stackedBarRenderer, true); which ran fine until and including 1.0.11 now throws the Exception below. Any suggestion where to start looking? Klaus --- java.lang.IllegalArgument...
by krheinwald
Thu Jul 10, 2008 4:57 pm
Forum: JFreeChart
Topic: TIP: using the zoom rectangle for your own purposes
Replies: 10
Views: 11271

Re: TIP: using the zoom rectangle for your own purposes

jpmaia wrote:This works very nicely - I get my data points, ChartPanel draws the rectangle for me, and the chart does not zoom.
Would you mind posting a short example?

Klaus
by krheinwald
Sat Jun 14, 2008 11:30 am
Forum: JFreeChart
Topic: Given a spline, how do I find Y value for a given X?
Replies: 2
Views: 2473

Re: Given a spline, how do I find Y value for a given X?

we need to find what's the Y-value corresponding to a specific X-value given a spline curve, where this X-value doesn't belong to one of the control points. My first approach would be to copy the code for drawPrimaryLineAsPath(...), throw out all the drawing related stuff. Check whether your X is w...
by krheinwald
Tue Jan 08, 2008 1:59 am
Forum: JFreeChart
Topic: XYSplineRender
Replies: 1
Views: 2349

The underlying algorithm for the Splines only allows unique X-values.

Imagine the spline for your case - it would look like an 'S' around x=3, i.e. curling back on itself.

Klaus
by krheinwald
Tue Dec 04, 2007 5:48 pm
Forum: JFreeChart
Topic: Can not set backgroun to be transparent with PNG
Replies: 6
Views: 6148

Thomas,

thanks for this suggestion, I just ran into the same problem!

get/setRGB() is not necessary, btw.

A patched version of JFreeChart.java has been submitted to David.

Klaus
by krheinwald
Fri Jan 26, 2007 6:29 pm
Forum: JFreeChart
Topic: new chart type "geographical chart"
Replies: 45
Views: 53603

Martin, David this is most interesting! I am actually currently looking for ways to display a route on a map and this might actually be the solution! Two questions: - Would it be possible to draw a XY-LineChart on the map? I am thinking of having the coordinates in a XY-Dataset, no Z-Value needed. -...
by krheinwald
Tue Dec 06, 2005 4:48 pm
Forum: JFreeChart
Topic: JFreeChart 1.0.0
Replies: 16
Views: 22770

Finally! Thanks a lot for the work you put into this and all your efforts!

I guess now I have no more excuses for not migrating from 0.9.16...
by krheinwald
Fri Mar 19, 2004 9:25 pm
Forum: JFreeChart
Topic: Coordinates of mouse click in a ChartPanel
Replies: 8
Views: 8303

This works for me: addMouseListener(new MouseAdapter() { public void mousePressed(MouseEvent evt) { setLocation(xAxis.translateJava2DtoValue(evt.getX(), chartPanel.getScaledDataArea(), RectangleEdge.BOTTOM), yAxis.translateJava2DtoValue(evt.getY(), chartPanel.getScaledDataArea(), RectangleEdge.LEFT)...
by krheinwald
Thu Feb 26, 2004 10:52 am
Forum: JFreeChart
Topic: Adding image/logo to a chart.
Replies: 6
Views: 6711

Re:Adding image/logo to a chart.

benoitx wrote:2/ put a logo outside the plot area, say in a corner of the whole chart?
Have a look at JFreeChart.setBackgroundImage() and JFreeChart.setBackgroundImageAlignment().

Here is an example.

HTH,
Klaus
by krheinwald
Fri Jan 23, 2004 10:56 am
Forum: JFreeChart
Topic: Do we have to make separate jar for mac & windows platfo
Replies: 1
Views: 2302

The same jar from the standard distribution is used on all platforms.

Welcome to the beautiful world of Java! :)
by krheinwald
Thu Jan 22, 2004 4:32 pm
Forum: JFreeChart
Topic: does jfree chart library works equally good for Mac OS
Replies: 2
Views: 2677