Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Sankey like diagrams possible? (Read 1559 times)
stebra
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 1
Joined: Jul 7th, 2010
Sankey like diagrams possible?
Jul 7th, 2010 at 12:18pm
Print Post  
Is it possible to draw sankey like diagrams with JDiagram. The lines between the nodes should share the height of the nodes.
For my example i want to read nodes(height) and links(% of height as thickness for example) from a database and draw a sankey diagram. Is this possible?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Sankey like diagrams possible?
Reply #1 - Jul 7th, 2010 at 12:52pm
Print Post  
If you need a diagram like the ones shown here -
http://en.wikipedia.org/wiki/Sankey_diagram

you can do that only via custom drawing or custom item types. For examples showing that, check the CustomDraw and Fishbone sample projects.

If you need to simply draw some links using thicker lines, assign a new pen to them by calling the DiagramLink.setPen method where the pen's Width is set accordingly.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint