I want to open the popup on click of points in jchartfx to display the detail information about that point. How can i pass the unique id to display the detail information dynamically?
I want to open the popup on click of points in jchartfx to display the detail information about that point. How can i pass the unique id to display the detail information dynamically?
I'm not sure about performing it on click, but the jChartFX samples include a downloadable example (with some code) of doing this via tooltips (i.e. on hover).
Basically, you need to handle the 'gettip' event:
The handler should create a div with the content for your tooltip:
Regarding your specific question, the data point that the tooltip relates to is available via
args.getPoint().