num get xMax => xRange.maximum;
set xMax(num value) { if (xRange.maximum != value) { xRange.maximum = value; xAxis?._needsRangeUpdate = true; } }