Search found 168 matches

by uvoigt
Wed Aug 24, 2016 7:48 am
Forum: JFreeChart
Topic: DateAxis previousStandardDate bug
Replies: 2
Views: 3807

Re: DateAxis previousStandardDate bug

Thanks!!
by uvoigt
Tue Aug 23, 2016 1:01 pm
Forum: JFreeChart
Topic: DateAxis previousStandardDate bug
Replies: 2
Views: 3807

DateAxis previousStandardDate bug

Hi David, I've found a bug in DateAxis.previousStandardDate(Date, DateTickUnit). It returns wrong values in case the date given as parameter is already the standard date and the tick unit has a count > 1. Testcase (DateAxis.previousStandardDate must be made public for this case): public static void ...
by uvoigt
Wed Oct 15, 2014 2:27 pm
Forum: JFreeChart
Topic: Code Contributions
Replies: 3
Views: 4489

Re: Code Contributions

Hi, regarding interactivity: There is a pending patch http://sourceforge.net/p/jfreechart/patches/309/ which adds great enhancements to zooming and panning. Maybe some of your requirements are solved by this patch. See also related thread http://www.jfree.org/forum/viewtopic.php?f=3&t=116907 for a d...
by uvoigt
Tue Aug 19, 2014 10:52 am
Forum: JFreeChart
Topic: Clone() Not Supported
Replies: 6
Views: 7455

Re: Clone() Not Supported

The reason is that your TestToolTipGenerator class does not implement the Clonable interface and it does not implement a public clone() method. Both are required for a class to be cloneable. Your example works when changing the TestToolTipGenerator implementation as follows: private static class Tes...
by uvoigt
Tue Aug 19, 2014 9:01 am
Forum: JFreeChart
Topic: Small improvement for FixedMillisecond
Replies: 1
Views: 2916

Small improvement for FixedMillisecond

Hi David, I observed that the constructor FixedMillisecond(long) creates a Date object to retrieve the original long value. From my point of view this is not necessary. Although the objects are temporary only it should be faster not to create them. Please find a patch below. Ulrich ### Eclipse Works...
by uvoigt
Mon Aug 18, 2014 9:40 am
Forum: JFreeChart
Topic: Request for commit
Replies: 8
Views: 8324

Re: Request for commit

I will commit this. Do you think there will be any performance issue using the Area class for calculating the intersection? I'm hoping it is smart enough to do some special case handling when it finds that one of the shapes is a rectangle…otherwise we should make use of the fact that we know that o...
by uvoigt
Tue Jul 29, 2014 9:53 am
Forum: JFreeChart
Topic: Some new patches around zooming and panning
Replies: 22
Views: 22427

Re: Some new patches around zooming and panning

Uploaded v7 of the patch. paradoxoffs idea to use the RectangleEdge for the detction if an axis is horizontal or vertical works and simplifies the code in ChartPanel.

The patch is now "workaround-free".
by uvoigt
Mon Jul 28, 2014 10:02 am
Forum: JFreeChart
Topic: Request for commit
Replies: 8
Views: 8324

Re: Request for commit

While testing some changes for the zoom and pan improvment I found out that the entity areas are sometimes wrong for all area renderers.
Please find a patch at https://sourceforge.net/p/jfreechart/patches/312/

I think it's save to commit :-)

Uli
by uvoigt
Sat Jul 26, 2014 11:24 am
Forum: JFreeChart
Topic: Some new patches around zooming and panning
Replies: 22
Views: 22427

Re: Some new patches around zooming and panning

Hi Uli, just a few comments/suggestions from my side. Unfortunately, I don´t have time to try your patches. 1. Your private boolean isVerticalAxisForZooming(AxisEntity axEntity) method in the ChartPanel class can probably be omitted with some very mkinor changes to the code: give ValueAxisEntity cl...
by uvoigt
Mon Jul 21, 2014 4:14 pm
Forum: JFreeChart
Topic: Request for commit
Replies: 8
Views: 8324

Re: Request for commit

david.gilbert wrote:#304 is committed (with changes). Looking at the others.
Hi David,

the changes are ok for me. Thanks!
Uli
by uvoigt
Mon Jul 21, 2014 1:03 pm
Forum: JFreeChart
Topic: Request for commit
Replies: 8
Views: 8324

Re: Request for commit

Hi David,

although it's not a simple patch I also request to commit patch https://sourceforge.net/p/jfreechart/patches/309/

Thanks!
Uli
by uvoigt
Mon Jul 21, 2014 1:01 pm
Forum: JFreeChart
Topic: Some new patches around zooming and panning
Replies: 22
Views: 22427

Re: Some new patches around zooming and panning

I have updated the patch. 1. Axis were not zoomed when the zoom window on the axis has one negative side although it is not the zoomed side. This was the description of my "One minor bug". 2. Removed the global pannable and zoomable handling. I think it is quite special and the implementation in ver...
by uvoigt
Fri Jul 18, 2014 3:02 pm
Forum: JFreeChart
Topic: Axis offsets are not working in combined plots?
Replies: 1
Views: 2750

Axis offsets are not working in combined plots?

Hi, I observed that the axis offsets seems to be ignored for combined plots and the shared axis is drawn too wide. There is a bug for that: http://sourceforge.net/p/jfreechart/bugs/1087/ But the patch of the CombinedDomainXYPlot draw method does not work for me. All combined demo plots show the prob...
by uvoigt
Fri Jul 11, 2014 1:30 pm
Forum: JFreeChart
Topic: Timeseries XY Rotated Plot.
Replies: 1
Views: 3059

Re: Timeseries XY Rotated Plot.

You can invert the domain axis:

Code: Select all

ValueAxis ax = xyplot.getDomainAxis();
ax.setInverted(true);
And you can display the range axis on the right side:

Code: Select all

xyplot.setRangeAxisLocation(AxisLocation.TOP_OR_RIGHT);
That should do the trick.
by uvoigt
Thu Jul 10, 2014 2:17 pm
Forum: JFreeChart
Topic: Request for commit
Replies: 8
Views: 8324

Request for commit

Hi David,

could you please commit the following simple patches so that they are included in JFreeChart 1.0.19?

https://sourceforge.net/p/jfreechart/patches/311/
https://sourceforge.net/p/jfreechart/patches/307/
https://sourceforge.net/p/jfreechart/patches/304/

Thanks!
Uli