I'm going to write an application, that will visualize data. And I have an idea for it but not quite sure if it is achievable. So, what my program is supposed to do:
Does anybody have any idea is that even achievable and reasonable? If yes, then how? Do any of the chart libraries like JFreeChart support functionality like that?
Feel free to ask supporting questions.
Use a GridLayout
for the enclosing panel. Add instances of ChartPanel
or JLabel
as indicated. Override getPreferredSize()
, as suggested here, to let the chart define the unit size. Add a ChartMouseListener
, as suggested here, to detect clicks in the charts. In the listener, add the chart to a suitable modal dialog, e.g. JOptionPane
.