Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Flowchart.net 5.0.1 - Does it support 'Legends' ?? (Read 1637 times)
Crave
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 2
Joined: Dec 26th, 2007
Flowchart.net 5.0.1 - Does it support 'Legends' ??
Dec 26th, 2007 at 3:17am
Print Post  
Hi,
I have been trying to get the legend in for the diagrams generated. The help suggests "Chart legends are drawn when the LegendLabels property... " but i do not see any assembly with 'Chart'. ???

Can somebody please help me with this? How can i get the Legend in place???

Thanks in advance!
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Flowchart.net 5.0.1 - Does it support 'Legends
Reply #1 - Dec 26th, 2007 at 9:48am
Print Post  
Hi,

Have you found LegendLabels in the online docs? That's a property of our charting / graphing component - Masterchart.

Flowchart.NET does not provide built-in legends, but you can create one using a TableNode:

Code
Select All
TableNode legend = diagram.Factory.CreateTableNode(10, 10, 30, 50);
legend.Caption = "Legend";
legend.Brush = new SolidBrush(Color.White);
legend.RedimTable(2, 3);
legend.CellFrameStyle = CellFrameStyle.Simple;

legend[0, 0].Brush = new SolidBrush(Color.Red);
legend[1, 0].Text = "label 1";
legend[0, 1].Brush = new SolidBrush(Color.LightGreen);
legend[1, 1].Text = "label 2";
legend[0, 2].Brush = new SolidBrush(Color.SkyBlue);
legend[1, 2].Text = "label 3";

legend[0, 0].Text = "ww";
legend.ResizeToFitText(false);
legend[0, 0].Text = "";
 



Btw. we have just uploaded online documentation for Flowchart.NET:
http://www.mindfusion.eu/onlinehelp/flowchartnet/index.htm

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Crave
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 2
Joined: Dec 26th, 2007
Re: Flowchart.net 5.0.1 - Does it support 'Legends
Reply #2 - Dec 27th, 2007 at 8:36am
Print Post  
The tableNode will suffice my needs.

Thanks for your help! Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint