pointToPixelX method

  1. @nonVirtual
double pointToPixelX(
  1. num x,
  2. num y
)

Implementation

@nonVirtual
double pointToPixelX(num x, num y) {
  return isTransposed
      ? yAxis!.pointToPixel(y, range: yAxis!.effectiveVisibleRange)
      : xAxis!.pointToPixel(x, range: xAxis!.effectiveVisibleRange);
}