# Event+Select on 2 Bar Plots

**URL:** <https://community.plotly.com/t/event-select-on-2-bar-plots/36846>\
**Category:** Dash Python\
**Created:** [March 28, 2020, 7:28pm UTC](https://community.plotly.com/t/event-select-on-2-bar-plots/36846 "2020-03-28T19:28:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sjpocket](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@sjpocket](https://community.plotly.com/u/sjpocket)\
**Post date:** [March 28, 2020, 7:28pm UTC](https://community.plotly.com/t/event-select-on-2-bar-plots/36846/1 "2020-03-28T19:28:17Z")

</div>

![Screen Shot 2020-03-28 at 3.25.25 PM](https://us1.discourse-cdn.com/flex024/uploads/plot/original/2X/8/828226cfe6466bb806e9189a4d398e6594582958.png)

I have created a bar figure with 2 traces that have the same x-axis values.  
I would like to use the `clickmode= 'event+select'` feature on the layout to highlight the bar traces.  
However, I would like to sync the 2 bar plots so that when you click one, the other one with same x index (date) also gets automatically highlighted.  
Would there be any way to do this?

---

<div class="post-metadata">

**Author:** ![sjpocket](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@sjpocket](https://community.plotly.com/u/sjpocket)\
**Post date:** [March 30, 2020, 8:57pm UTC](https://community.plotly.com/t/event-select-on-2-bar-plots/36846/2 "2020-03-30T20:57:19Z")

</div>

@chriddyp, @Emmanuelle, I’m wondering if you could please help on the question I have above?
