message: 274: Improved price axis view renderer drawing
diff: @@ -35,7 +35,6 @@ export class PriceAxisViewRenderer implements IPriceAxisViewRenderer {
  return;
  }
  - const fontSize = rendererOptions.fontSize;
  ctx.font = rendererOptions.font;
  const tickSize = this._data.tickVisible ? rendererOptions.tickLength : 0;
  @@ -48,6 +47,7 @@ export class PriceAxisViewRenderer implements IPriceAxisViewRenderer {
  const textWidth = Math.ceil(textWidthCache.measureText(ctx, text));
  const baselineOffset = rendererOptions.baselineOffset;
  const totalHeight = rendererOptions.fontSize + paddingTop + paddingBottom;
  + const halfHeigth = Math.ceil(totalHeight * 0.5);
  const totalWidth = horzBorder + textWidth + paddingInner + paddingOuter + tickSize;
  let yMid = this._commonData.coordinate;
  @@ -55,7 +55,9 @@ export class PriceAxisViewRenderer implements IPriceAxisViewRenderer {
  yMid = this._commonData.fixedCoordinate;
  }
  - const yTop = yMid - Math.floor(fontSize / 2) - paddingTop - 0.5;
  + yMid = Math.round(yMid);
  +
  + const yTop = yMid - halfHeigth;
  const yBottom = yTop + totalHeight;
  const alignRight = align === 'right';
  