Added methods to initilize the chart and reset it
If a new file is impoted, a new chart series is added to the chart