Describe the solution you'd like
In Observability, we have a number of new machine learning anomaly jobs that will be showing anomaly results in various chart types in Observability. On top of this, we have just implemented time-series annotations that use a similar feature like the annotation functionality in Elastic Charts.

Example of deployment annotation in APM
We have a design concept where we want to annotate the highest anomaly score per bucket of time in the chart, but filter so we only show when the score is larger than X. The concept shows the annotation without a vertical line but adjacent to the bottom of the chart.

Describe alternatives you've considered
Initially, we have considered using a vertical highlighting of the anomalies, similar to the existing implementation of anomaly detection in APM. But because we have several lines, annotations and colors all at once, the anomaly scores can very easily clutter on top of the actual data.

Additional context
We're mentioning an APM use case, but there's also an existing use case in Logs within Observability and we'll only see more annotations throughout Observability solutions in the near-term.
Kibana Cross Issues
Checklist
Describe the solution you'd like
In Observability, we have a number of new machine learning anomaly jobs that will be showing anomaly results in various chart types in Observability. On top of this, we have just implemented time-series annotations that use a similar feature like the annotation functionality in Elastic Charts.
Example of deployment annotation in APM
We have a design concept where we want to annotate the highest anomaly score per bucket of time in the chart, but filter so we only show when the score is larger than X. The concept shows the annotation without a vertical line but adjacent to the bottom of the chart.
Describe alternatives you've considered
Initially, we have considered using a vertical highlighting of the anomalies, similar to the existing implementation of anomaly detection in APM. But because we have several lines, annotations and colors all at once, the anomaly scores can very easily clutter on top of the actual data.
Additional context
We're mentioning an APM use case, but there's also an existing use case in Logs within Observability and we'll only see more annotations throughout Observability solutions in the near-term.
Kibana Cross Issues
Checklist
every related Kibana issue is listed underKibana Cross Issueslistkibana cross issuetag is associated to the issue if any kibana cross issue is present