# Timelion display value Xaxis

**URL:** <https://discuss.elastic.co/t/timelion-display-value-xaxis/83816>\
**Category:** Kibana\
**Created:** [April 27, 2017, 8:20am UTC](https://discuss.elastic.co/t/timelion-display-value-xaxis/83816 "2017-04-27T08:20:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mehdichilla](https://avatars.discourse-cdn.com/v4/letter/m/90db22/32.png) [@mehdichilla](https://discuss.elastic.co/u/mehdichilla)\
**Post date:** [April 27, 2017, 8:20am UTC](https://discuss.elastic.co/t/timelion-display-value-xaxis/83816/1 "2017-04-27T08:20:06Z")

</div>

Hello,

I have a visualization created with timelion, and I need to display a line indicating the value of the X axis (time index).

I am looking for how to recover the value of the X axis.

Thank you all for your help

---

<div class="post-metadata">

**Author:** ![BigFunger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bigfunger/32/7323_2.png) [@BigFunger](https://discuss.elastic.co/u/BigFunger)\
**Post date:** [April 27, 2017, 4:31pm UTC](https://discuss.elastic.co/t/timelion-display-value-xaxis/83816/2 "2017-04-27T16:31:05Z")

</div>

I'm am still a uncertain what you are trying to accomplish. Can you illustrate what you want, ie: take and annotate a screenshot?

---

<div class="post-metadata">

**Author:** ![mehdichilla](https://avatars.discourse-cdn.com/v4/letter/m/90db22/32.png) [@mehdichilla](https://discuss.elastic.co/u/mehdichilla)\
**Post date:** [April 28, 2017, 12:27pm UTC](https://discuss.elastic.co/t/timelion-display-value-xaxis/83816/3 "2017-04-28T12:27:33Z")

</div>

Hello

I hope I will be clearer with the screenshot and timelion code  
In box number 1, I want to display the value of the x-axis (example = time index (10:15))  
In box number 2 when I switch to the graphic with the mouse, I want to show a tooltip of the value of the x-axis (example = 10: 15)  
Screenshot :

 ![](https://us1.discourse-cdn.com/elastic/original/3X/1/5/15768fe03148823a956156b8791079649e5e2300.png)  
code:  
"$application1:---------",( .es(q=$applications1, index=pit\_cache\_idx, timefield=timestamp, metric="sum:callsOffered").label("Appels Présentés").lines(width=0, fill=10).color("#990033").yaxis(2, position="right", label="Nb Appels/Agents"), .es(q=$applications1, index=pit\_cache\_idx, timefield=timestamp, metric="sum:callsAnswered").label("Appels Pris").lines(width=0, fill=10).color("#FFFFCC").yaxis(2), .es(q=$applications2, index=pit\_cache\_idx, timefield=timestamp, metric="sum:callsAnsweredDelay").divide(.es(q=$applications2, index=pit\_cache\_idx, timefield=timestamp, metric="sum:callsAnswered")).lines(1).label("DMR Premier Décroché").color("#000000").fit("carry").yaxis(1, max=180,label="DMR en secondes"), .es(q=$applications3, index=pit\_cache\_idx, timefield=timestamp, metric="sum:callsAnsweredDelay").divide(.es(q=$applications3, index=pit\_cache\_idx, timefield=timestamp, metric="sum:callsAnswered")).label("DMR Transfert").bars().hide().lines(1).yaxis(1), .es(index=pit\_agg\_idx, timefield=timestamp, metric="sum:effectifsPrevus").color("#FF33FF").lines(2).label("Effectifs CAS Prévus").yaxis(2), .es(q=$service, index=pit\_cache\_idx, timefield=timestamp, metric="sum:dureeMission").divide(900).lines(2).bars(width=5).hide(1).color("#FF66FF").label("Nb CAS Mission").yaxis(2), .es(q=$service, index=pit\_cache\_idx, timefield=timestamp, metric="sum:dureeInformation").divide(900).lines(2).label("Nb CAS Information").hide(1).bars(width=5).color("#D2B48C").yaxis(2), .es(q=$service, index=pit\_cache\_idx, timefield=timestamp, metric="sum:dureeInformation").sum(.es(q=$service, index=pit\_cache\_idx, timefield=timestamp, metric="sum:dureeMission")).sum(.es(q=$service, index=pit\_cache\_idx, timefield=timestamp, metric="sum:dureePause")).divide(900).lines(2).bars(width=5,stack=false).color("#FF8C00").hide(1).label("Nb CAS hors prise appel").yaxis(2), .es(q=$service,index=pit\_cache\_idx, timefield=timestamp, metric="sum:dureePostAppel").divide(900).lines(2).label("Nb CAS Post Appel").color("#009900").fit("carry").yaxis(2), .es(q=$service,index=pit\_cache\_idx, timefield=timestamp, metric="sum:dureePause").divide(900).lines(2).label("Nb CAS Pause").color("#FF0000").fit("carry").yaxis(2), .es(q=skillsetId.keyword:10006, index=pit\_cache\_idx, timefield=timestamp, metric="sum:nbCharges").subtract(.es(q=skillsetId.keyword:10109, index=pit\_cache\_idx, timefield=timestamp, metric="sum:nbCharges")).lines(2).label("Nb CAS logues").color("#0000FF").fit("carry").yaxis(2) ).legend(columns=3)  
"  
thank you very much

---

<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 26, 2017, 12:27pm UTC](https://discuss.elastic.co/t/timelion-display-value-xaxis/83816/4 "2017-05-26T12:27:41Z")

</div>

Closed on May 26, 2017, 12:27pm UTC

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