# How to put Threshold into Legend

**URL:** <https://community.grafana.com/t/how-to-put-threshold-into-legend/116832>\
**Category:** Time Series Panel\
**Created:** [March 12, 2024, 10:50pm UTC](https://community.grafana.com/t/how-to-put-threshold-into-legend/116832 "2024-03-12T22:50:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rambo193](https://avatars.discourse-cdn.com/v4/letter/r/9fc29f/32.png) [@rambo193](https://community.grafana.com/u/rambo193)\
**Post date:** [March 12, 2024, 10:50pm UTC](https://community.grafana.com/t/how-to-put-threshold-into-legend/116832/1 "2024-03-12T22:50:44Z")

</div>

I want to build something like this.

![image](https://us1.discourse-cdn.com/grafana/original/3X/f/1/f18e3aae0d5d2b9e38a59db02e826490e7b60cc5.jpeg)

I have one influxdb v2 Database with 1 measurement containing all Values. Positive and Negative  
I split this into 2 Queries. One for positives values, one for negatives.

Now im getting this

 ![image](https://us1.discourse-cdn.com/grafana/original/3X/9/5/950901a8252aac5d4760259eafcddb62a422bb74.png)

But now grafana is connecting the dots of each query seperatly.

Dont know how to solve this. Any Ideas?
