Change height scale in route profile displayFORUMS HOME SEARCH FORUMS

Total posts in this topic: 9
Showing newest posts first - Show oldest first
Sign in to post to this topicSIGN IN

ADVERT
    Page: 
    • 1
  • Photo
    Julien Plotaroute   Wednesday 12 Aug 2026 13:39:04

    Hi Peter,

    I'm very sorry for the late reply. I was on sick leave for the past few weeks and am now catching up on the forum, while the team focused on the help desk in my absence.

    Thanks so much for investigating this bug extensively!
    I'll report the bug right away and bring this to the dev team's attention.

    All the best,
    Julien

  • Photo
    Peter Sutcliffe   Saturday 01 Aug 2026 23:43:45

    The offending logic (I think):

    function loadMinYSlider() {
        if (0 >= LowestPoint.Ele)
            $("#ChartBody").css("left", "0px");
        else {
            var a = 0
              , b = LowestPoint.Ele
              , c = 0
              , e = $("#QS_miny").val();
            !isNaN(e) && 0 < parseFloat(e) && (c = parseInt(e),
            "feet" == $("#QS_ele").val() && (c = Math.round(c / 3.280839)),
            c > b && (c = b),
            c *= -1);
            a *= -1;
            b *= -1;
            $("#MinYBar").empty();
            $("#MinYBar").noUiSlider({
                handles: 1,
                range: [b, a],
                start: c,
                step: 1,
                orientation: "vertical",
                slide: function() {
                    updateMinMaxYLabels()
                },
                set: function() {
                    refreshElePlotData()
                }
            });
            $("#ChartYScalePanel").show("slow");
            updateMinMaxYLabels()
        }
    }

  • Photo
    Peter Sutcliffe   Saturday 01 Aug 2026 23:36:25

    Further investigation has, I think, revealed the cause.  If a route has a lowest elevation point of 0 or below, then this is when the issue manifests itself. There is javascript in the page that seems to bear this out. Perhaps the limit should be adjusted.

  • Photo
    Peter Sutcliffe   Saturday 01 Aug 2026 22:41:10

    When I visit the route profile page, some of my routes show an auto button in the top left corner of the elevation plot, and clicking on this button brings up a dialog that allows me to set the max Y manually, after which the button shows the max Y setting.  However, this is not offered on others of my routes and I cannot identify any factor that differentiates the one set of routes from the other. On the routes with the issue, no button is visible at all and neither is the text 'Max. Y' which is usually shown above it.

    In order to investigate this, if you require it, I can make a couple of the routes Public so that you can see for yourself. The problem applies to both desktop and mobile versions.

    I did some preliminary investigation using the browser's development tools and found the following that may be useful to your development team.


    For certain routes, the Y‑scale control panel (#ChartYScalePanel) is being hidden because the stylesheet rule:

    css
    #ChartYScalePanel { display: none; }
    is applied and no JavaScript overrides it. As a result, the Auto Y‑scale button is not displayed.

    When I manually change the element to:

    css
    display: block;
    in the browser’s developer tools, the Auto button immediately appears and works normally.

    There doesn’t appear to be a data‑driven reason for the panel to be suppressed. The logic that decides whether to show the Y‑scale panel seems to be misfiring for certain routes.

    This behaviour is reproducible across multiple routes.

    Thanks, Peter

  • Photo
    Topic
    Creator
    Chris Gill   Sunday 19 Jul 2026 10:16:00

    In Opera, at least, clicking on 250 does the trick. Thanks!

  • Photo
    Julien Plotaroute   Tuesday 30 Jun 2026 08:33:36

    Hi Chris,

    From what I can see, there is no Max. Y button as such, but just below Max. Y, you can either click on Auto (if no value has been set) or on the value (if you're not using auto).

    So, on one browser, try clicking on "Auto", and on the other, try clicking on "250".

    Let me know how it goes.

    Kind regards,
    Julien

  • Photo
    Topic
    Creator
    Chris Gill   Monday 29 Jun 2026 15:49:40

    18 months on, the Max Y button is no longer visible. One of my browsers is using a fixed max altitude of 250m, the other appears to be set to auto. how can I get the Max Y button to show again?

  • Photo
    Topic
    Creator
    Chris Gill   Friday 08 Nov 2024 14:30:06

    Got it! In the top left corner of the profile display is a tiny label "Max Y". Click on that and you get to set Max Y (or set it to Auto).

  • Photo
    Topic
    Creator
    Chris Gill   Friday 08 Nov 2024 10:09:14

    I've somehow managed to get the route profile showing a max altitude of 2000m, which isn't great for routes in coastal England. I'm pretty sure it hasn't always been this way, but I cannot see how to change it to the 400/500m I would prefer. Help!

Page: 
  • 1
ADVERT