# Line graph duplicating y-axes legend

**URL:** <https://discuss.elastic.co/t/line-graph-duplicating-y-axes-legend/269117>\
**Category:** Kibana\
**Created:** [April 2, 2021, 3:56pm UTC](https://discuss.elastic.co/t/line-graph-duplicating-y-axes-legend/269117 "2021-04-02T15:56:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jasper\_Tan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jasper_tan/32/79843_2.png) [@Jasper\_Tan](https://discuss.elastic.co/u/Jasper_Tan)\
**Post date:** [April 2, 2021, 3:56pm UTC](https://discuss.elastic.co/t/line-graph-duplicating-y-axes-legend/269117/1 "2021-04-02T15:56:34Z")

</div>

I was trying to create a new visualization using the "Aggregation based \>\> Line Graph". However I encountered a bug where my y-axes legends seems to be duplicating (See axes "N6\_TEMP, N7\_TEMP and N8\_TEMP" in the image below)

Interestingly, the duplication only happens after the 8th y-axes is added. Every subsequent added axes are duplicated.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/a/da4289d30da637dca3fa34f3a78af8c63649f45b.png)

---

<div class="post-metadata">

**Author:** ![Stratoula\_Kalafateli](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stratoula_kalafateli/32/70923_2.png) [@Stratoula\_Kalafateli](https://discuss.elastic.co/u/Stratoula_Kalafateli)\
**Post date:** [April 8, 2021, 9:06am UTC](https://discuss.elastic.co/t/line-graph-duplicating-y-axes-legend/269117/2 "2021-04-08T09:06:30Z")

</div>

Hey @Jasper_Tan, you are on 7,12 right? This is a known bug [[Visualizations] Aggregation based bar charts show same bar twice · Issue #95518 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/95518)

This bug happens only for the charts library that was introduced on 7,12. For now you can go to Advanced Settings and turn on the following switch to switch to the old implementation.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/3/b324c1ef844e1fa1b14b5e0dcec9fec2283e5288.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 6, 2021, 9:06am UTC](https://discuss.elastic.co/t/line-graph-duplicating-y-axes-legend/269117/3 "2021-05-06T09:06:49Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
