Search found 31 matches

by mkrauskopf
Wed Feb 22, 2012 1:26 pm
Forum: JFreeChart
Topic: Parallel Coordinates
Replies: 6
Views: 5218

Re: Parallel Coordinates

Sure enough.

Thanks for quick feedback,
- Martin
by mkrauskopf
Wed Feb 22, 2012 1:06 pm
Forum: JFreeChart
Topic: Parallel Coordinates
Replies: 6
Views: 5218

Re: Parallel Coordinates

Thanks for the reply, Martin. I actually hit that search as well (and I should note so in my original question). But it did not make me any more clever wrt. solving my problem. Parallel Coordinates seems to be a good candiate for the the contribution into the future releases of JFreeChart :) It seem...
by mkrauskopf
Tue Feb 21, 2012 7:34 pm
Forum: JFreeChart
Topic: Parallel Coordinates
Replies: 6
Views: 5218

Parallel Coordinates

Hi. Is there some kind of support for Parallel Coordinates plot? I found only some old thread: http://www.jfree.org/forum/viewtopic.php?f=3&t=9979&p=29581 , but it seems to miss some context. There were probably preceding discussion according to the first sentence: Thanks for the advice on devising ...
by mkrauskopf
Wed Feb 15, 2012 2:13 pm
Forum: JFreeChart
Topic: Bug in unlimited zoom in chart...
Replies: 1
Views: 2235

Re: Bug in unlimited zoom in chart...

Hi. Similar was discussed in viewtopic.php?f=3&t=109538 and the issue is tracked at http://sourceforge.net/tracker/index.ph ... tid=115494

Cheers,
- m.
by mkrauskopf
Thu Dec 15, 2011 9:23 am
Forum: JFreeChart
Topic: How call refreshTicksVertical from NumberAxis
Replies: 3
Views: 4010

Re: How call refreshTicksVertical from NumberAxis

But what if you override refreshTicksVertical to do some special logic which you want to change when a user clicks some button. So upon that button click you want to say "Hey plot, everything is the same, just redraw the the axis (and thus call my overridden refreshTicksVertical which will behave di...
by mkrauskopf
Mon Dec 12, 2011 10:43 pm
Forum: JFreeChart
Topic: Annotations in General
Replies: 4
Views: 5387

Re: Annotations in General

Javadoc for XYTextAnnotation ctor clearly states: x - the x-coordinate (in data space) y - the y-coordinate (in data space) So if the ranges or your (sub)plot are let's say domain = <0, 100>; range = <1000, 2000> then x and y for the annotation have to fall within the ranges, e.g. x = 50, y = 1200 ....
by mkrauskopf
Fri Dec 09, 2011 2:05 pm
Forum: JFreeChart
Topic: Custom plot color for even and odd row
Replies: 1
Views: 2741

Re: Custom plot color for even and odd row

One way is to use interval markers (about which I've learned yesterday in other thread). Something like: getPlot().addRangeMarker(new IntervalMarker(20, 40, new Color(0, 255, 255, 128)), Layer.BACKGROUND); should do the trick. Pick you favorite color and use simple iteration over range-axis range to...
by mkrauskopf
Fri Dec 09, 2011 8:43 am
Forum: JFreeChart
Topic: Getting Exception: "Requires xLow < xHigh" when zooming in
Replies: 5
Views: 6182

Re: Getting Exception: "Requires xLow < xHigh" when zooming

cause it's all "internally" as seen by the exception stack trace and my code has nothing to do with it. Yup, you are right (I think) - that's why you should file issue against the JFreeChart tracker. There are more ways to prevent (workaround) the exception, the easier one which comes to my mind is...
by mkrauskopf
Thu Dec 08, 2011 4:41 pm
Forum: JFreeChart
Topic: Getting Exception: "Requires xLow < xHigh" when zooming in
Replies: 5
Views: 6182

Re: Getting Exception: "Requires xLow < xHigh" when zooming

Hi. I guess you should file an issue into the JFreeChart tracker. IMHO a plot (in this case XYPlot ) should not allow to zoom in once the interval is actually zero if it not subsequently able to render it. XYPlot#zoom(Domain|Range)Axes sets zero Range but cannot handle it subsequently in the XYPlot#...
by mkrauskopf
Thu Dec 08, 2011 4:22 pm
Forum: JFreeChart
Topic: IntervalMarker not honouring setLabelFont()?
Replies: 2
Views: 3393

Re: IntervalMarker not honouring setLabelFont()?

Hi kgi,

I do not have a solution for you. Just an information that your code is perfectly working on my machine - the font style and size is honored and properly displayed (did not ever try markers - thanks ;) ).

Might be problem with availability of the selected font on your machine?

Cheers,
-- m.
by mkrauskopf
Tue Dec 06, 2011 10:47 am
Forum: JFreeChart
Topic: I have a problem about close jfreechart frame.
Replies: 2
Views: 3379

Re: I have a problem about close jfreechart frame.

#setDefaultCloseOperation is a method of a JFrame not a method of your application. So you need to call: mainFrame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE); ..... childFrame.setDefaultCloseOperation(WindowConstant.DISPOSE_ON_CLOSE); like bhogsett suggested. You are likely setting EXI...
by mkrauskopf
Tue Dec 06, 2011 10:36 am
Forum: JFreeChart
Topic: disable negatives values on lineChart with zoom
Replies: 5
Views: 5864

Re: disable negatives values on lineChart with zoom

setRangeType solution does not seem to work once the user starts zooming out - plot will display area below zero.

I've posted another tip into: viewtopic.php?f=3&t=109509#p167219
by mkrauskopf
Tue Dec 06, 2011 10:28 am
Forum: JFreeChart
Topic: [SOLVED] LogarithmicAxis zoom
Replies: 6
Views: 6639

Re: LogarithmicAxis zoom

Or you might do something like (tweak to your needs): private static LogarithmicAxis newZeroBasedLogAxis() { LogarithmicAxis axis = new LogarithmicAxis(null /* maybe title */) { @Override public Range getRange() { Range sRange = super.getRange(); // ensure lowerBound < upperBound to prevent exceptio...
by mkrauskopf
Tue Oct 11, 2011 7:09 am
Forum: JFreeChart
Topic: ShadowGenerator and Tooltips
Replies: 5
Views: 5023

Re: ShadowGenerator and Tooltips

...the patch...
I've talked about your patch :) Just wanted to point out the issue in the tracker. I do not have any patch for this issue.
by mkrauskopf
Mon Oct 10, 2011 10:21 pm
Forum: JFreeChart
Topic: ShadowGenerator and Tooltips
Replies: 5
Views: 5023

Re: ShadowGenerator and Tooltips

It is actually filed as a bug: https://sourceforge.net/tracker/?func=d ... tid=115494 which I've hit few months ago. So I it might be closed if/after the patch is applied.