add new setting Fit to plot settings. In order to place html select menu besides its name, update the width of the three colums to allow for the extra space needed
remove all separate plot instances from all individual plot type selection and use only one function call after all if statements. Set only the data to be used in the if statements. And set variable to fit selection, in order to start using regression script. And add none value to fit selection if no fit is wanted
update comment to better reflect structure of multidimensional arrays
Make distiction between single- and multidimensional array when fitting