s(transform.viewYToWorldY(viewBottom)));
      for (let curWorldY = 0;
        curWorldY <= maxMajorMark;
        curWorldY += majorMarkHeight) {
        const roundedUnitValue = Math.floor(curWorldY * 1000000) / 1000000;
        const curViewYPositive = transform.worldYToViewY(curWorldY);
        if (curViewYPositive >= viewTop) {
          if (showYAxisLabels) {
            ctx.fillText(roundedUnitValue, viewLeft + AXIS_LABLE_MARGIN_PX,
                curViewYPositive - AXIS_LABLE_MARGIN_PX);
          }