... the user friendly GPS tool


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Autorange Y-Axis don't work as expected [Solved]
#1
Hello,

Autorange Y-Axis don't work as expected (nor "Both Axes" or with "Range Axe").

I have a gpx track with points with Elevation between 698m to 845m.
When I click Autorange "Both Axes" or "Range Axe" I expect the chart between (more or less) this values but I always get the chart starting in 0m so it lose "the perspective".

RouteConverter 2.18.5
   

Example of expected Chart:
   

I've been watching this for several versions.
¿have I do any change in RouteConverter parameters? ¿Does not work this function with gpx tracks?

I attached the expected chart and the track get from
http://es.wikiloc.com/wikiloc/view.do?id=4714360

Thank you very much for your very good program, best in class.


Attached Files
.gpx   Track.gpx (Size: 21.98 KB / Downloads: 1,005)
Reply
#2
(08.09.2016, 13:14)V.V.V. Wrote: Autorange Y-Axis don't work as expected (nor "Both Axes" or with "Range Axe").

Unfortunately, your zoom-in-as-much-as-possible is not the default behaviour that the JFreeChart library offers with the Autorange actions. I could have removed it but since it's useful to some people I've kept it. Reimplementing is not an option, have a look at the code and you know, what I mean.

(08.09.2016, 13:14)V.V.V. Wrote: When I click Autorange "Both Axes" or "Range Axe" I expect the chart between (more or less) this values but I always get the chart starting in 0m so it lose "the perspective".

Autorange currently means: range from 0 to the largest value.

(08.09.2016, 13:14)V.V.V. Wrote: I've been watching this for several versions.
¿have I do any change in RouteConverter parameters? ¿Does not work this function with gpx tracks?

This has always been like this.

(08.09.2016, 13:14)V.V.V. Wrote: Thank you very much for your very good program, best in class.

Thank you :-)
--
Christian
Reply
#3
Thank you very much for you explanation.

It's true, Stackoverflow is plenty of questions over JFreechart autorange.
Some try to fix with setIncludeBaseInRange(false).
Others with setAutoRangeIncludesZero(false) or, in the same link, finally make the "roundabout" the setting the limits before call the graphic function.
Reply
#4
(18.09.2016, 20:17)V.V.V. Wrote: Others with setAutoRangeIncludesZero(false) or, in the same link, finally make the "roundabout" the setting the limits before call the graphic function.

I've tried this with the latest prerelease which I've just uploaded. Please test and report.
--
Christian
Reply
#5
(24.10.2016, 19:55)routeconverter Wrote:
(18.09.2016, 20:17)V.V.V. Wrote: Others with setAutoRangeIncludesZero(false) or, in the same link, finally make the "roundabout" the setting the limits before call the graphic function.

I've tried this with the latest prerelease which I've just uploaded. Please test and report.

It works fine. It's just I needed.[Image: biggrin.gif]

Sure that a lot of bikers, RouteConverter users, welcome this improvement.

Thank you very much.[Image: rolleyes.gif]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)