def add_dataset(self, key, values, color=None):
        d = dict(key=key, values=values)
        if color:
            d['color'] = color
        self.data.append(d)
:param key: dataset name
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/reports/graph_models.py/LineChart.add_dataset