Inserting 'data table' ??

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
onderulker
Posts: 13
Joined: Mon May 22, 2006 3:01 pm

Inserting 'data table' ??

Post by onderulker » Wed May 24, 2006 3:41 pm

Hi there,

Inserting data table below the chart is important for me.

Before I have asked if it is possible or not, but I could not take any comment.

I have searched this in forum says that it is impossible. I wonder if there some one who could solve this by some way..

If some could show me a way for doing this I would be very happy..

Regards,

Onder.

onderulker
Posts: 13
Joined: Mon May 22, 2006 3:01 pm

Post by onderulker » Wed May 24, 2006 3:44 pm

There are samples named as Crosshair Demo 1 and 2 in jfreechart demos. There are data tables below the chart. I want to insert a table like that..

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Wed May 24, 2006 3:57 pm

The source code for those demos is included with the JFreeChart Developer Guide, if you want to know exactly how it is done. It's not part of the chart - it just puts a JTable component below the ChartPanel component, and displays them together.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

JohnSColeman
Posts: 3
Joined: Tue Oct 24, 2006 12:32 pm

Post by JohnSColeman » Tue Oct 24, 2006 12:47 pm

david.gilbert wrote:The source code for those demos is included with the JFreeChart Developer Guide, if you want to know exactly how it is done. It's not part of the chart - it just puts a JTable component below the ChartPanel component, and displays them together.
I was just asking about this, and had tried this method. I set the ChartPanel to border layout and put a JTable in the SOUTH border. I also tried a box layout, but the JTable is never shown on the JPanel?

John

Locked