Hello
well this isn't the entire code but only the code to generate the graph!
the queries to the database tables were removed!
but the queries return the following values
$datavalues --> The evaluation values of the chart
The fake values (i add) is an array containing values that are continously 0! This array is also a line plot but not in the visible scope of the graph! I use this trick to prevent the graph from autoscaling horizontaly (if i wouldn't do this the graph would be spread over the entire width, even if there were only some values)