code: def datasets(self, visible=True):
          
          if visible is not None:
              return filter(lambda x: x.isVisible(), self._datasets)
          return self._datasets[:]
docs: Returns a list of the data sets that are assigned with this
          chart widget.
          
          :param      visible | <bool>
          
          :return     [<XChartDataSet>, ..]