I have a bar I created with chrat js react wrapper. how can I make that when you press a culumn, a function is triggered?
for example a function that alert the index