This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Power zoom chart

The zoom power chart doesn't appear to be functioning properly in GC web (Win 10), when you expand the chart in a bike activity the chart graphics appear correctly but all the numerical values are 0. Same issue in both Firefox and Chrome, any idea as to what the problem may be?

Ta

  • Yes, it's broken.

    If you would really need it, then it can be fixed on your own using Local Overrides, other then that you can only wait for them to fix it.

     

    this.data is an array and for this chart in full view, it has elements saved like this:

    Element contains two values, for example:
    0: 0
    1: 134

     

    But the function tries to read named element x using t[a].x:

    getClosestPoint: function (e) {
        for (var t = this.data, i = t.length, a = 0; a < i && !(t[a].x >= e); a++);

     

    So, to make it working, this.data array can be converted to named:
    x: 0
    y: 134

    Or use other version of getClosestPoint reading unnamed element using t[a][0].