# Trend line size

**URL:** https://discuss.elastic.co/t/trend-line-size/28765
**Category:** Kibana
**Created:** [September 7, 2015, 10:07am UTC](https://discuss.elastic.co/t/trend-line-size/28765 "2015-09-07T10:07:04Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![peterbergman](https://avatars.discourse-cdn.com/v4/letter/p/919ad9/32.png) [@peterbergman](https://discuss.elastic.co/u/peterbergman)
#### Post date: [September 7, 2015, 10:07am UTC](https://discuss.elastic.co/t/trend-line-size/28765/1 "2015-09-07T10:07:04Z")

</div>

Hi,  
I use a trend line visualization to trend different values over time. I have set the size to 5, but the legend shows more entries than just the top 5. See attached screenshot. Shouldn't the size property limit it to just 5?

![](https://us1.discourse-cdn.com/elastic/original/2X/6/6ed266cf13638ed384303626d4aab27e70a6455e.png)

Kind regards,  
Peter

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [September 7, 2015, 10:16am UTC](https://discuss.elastic.co/t/trend-line-size/28765/2 "2015-09-07T10:16:54Z")

</div>

Try splitting the lines and then doing a date histogram after that?

---

<div class="post-metadata">

### Author: ![peterbergman](https://avatars.discourse-cdn.com/v4/letter/p/919ad9/32.png) [@peterbergman](https://discuss.elastic.co/u/peterbergman)
#### Post date: [September 7, 2015, 10:22am UTC](https://discuss.elastic.co/t/trend-line-size/28765/3 "2015-09-07T10:22:19Z")

</div>

Thanks, that did the trick!

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [September 7, 2015, 10:22am UTC](https://discuss.elastic.co/t/trend-line-size/28765/4 "2015-09-07T10:22:41Z")

</div>

I learnt that from @tbragin 😃

---

<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: [July 6, 2017, 2:13pm UTC](https://discuss.elastic.co/t/trend-line-size/28765/5 "2017-07-06T14:13:40Z")

</div>


