I'd like to display a table of data under my chart which is not based on the dataseries.
I've tried to use the ChartPanel and set a layout manager like Border or Box, and add a JTable component, but I can't seem to get the table to display.
It seems the ChartPanel does not work like a regular JPanel. Any ideas how to get the table to show please?
John
data table
Have you tried something like this yet?
Code: Select all
JPanel pnl = new JPanel();
pnl.add(chartPanel, BorderLayout.CENTER);
pnl.add(randomTable, BorderLayout.SOUTH);