isOnValueRange method

bool isOnValueRange(
  1. double bottomBoundValue,
  2. double topBoundValue
)

Whether this chart object is in chart horizontal visible area.

Implementation

bool isOnValueRange(double bottomBoundValue, double topBoundValue) =>
    bottomValue == null ||
    topValue == null ||
    _coversValueRange(bottomBoundValue, topBoundValue) ||
    _isBottomValueOnRange(bottomBoundValue, topBoundValue) ||
    _isTopValueOnRange(bottomBoundValue, topBoundValue);