wDataset.data.push(randomScalingFactor());
        }

        config.data.datasets.push(newDataset);
        window.myLine.update();
    });

    $('#addData').click(function() {
        if (config.data.datasets.length > 0) {
            var month = MONTHS[config.data.labels.length % MONTHS.length];
            config.data.labels.push(month);

            for (var index = 0; index < config.data.datasets.length; ++index) {
                config.data.datasets[index].data.push(randomScalingFactor());
        