Bar chart selection with additional element

Hello!

I am wondering is there any way to add additional element to bar chart when clicking on element? I imagine getting something similar to prototype

Only thing I was able to do is changing clicked bar, but I wonder if there is any way to add external selection.

Here’s how (using layout.shapes): http://codepen.io/etpinard/pen/yJMrwO

1 Like

Thank you very much, this is exactly what I was looking for!

1 Like

Is there any way I can apply that under the axis also (can be spotted on X axis on attached screenshot in first post)?

Yep, you just need to tweak the shape’s y0 value to something less than 0.

Here’s an example: http://codepen.io/etpinard/pen/ezvaJR

1 Like