Fixed line charts

Created a variable to store the y base from which to fill the dataset