anchor.diff:      }
   
       if (data.clipToBorder) {
  -      /// save layer to clip it to border after lines drew
         canvas.saveLayer(Rect.fromLTWH(0, -40, size.width + 40, size.height + 40), Paint());
  +
  +      clipToBorder(canvas, size);
       }
   
       super.paint(canvas, size);
  
positive.code: 
        drawTouchTooltip(canvas, size, data.lineTouchData.touchTooltipData, topSpot, tooltipSpots);
      }
    }
  
    void drawBarLine(Canvas canvas, Size viewSize, LineChartBarData barData) {
  
negative.code:     }
  
      if (data.clipToBorder) {
        canvas.restore();
      }
  
  