Searched refs:zeroY (Results 1 – 2 of 2) sorted by relevance
68 const zeroY = MARGIN_TOP + RECT_HEIGHT / (data.minimumValue < 0 ? 2 : 1); constant71 let lastY = zeroY;102 const nextY = zeroY - Math.round((value / yRange) * RECT_HEIGHT);111 ctx.lineTo(endPx, zeroY);120 ctx.moveTo(0, zeroY);121 ctx.lineTo(endPx, zeroY);141 const y = zeroY - Math.round((this.hoveredValue / yRange) * RECT_HEIGHT);
71 const zeroY = MARGIN_TOP + RECT_HEIGHT; constant74 let lastY = zeroY;101 const nextY = zeroY - Math.round((value / yMax) * RECT_HEIGHT);114 ctx.lineTo(finalX, zeroY);115 ctx.lineTo(endPx, zeroY);129 const lastY = zeroY - Math.round((value / yMax) * RECT_HEIGHT);150 const y = zeroY - Math.round((this.hoveredValue / yMax) * RECT_HEIGHT);