anchor.diff:          break;
   
         case BarChartAlignment.spaceAround:
  -        final double sumWidth = barGroups.map((group) => group.width).reduce((a, b) => a + b);
  -        final double spaceAvailable = drawSize.width - sumWidth;
  -        final double eachSpace = spaceAvailable / (barGroups.length * 2);
  -
  -        double tempX = 0;
  +        final sumWidth = barGroups.map((group) => group.width).reduce((a, b) => a + b);
  +        final spaceAvailable = drawSize.width - sumWidth;
  +        final eachSpace = spaceAvailable / (barGroups.length * 2);
  +
  +        var tempX = 0.0;
           barGroups.asMap().forEach((i, group) {
             tempX += eachSpace;
             tempX += group.width / 2;
  
positive.code:             final from = barRod.backDrawRodData.gradientFrom;
              final to = barRod.backDrawRodData.gradientTo;
  
              List<double> stops = [];
              if (barRod.backDrawRodData.colorStops == null ||
                  barRod.backDrawRodData.colorStops.length != barRod.backDrawRodData.colors.length) {
                /// provided colorStops is invalid and we calculate it here
  
negative.code:       return;
      }
  
      final span = TextSpan(style: tooltipItem.textStyle, text: tooltipItem.text);
      final tp = TextPainter(
          text: span,
          textAlign: TextAlign.center,
          textDirection: TextDirection.ltr,
  