# Line chart is not working with Split Series with Y axis in percentage mode

**URL:** <https://discuss.elastic.co/t/line-chart-is-not-working-with-split-series-with-y-axis-in-percentage-mode/177491>\
**Category:** Kibana\
**Created:** [April 18, 2019, 2:52pm UTC](https://discuss.elastic.co/t/line-chart-is-not-working-with-split-series-with-y-axis-in-percentage-mode/177491 "2019-04-18T14:52:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sadaiyandi\_r](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sadaiyandi_r/32/44403_2.png) [@sadaiyandi\_r](https://discuss.elastic.co/u/sadaiyandi_r)\
**Post date:** [April 18, 2019, 2:52pm UTC](https://discuss.elastic.co/t/line-chart-is-not-working-with-split-series-with-y-axis-in-percentage-mode/177491/1 "2019-04-18T14:52:25Z")

</div>

I would like to visualize this graph x-axis as percentage and y-axis as latency with an interval of 100 but the plot is coming in a straight line

Please help me to resolve the problem

 ![Untitled](https://us1.discourse-cdn.com/elastic/original/3X/5/d/5d917d15037667a1c020b5dc2ab189a31285cd32.png) ![x%20axis](https://us1.discourse-cdn.com/elastic/original/3X/d/a/dab2d13f3dccdcd02d0f1a75e1de0d59fea33bb1.png) ![y-axis](https://us1.discourse-cdn.com/elastic/original/3X/4/b/4bf3ccf6bc342494677b423a0e0d8a96a72b94d9.png)

---

<div class="post-metadata">

**Author:** ![joshdover](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joshdover/32/42020_2.png) [@joshdover](https://discuss.elastic.co/u/joshdover)\
**Post date:** [April 19, 2019, 9:17pm UTC](https://discuss.elastic.co/t/line-chart-is-not-working-with-split-series-with-y-axis-in-percentage-mode/177491/2 "2019-04-19T21:17:01Z")

</div>

It looks like you have specified "Split Series" instead of what you would like the X-Axis to be. Try this:

- Click the red "X" to the right of the "Split Series" panel
- Click "X-Axis" under the "Buckets" options
- Specify how you would like to calculate the x-axis data

---

<div class="post-metadata">

**Author:** ![sadaiyandi\_r](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sadaiyandi_r/32/44403_2.png) [@sadaiyandi\_r](https://discuss.elastic.co/u/sadaiyandi_r)\
**Post date:** [April 20, 2019, 10:31pm UTC](https://discuss.elastic.co/t/line-chart-is-not-working-with-split-series-with-y-axis-in-percentage-mode/177491/3 "2019-04-20T22:31:48Z")

</div>

Thanks for your reply. I have attached my intended graph but I would like to have y-axis in percentage mode.

 ![intended%20graph](https://us1.discourse-cdn.com/elastic/original/3X/4/7/47ca0c63de718d6f309678684e2d9c493f2c0851.png)  
 ![i-graph-x](https://us1.discourse-cdn.com/elastic/original/3X/a/8/a8eb7324e781956818b620b15eb5f682f9b469ac.png) ![i-graph-y](https://us1.discourse-cdn.com/elastic/original/3X/0/b/0b9f83e305a73d2bf494746b8445f3f6110dddcd.png) ![i-graph-y-normal](https://us1.discourse-cdn.com/elastic/original/3X/3/e/3efb2c5c4ba7441191aee8b0e29e17508fb5a559.png)

When I changed to the y-axis in percentage mode but I get this graph as you instructed and it doesn't help me.

 ![i-graph-y-percentage](https://us1.discourse-cdn.com/elastic/original/3X/7/2/72fbd4d16b220367316f71804cbdba6315955518.png)  
 ![latency-percent](https://us1.discourse-cdn.com/elastic/original/3X/6/f/6ffcbdbc60891534a9b4800b501914806dd1d357.png)

I'm looking forward to your answers.

---

<div class="post-metadata">

**Author:** ![joshdover](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joshdover/32/42020_2.png) [@joshdover](https://discuss.elastic.co/u/joshdover)\
**Post date:** [April 22, 2019, 3:05pm UTC](https://discuss.elastic.co/t/line-chart-is-not-working-with-split-series-with-y-axis-in-percentage-mode/177491/4 "2019-04-22T15:05:00Z")

</div>

Hi there,

If you're using "percentage" mode with a single series, it will always be 100% because it is graphing each series as a % of the whole.

If you just want to know what each series is as a % of the whole, I think what you may want is to set Y-Axis to use the "Count" aggregation instead of "Cumulative Sum" and then use percentage mode. You'll need to add back the "Split Series" again by clicking on the "Add sub-buckets" button.

When looking at latency distributions, it's often useful to use histograms and percentiles rather than % of the whole. My favorite view is a histogram which gives you a holistic view of how the system is performing. You can create this with a "Count" Y-Axis and a "Histogram" X-Axis on the latency field.

Here are some posts from our blog about visualizing this type of information:

- [https://www.elastic.co/blog/averages-can-dangerous-use-percentile](https://www.elastic.co/blog/averages-can-dangerous-use-percentile)
- [https://www.elastic.co/guide/en/kibana/current/metric-chart.html](https://www.elastic.co/guide/en/kibana/current/metric-chart.html)

---

<div class="post-metadata">

**Author:** ![sadaiyandi\_r](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sadaiyandi_r/32/44403_2.png) [@sadaiyandi\_r](https://discuss.elastic.co/u/sadaiyandi_r)\
**Post date:** [April 23, 2019, 7:59am UTC](https://discuss.elastic.co/t/line-chart-is-not-working-with-split-series-with-y-axis-in-percentage-mode/177491/5 "2019-04-23T07:59:47Z")

</div>

Hi joshdover,

Thank you so much for your reply. Solution which you provided is not working.

 ![final](https://us1.discourse-cdn.com/elastic/original/3X/5/9/59ad3199a3cf478feb66eeab417100006777fec6.png)

I'm looking forward to your answer.

---

<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 21, 2019, 7:59am UTC](https://discuss.elastic.co/t/line-chart-is-not-working-with-split-series-with-y-axis-in-percentage-mode/177491/6 "2019-05-21T07:59:52Z")

</div>

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