I am looking for a Julia charting package that allows the user to click on a point in the chart (a bar in a barplot for example). Then send an event that I can interactively receive and interpret which bar was clicked on to then produce another chart of whatever I would like.
I have found interactive Julia packages which go the other way. Put a widget on the screen and the user can change a slider for example to change chart. But not clicking on chart.
PyPlot
wraps matplotlib, and matplotlib supports event handling. Read the matplotlib event handling docs here. This is has all the functionality from their first example translated into Julia. You may want to refer to the[PyCall
docs]2 to read about thepyobject[:symbol]
syntax.The last six lines are from me clicking randomly on the blank figure that appeared. I suggest looking at the "Object Picking" section.