Plotting relationships ala Visio?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Guest

Plotting relationships ala Visio?

Post by Guest » Wed Sep 29, 2004 8:01 pm

I'm just checking out JFreeChart, it looks fabulous for charting data series'!

Though I'm happy to add JFreechart to my familiar toolbelt, my initial interest was in something I gather to be slightly different. I'm looking for a Java-based tool which will auto-generate relationship charts. An easy example to give is class hierarchies in an OO language like Java. If I could feed it a data set of "this entity owns that entity, extends that entity, etc", then the tool could draw an optimal chart of boxes (or other symbols), optimally arranged and with lines between them, to show relationships.

Another good example for this tool (actually, why I came here) is to diagram trust relationships in a PKI infrastructure (certificate chains).

Can someone confirm that JFreeChart doesn't do this (I already gather it doesn't), and furthermore, can someone recommend another tool (Java l ibrary, open source) which might provide it?

Thank you,
Bryan

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 Sep 29, 2004 9:12 pm

I haven't used it, but JGraph might do what you want:

http://www.jgraph.com/
David Gilbert
JFreeChart Project Leader

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

kulsi
Posts: 7
Joined: Sat Nov 20, 2004 7:53 pm

JFreeChart and JGraph

Post by kulsi » Sat Nov 20, 2004 8:51 pm

I was wondering if anyone has used jgraph and jfreechart together? I was thinking to show the relationship between quantity and links.

drz_432

jgraph / trendlines

Post by drz_432 » Mon Jan 17, 2005 9:52 am

Yes, I would like to know if anyone has attempted to combine jgraph and jfreechart as well. This would allow jgraph to superimpose objects such as trendlines on top of the jfreechart charts. Basically, swing applications would have much better interactivity with the charts.

Thanks,

John

bensond
Posts: 7
Joined: Wed Jan 19, 2005 4:12 pm
Location: England
Contact:

Post by bensond » Wed Jan 19, 2005 5:24 pm

Hi,

Interesting idea. I've played with JGraph and JFreechart in a product, including making charts nodes on a JGraph. I'm not so sure about having the two components at the same logically level in an app, the two products would be very hard to bring together graphically, the underlying models are fundamentally different.

Kind Regards,

David

drz_432

JGraph / JFreechart Integration

Post by drz_432 » Fri Jan 21, 2005 10:55 pm

Perhaps an adapter can be written that would bridge JGraph with JFreechart ?

Alternatively, the two models can exist independently. If there was some way of merging the display buffer of the two products and rendering the final result, that would be good as well.

Let me know if anyone has tried this or would like to try this.

Thanks !

-- John

bensond
Posts: 7
Joined: Wed Jan 19, 2005 4:12 pm
Location: England
Contact:

Post by bensond » Sat Jan 22, 2005 10:24 am

Hi,

Why would the models of the two packages need to communicate? They hold fundamentally difference information, one package would require changes to make sense of it. I'm still not sure what application would need this, would be very interested in hearing ideas.

Kind Regards,

David

drz_432

JGraph / JFreechart Integration

Post by drz_432 » Mon Jan 24, 2005 7:49 pm

Stockmarket apps would benefit from this integration (perhaps this belongs in the stockmarket forum...)

Different trendlines (i.e. line, Gann Fan, Fibonacci Fan, etc.) could be drawn and manipulated on top of the charts. Actually, I don't even know if JGraph would be able to do the more complex trendlines, but theoretically it's possible.

The following page has a sample applet that shows the various trendlines. Click on "demo applet". Within the demo, click on "Selection Tool" and try the various trendlines ...

http://xtra.futuresource.com/local/futu ... rts.jsp?p=

Thanks,

-- John

Locked