# Canvas Kibana highlight point in bubble chart from dropdown

**URL:** <https://discuss.elastic.co/t/canvas-kibana-highlight-point-in-bubble-chart-from-dropdown/285573>\
**Category:** Kibana\
**Tags:** canvas\
**Created:** [September 30, 2021, 9:54am UTC](https://discuss.elastic.co/t/canvas-kibana-highlight-point-in-bubble-chart-from-dropdown/285573 "2021-09-30T09:54:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MTV](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@MTV](https://discuss.elastic.co/u/MTV)\
**Post date:** [September 30, 2021, 9:54am UTC](https://discuss.elastic.co/t/canvas-kibana-highlight-point-in-bubble-chart-from-dropdown/285573/1 "2021-09-30T09:54:33Z")

</div>

Hi,

I am working with canvas in which I have one dropdown which filters for countries. I have a bubble plot (x and y numeric, and countries as text) with the full data (no filters). The goal is to keep the full data in the bubble plot, and change the only color of the country that I select in the dropdown. I know we can do it in ` Series Style` option manually, but can we link the dropdown values to the series style? something like: `... seriesStyle={seriesStyle label="filters or field name"}`

Thank you in advance!

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [October 25, 2021, 7:49pm UTC](https://discuss.elastic.co/t/canvas-kibana-highlight-point-in-bubble-chart-from-dropdown/285573/2 "2021-10-25T19:49:30Z")

</div>

@corey.robertson / @poff can we please get some help?

Thanks,  
Bhavya

---

<div class="post-metadata">

**Author:** ![Catherine\_Liu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/catherine_liu/32/34294_2.png) [@Catherine\_Liu](https://discuss.elastic.co/u/Catherine_Liu)\
**Post date:** [October 26, 2021, 2:41pm UTC](https://discuss.elastic.co/t/canvas-kibana-highlight-point-in-bubble-chart-from-dropdown/285573/3 "2021-10-26T14:41:34Z")

</div>

There is currently no way to retrieve the currently value of a filter element from within the expression of another element. You can file an enhancement request [here](https://github.com/elastic/kibana/issues/new?assignees=&labels=&template=Feature_request.md)

---

<div class="post-metadata">

**Author:** ![MTV](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@MTV](https://discuss.elastic.co/u/MTV)\
**Post date:** [October 26, 2021, 3:00pm UTC](https://discuss.elastic.co/t/canvas-kibana-highlight-point-in-bubble-chart-from-dropdown/285573/4 "2021-10-26T15:00:56Z")

</div>

Hi @Catherine_Liu Thank you for your reply. Actually I found a way. Just copy the filters and query to the seriesStyle label. Something of the form:

```auto
...
 seriesStyle={seriesStyle label={filters | essql query="select ...." | getCell "field in dropdown"} color="blue" fill=true}
| render

```

And every time I select something from the dropdown, the point in the bubble plot will change to blue.

---

<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:** [November 23, 2021, 3:01pm UTC](https://discuss.elastic.co/t/canvas-kibana-highlight-point-in-bubble-chart-from-dropdown/285573/5 "2021-11-23T15:01:14Z")

</div>

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