code: private void overrideMinMaxForXAxis() {
  
      double overrideXAxisMinValue = xAxis.getMin();
      double overrideXAxisMaxValue = xAxis.getMax();
      // override min and maxValue if specified
      if (chart.getStyler().getXAxisMin() != null) {
  
        overrideXAxisMinValue = chart.getStyler().getXAxisMin();
      }
      if (chart.getStyler().getXAxisMax() != null) {
  
        overrideXAxisMaxValue = chart.getStyler().getXAxisMax();
      }
      xAxis.setMin(overrideXAxisMinValue);
      xAxis.setMax(overrideXAxisMaxValue);
    }
docs: Here we can add special case min max calculations and take care of manual min max settings.