The challenge is that the graph is just the SVG rendering generated by gonum/plot and so we really don't have any way to map a point on the screen back into the original data, without a huge amount of calculating or something. Maybe we can get some direct access to the goplot data that is generated in service of rendering, and figure out how to annotate from there.
The challenge is that the graph is just the SVG rendering generated by gonum/plot and so we really don't have any way to map a point on the screen back into the original data, without a huge amount of calculating or something. Maybe we can get some direct access to the goplot data that is generated in service of rendering, and figure out how to annotate from there.