code: def drawForeground(self, painter, rect):
          
          chart = self.chart()
          chart._drawForeground(self, painter, rect)
docs: Draws the foreground for the chart scene.
          
          :param      painter | <QPainter>
                      rect    | <QRect>