# Can I edit the event onclick over one chart(histogram-piechart)?

**URL:** <https://discuss.elastic.co/t/can-i-edit-the-event-onclick-over-one-chart-histogram-piechart/82178>\
**Category:** Kibana\
**Created:** [April 12, 2017, 2:28pm UTC](https://discuss.elastic.co/t/can-i-edit-the-event-onclick-over-one-chart-histogram-piechart/82178 "2017-04-12T14:28:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gualberto\_Vannini](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gualberto_vannini/32/16122_2.png) [@Gualberto\_Vannini](https://discuss.elastic.co/u/Gualberto_Vannini)\
**Post date:** [April 12, 2017, 2:28pm UTC](https://discuss.elastic.co/t/can-i-edit-the-event-onclick-over-one-chart-histogram-piechart/82178/1 "2017-04-12T14:28:29Z")

</div>

I made an histogram through Kibana and until here everything is fine.

 ![](https://us1.discourse-cdn.com/elastic/original/3X/5/3/53223d486c8a753e3b22500b9344b009c7ef5476.png)

When i click over one column happen this:

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

I really don't like this visual whit just the one REALLY big column so I want to edit the "onclick event" and made like "change color" and doing something like this:

 ![](https://us1.discourse-cdn.com/elastic/original/3X/9/9/99059143909e08c06bfb9a011578b89fe1ca69b5.png)

I want change the event JUST when the results is just one. For example also in this chart the results is terrible and I need some trick to solve it:

 ![](https://us1.discourse-cdn.com/elastic/original/3X/7/9/798f164a4440062d2847a1be278760f75275d2b9.png)  
 ![](https://us1.discourse-cdn.com/elastic/original/3X/6/d/6d725862bbffaa25acb5d644c7634f9d36663e20.png)

All suggestion will be really appreciated!  
Thank you to all

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [April 12, 2017, 6:28pm UTC](https://discuss.elastic.co/t/can-i-edit-the-event-onclick-over-one-chart-histogram-piechart/82178/2 "2017-04-12T18:28:55Z")

</div>

Hi

We do not offer this level of customization right now. It would be worthwhile to file an enhancement request here [https://github.com/elastic/kibana/issues/new](https://github.com/elastic/kibana/issues/new) and also describe your use case there. There is also a similar kind of issue open for customizing visualizations which you could subscribe for . [https://github.com/elastic/kibana/issues/4439](https://github.com/elastic/kibana/issues/4439)

Thanks  
Rashmi

---

<div class="post-metadata">

**Author:** ![Gualberto\_Vannini](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gualberto_vannini/32/16122_2.png) [@Gualberto\_Vannini](https://discuss.elastic.co/u/Gualberto_Vannini)\
**Post date:** [April 13, 2017, 1:21pm UTC](https://discuss.elastic.co/t/can-i-edit-the-event-onclick-over-one-chart-histogram-piechart/82178/3 "2017-04-13T13:21:22Z")

</div>

I want to sugget also:  
**1) the possibility** to add sub-buckets also in the tilemap.  
Actually you can just add geopoint.  
When they are correctly displayed could be interesting trying sub-buckets to have different analysis because many time the point has many other information to show on map.

**2) setup 2 o 3 "Map type"** (e.g. between"Heatmap" and "Scaled circle markers") and switch between them directly from the dashboard with one button.

**3) when I click** in a point of point chart, there is a big mistake because the single point go in the Y axis losing its X data position:  
before the click everything is fine

 ![](https://us1.discourse-cdn.com/elastic/original/3X/3/2/32f7509365adc7b5dc09cce1e9badc14f323d8f4.png)

after the click the point go in the left losing its X position

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

**4) in the piechart** the section "custom label" doesn't work

 ![](https://us1.discourse-cdn.com/elastic/original/3X/7/0/70a72789a02a408e0ce87e4187072f17718a9a38.png)

**5) With an EXTREME zoom** in the tile map I have still cluster point and of course I don't want any clustering with this zoom.  
I suggest that directly in the dashboard will be possibile set the precision because the precision it depends from the zoom that you want to analyze data. For my case I need 7 (for less zoom) and 8 (for big zoom)

precision 7 =\> with this scale i need 8

 ![](https://us1.discourse-cdn.com/elastic/original/3X/7/f/7fb06a3302f1791e9d9051510baae1a7e98e9443.png)

precision 7 = \> with this scale 7 is perfect

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

precision 7 =\> with this scale i need 8

 ![](https://us1.discourse-cdn.com/elastic/original/3X/5/6/56ea72720fbef891bee153128b8e8a7a16c53fee.png)

precision 8 =\> no data visible with this scale

 ![](https://us1.discourse-cdn.com/elastic/original/3X/6/9/6986c4f5a6e5b338f47a7f5651eee483b00a7ad0.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 11, 2017, 1:33pm UTC](https://discuss.elastic.co/t/can-i-edit-the-event-onclick-over-one-chart-histogram-piechart/82178/4 "2017-05-11T13:33:53Z")

</div>

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