How can I show an avergae of values grouped by a term as a line graph

Hi,

I do an average on values grouped by a term and I want to display the results as line graph, meaning points with lines connecting them.

Is it possible in Graph or maybe in another plugin to display something similar to the image? The green line is upgrade_time per a take value (10, 20, …)

avg_upgrade_time_per_take

Also, Is it possible to show another line which is like a threshold, but is calculated as average of another field in a 2nd query? This 2nd line isn’t related to the X-Series