tirkarthi commented on PR #38214:
URL: https://github.com/apache/airflow/pull/38214#issuecomment-2002067064

   The value is calculated by echarts using type option. It only supports 
average, min, max and median values. But since runduration and queued duration 
is calculated in javascript the p50, p70 values can also be calculated to be 
supplied to markline and they can have different colors. As per my 
understanding p50 and median are equivalent which could be more useful than 
average.
   
   https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.type
   
https://math.stackexchange.com/questions/2048470/is-50th-percentile-equal-to-median
   
   Here median is red and average is blue for the same task as above.
   
   
![image](https://github.com/apache/airflow/assets/3972343/7550e032-edaf-46bb-820a-32c8be00fd06)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to