Bugs item #2827069, was opened at 2009-07-25 18:37
Message generated for change (Settings changed) made by craio
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=115494&aid=2827069&group_id=15494
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General
Group: 1.0.x
>Status: Closed
>Resolution: Works For Me
Priority: 5
Private: No
Submitted By: Craio (craio)
Assigned to: Nobody/Anonymous (nobody)
Summary: Panning when using a periodaxis
Initial Comment:
Not sure if this is a bug or that i'm doing something wrong.
When trying to pan the axis is zoomed aswell.
Attached a modified demo file that illustrates the bug.
The problem is much more present when there is data for every minute (or shorter) then when there's data every hour (or longer).
----------------------------------------------------------------------
Comment By: Craio (craio)
Date: 2009-08-20 11:20
Message:
Not sure if this is the correct way of solving this, but it works.
Added my altered PeriodAxis.java
- A private long has been added
- line 357 has been added
- added pan( percent) which overrides the one in valueaxis
----------------------------------------------------------------------
Comment By: Craio (craio)
Date: 2009-08-14 09:59
Message:
Tried to figure out what is causing it myself.
I think it has something to do with .setAutoRangeTimePeriodClass( setting
and how this is handled when panning / changing the range of a periodaxis.
Range adjustments that are requested seem to get rounded down (or up) to
match the period of the autorange (so if autorange is 1 hour its 3600000).
Because this happens, this goes wrong when the percentile range adjustment
gets rounded down differently then rounded up. Meaning for example the
lower limit changes but the upper limit stays the same (or other way
around).
I've made a workaround (changing the void panDomainAxes( method in
XYplot).
But this is a rather ugly solution. When i manage to make it cleaner i'll
post it.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=115494&aid=2827069&group_id=15494
|