created advanced graph version with first basic features of
group/aggregate function (avg, min, max, sum) on values, chart type
selection and generic duration settings for graph history