# Plotting chart with influxDB tag values on Y-axis

**URL:** <https://community.grafana.com/t/plotting-chart-with-influxdb-tag-values-on-y-axis/19386>\
**Category:** InfluxDB\
**Created:** [July 16, 2019, 8:36pm UTC](https://community.grafana.com/t/plotting-chart-with-influxdb-tag-values-on-y-axis/19386 "2019-07-16T20:36:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sirajshe](https://avatars.discourse-cdn.com/v4/letter/s/7bcc69/32.png) [@sirajshe](https://community.grafana.com/u/sirajshe)\
**Post date:** [July 16, 2019, 8:36pm UTC](https://community.grafana.com/t/plotting-chart-with-influxdb-tag-values-on-y-axis/19386/1 "2019-07-16T20:36:03Z")

</div>

Hello,

I have the following data coming into influxDB every 2 mins to record the health of a particular website/API call.

HTTP\_CODE=200,BYTES=1258 value=0.783 1563301033000000000  
HTTP\_CODE=200,BYTES=1258 value=0.127 1563301153000000000  
HTTP\_CODE=500,BYTES=2400 value=0.987 1563301273000000000  
HTTP\_CODE=503,BYTES=2400 value=0.577 1563301393000000000  
HTTP\_CODE=200,BYTES=1258 value=1.277 1563301513000000000

I am trying to plot multiple charts based HTTP\_CODE and value to see how the http\_code and value varies over a period of time. But I am not able to get anything other than the “value” to Y-axis. Is that even possible ? Following feature request showed up in my searches multiple times, though this is not exactly what I am looking for. Appreciate any help on this topic !

> <https://github.com/grafana/grafana/issues/9292>

---

<div class="post-metadata">

**Author:** ![sirajshe](https://avatars.discourse-cdn.com/v4/letter/s/7bcc69/32.png) [@sirajshe](https://community.grafana.com/u/sirajshe)\
**Post date:** [July 16, 2019, 8:39pm UTC](https://community.grafana.com/t/plotting-chart-with-influxdb-tag-values-on-y-axis/19386/2 "2019-07-16T20:39:46Z")

</div>

The only way I could see this happening is by creating a query like,

select value, tag1 from measure1

and then creating a legend and click on the “tag1” legend. This was tried just to see that tag values can indeed be plotted, but I am assuming there will be a better way to do this.
