229 |
Fullfit the caption on the element's width
// AnchorClick event - Occurs when an anchor element is clicked. void __fastcall TForm1::ChartView1AnchorClick(TObject *Sender,BSTR AnchorID,BSTR Options) { OutputDebugString( L"AnchorID" ); } ChartView1->AllowSelectNothing = true; ChartView1->AllowEdit = Exorgchartlib_tlb::AllowKeysEnum::exDisallow; Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"Child",TNoParam(),TVariant("1234"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 1",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); Exorgchartlib_tlb::INodePtr var_Node = var_Nodes->Add(L"Sub 2",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); var_Node->FixedWidth = 256; var_Node->CaptionSingleLine = Exorgchartlib_tlb::CaptionSingleLineEnum::exCaptionBreakWrap; var_Node->Caption = TVariant(String("<solidline><b>Bank Account</b></solidline><br>+ owner: String <r><a 1;properties>+</a><br><solidline>+ balance: Currency = 0</s") + "olidline><br>+ deposit(amount: Currency)<r><a 2;methods>+</a><br>+ withdraw(amount: Currency)"); |
228 |
Break-wrap the caption (truncated)
// AnchorClick event - Occurs when an anchor element is clicked. void __fastcall TForm1::ChartView1AnchorClick(TObject *Sender,BSTR AnchorID,BSTR Options) { OutputDebugString( L"AnchorID" ); } ChartView1->AllowSelectNothing = true; ChartView1->AllowEdit = Exorgchartlib_tlb::AllowKeysEnum::exDisallow; Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"Child",TNoParam(),TVariant("1234"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 1",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); Exorgchartlib_tlb::INodePtr var_Node = var_Nodes->Add(L"Sub 2",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); var_Node->FixedWidth = 96; var_Node->CaptionSingleLine = Exorgchartlib_tlb::CaptionSingleLineEnum::exCaptionBreakWrap; var_Node->Caption = TVariant(String("<solidline><b>Bank Account</b></solidline><br>+ owner: String <r><a 1;properties>+</a><br><solidline>+ balance: Currency = 0</s") + "olidline><br>+ deposit(amount: Currency)<r><a 2;methods>+</a><br>+ withdraw(amount: Currency)"); |
227 |
Break-wrap the caption
|
226 |
Wrap the caption by <br> or "\r\n" sequence only
|
225 |
Word-wrap the caption (specify the width to wrap)
|
224 |
Word-wrap the caption
|
223 |
Caption on a single line (truncated)
Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"Child",TNoParam(),TVariant("1234"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 1",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); Exorgchartlib_tlb::INodePtr var_Node = var_Nodes->Add(L"Sub 2",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); var_Node->CaptionSingleLine = Exorgchartlib_tlb::CaptionSingleLineEnum::exCaptionSingleLine; var_Node->Caption = L"This is a bit of long text that should be truncated."; var_Node->FixedWidth = 128; |
222 |
Caption on a single line
|
221 |
Force hover-all feature
|
220 |
Disable hover-all feature (Windows 11 or greater)
ChartView1->Background[Exorgchartlib_tlb::BackgroundPartEnum::exScrollHoverAll] = RGB(1,0,0); |
219 |
Display a custom tooltip
|
218 |
Shows the tooltip of the object moved relative to its default position
// MouseMove event - Occurs when the user moves the mouse. void __fastcall TForm1::ChartView1MouseMove(TObject *Sender,short Button,short Shift,int X,int Y) { ChartView1->ShowToolTip(L"<null>",TVariant("<null>"),TNoParam(),TVariant("+8"),TVariant("+8")); } ChartView1->Root->ToolTip = L"This is a bit of text that's shown when the cursor hovers the node."; |
217 |
ImageSize property on 32 (specifies the size of control' icons/images/check-boxes/radio-buttons)
|
216 |
ImageSize property on 16 (default) (specifies the size of control' icons/images/check-boxes/radio-buttons)
|
215 |
Is it possible to show a percent/progress-bar associated with a node (method 2)
ChartView1->BeginUpdate(); ChartView1->DefaultNodePadding[Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll] = 4; Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"Child <b>1</b>",TNoParam(),TVariant("1234"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 1<br>",TVariant("1234"),TVariant("AK1"),TNoParam(),TNoParam())->BackgroundExt = TVariant(String("none[(4,100%-22,100%-8,18)](bottom[4](left[10%,back=RGB(255,0,0)]),none[(0,100%-4,100%,4),pattern=0x000,frame=RGB(192,192,192)]") + ",none[(2,100%-22,100%-4,22),text=`10%`,align=0x11]])"); var_Nodes->Add(L"Sub 2<br>",TVariant("1234"),TVariant("AK2"),TNoParam(),TNoParam())->BackgroundExt = TVariant(String("none[(4,100%-22,100%-8,18)](bottom[4](left[50%,back=RGB(0,255,0)]),none[(0,100%-4,100%,4),pattern=0x000,frame=RGB(192,192,192)]") + ",none[(2,100%-22,100%-4,22),text=`50%`,align=0x11]])"); var_Nodes->Add(L"Sub 3<br>",TVariant("1234"),TVariant("AK3"),TNoParam(),TNoParam())->BackgroundExt = TVariant(String("none[(4,100%-22,100%-8,18)](bottom[4](left[100%,back=RGB(0,0,255)]),none[(0,100%-4,100%,4),pattern=0x000,frame=RGB(192,192,192)") + "],none[(2,100%-22,100%-4,22),text=`100%`,align=0x11]])"); var_Nodes->Add(L"Child <b>2.1</b>",TNoParam(),TNoParam(),TNoParam(),TNoParam())->AddGroup(L"Child <b>2.2</b>",TNoParam(),TNoParam()); Exorgchartlib_tlb::INodePtr var_Node = ChartView1->Nodes->get_Item(TVariant("AK1")); var_Node->set_BackgroundExtValue(Exorgchartlib_tlb::IndexExtEnum::exIndexExt3,Exorgchartlib_tlb::BackgroundExtPropertyEnum::exClientExt,TVariant("25%")); var_Node->set_BackgroundExtValue(Exorgchartlib_tlb::IndexExtEnum::exIndexExt5,Exorgchartlib_tlb::BackgroundExtPropertyEnum::exTextExt,TVariant(var_Node->get_BackgroundExtValue(Exorgchartlib_tlb::IndexExtEnum::exIndexExt3,Exorgchartlib_tlb::BackgroundExtPropertyEnum::exClientExt))); ChartView1->EndUpdate(); |
214 |
Is it possible to show a percent/progress-bar associated with a node (method 1)
ChartView1->BeginUpdate(); ChartView1->IndentSiblingY = 32; Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"Child <b>1</b>",TNoParam(),TVariant("1234"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 1",TVariant("1234"),TVariant("AK1"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 2",TVariant("1234"),TVariant("AK2"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 3",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); var_Nodes->Add(L"Child <b>2.1</b>",TNoParam(),TNoParam(),TNoParam(),TNoParam())->AddGroup(L"Child <b>2.2</b>",TNoParam(),TNoParam()); Exorgchartlib_tlb::IFramePtr var_Frame = ChartView1->Frames->Add(TVariant("AK1")); var_Frame->Pattern->Type = Exorgchartlib_tlb::PatternEnum::exPatternEmpty; var_Frame->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingBottom,20); var_Frame->BackgroundExt = TVariant(String("bottom[4](left[50%,back=RGB(255,0,0)]),none[(0,100%-4,100%,4),pattern=0x000,frame=RGB(192,192,192)],none[(2,100%-22,100%-4,22),") + "text=`50%`]"); long f1 = var_Frame->Index; Exorgchartlib_tlb::IFramePtr var_Frame1 = ChartView1->Frames->get_Item(TVariant(f1)); var_Frame1->set_BackgroundExtValue(Exorgchartlib_tlb::IndexExtEnum::exIndexExt2,Exorgchartlib_tlb::BackgroundExtPropertyEnum::exClientExt,TVariant("25%")); var_Frame1->set_BackgroundExtValue(Exorgchartlib_tlb::IndexExtEnum::exIndexExt4,Exorgchartlib_tlb::BackgroundExtPropertyEnum::exTextExt,TVariant(var_Frame1->get_BackgroundExtValue(Exorgchartlib_tlb::IndexExtEnum::exIndexExt2,Exorgchartlib_tlb::BackgroundExtPropertyEnum::exClientExt))); Exorgchartlib_tlb::IFramePtr var_Frame2 = ChartView1->Frames->Add(TVariant("AK2")); var_Frame2->Pattern->Type = Exorgchartlib_tlb::PatternEnum::exPatternEmpty; var_Frame2->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingBottom,20); var_Frame2->BackgroundExt = TVariant(String("bottom[12](left[50%,back=RGB(255,0,0)]),none[(0,100%-12,100%,12),pattern=0x000,frame=RGB(192,192,192)],none[(2,100%-22,100%-4,2") + "2),text=`50%`]"); long f2 = var_Frame2->Index; Exorgchartlib_tlb::IFramePtr var_Frame3 = ChartView1->Frames->get_Item(TVariant(f2)); var_Frame3->set_BackgroundExtValue(Exorgchartlib_tlb::IndexExtEnum::exIndexExt2,Exorgchartlib_tlb::BackgroundExtPropertyEnum::exClientExt,TVariant("75%")); var_Frame3->set_BackgroundExtValue(Exorgchartlib_tlb::IndexExtEnum::exIndexExt2,Exorgchartlib_tlb::BackgroundExtPropertyEnum::exBackColorExt,TVariant(65280)); var_Frame3->set_BackgroundExtValue(Exorgchartlib_tlb::IndexExtEnum::exIndexExt4,Exorgchartlib_tlb::BackgroundExtPropertyEnum::exTextExt,TVariant(var_Frame3->get_BackgroundExtValue(Exorgchartlib_tlb::IndexExtEnum::exIndexExt2,Exorgchartlib_tlb::BackgroundExtPropertyEnum::exClientExt))); ChartView1->EndUpdate(); |
213 |
How can I display the node's caption on multiple lines
|
212 |
Is it possible to show some text/caption on the frame's background
|
211 |
How can I draw the pattern with no frame
ChartView1->BeginUpdate(); ChartView1->IndentSiblingY = 32; Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"Child <b>1</b>",TNoParam(),TVariant("1234"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 1",TVariant("1234"),TVariant("AK1"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 2",TVariant("1234"),TVariant("AK2"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 3",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); var_Nodes->Add(L"Child <b>2.1</b>",TNoParam(),TNoParam(),TNoParam(),TNoParam())->AddGroup(L"Child <b>2.2</b>",TNoParam(),TNoParam()); Exorgchartlib_tlb::IFramePtr var_Frame = ChartView1->Frames->Add(TVariant("AK1,AK2")); var_Frame->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,8); Exorgchartlib_tlb::IPatternPtr var_Pattern = var_Frame->Pattern; var_Pattern->Type = Exorgchartlib_tlb::PatternEnum::exPatternCross; var_Pattern->Color = RGB(190,190,190); ChartView1->EndUpdate(); |
210 |
How can I show the frame with an EBN color
ChartView1->BeginUpdate(); ChartView1->IndentSiblingY = 32; ChartView1->VisualAppearance->Add(1,TVariant(String("gBFLBCJwBAEHhEJAADhABWMMACAADACAxRDAMgBQKAAzQFAYawdBgABoGUZ4JhUAIIRZGMIjFDcEwxC6NIpAWCYQDENAxAJCI4DBCAZBwGKPRiASQZUhmHIDTbIEBxf") + "IMIRLE6PZgjOYZchqRYZSjAdIzUAFFr1J4AKbfKJpfoKBJERrScgxeBUNAZBKlY7paoKSpSGw1CTLNoRAKoYTTBK2bbmWwoap2So1XhAdS0XJcWxfGKRbxmWaZZh+R5m" + "XpCMjVMAGGQPIa8MLCSwIJBaHqUQLZNixLStAyxHCtKKhG+vJwHL6BcqnPKKRqSUKcWbcQADFZdYTdNjbch1TWvSZVQSecSke7BQjGJQ2YxWcZUXReeaBDK9ZS4WK+Hh" + "RjqAZpCkeoNC8P4DDiWp3nYVwdkaSgrGGVhSnSHJum6CgGAiBIUA0JgziGVJkGWRgTiGBAiG+ZgyDYQhCgQJZbG+UIAGEFgGBEBw9FILJNAMXgMgOIJYD4EoEGESBCBY" + "VIKGMIJTCiDpDliNQ+A+eB+CGCAiCiFgkgmT54HCdoGE0MhgkAM4LhOWJ/CQThIk4NQik4I5+DgP5IDOBJ/B2TgDnwaQ3k+cR0l4P5jBOfguDOCIimCSgwCMKJuDsIRj" + "mkUJ/B8JBBkIRAYmQcRglwP5lAOfhNDKCAikSRgxE8WJyEQIJkEGdhHhuD5xlSXYQicMR0lsP5FBmXhoD+ZhTBgfQrgwMwUnQP5HikfoFhwZxxlYdwbW0CJaWKag8EuI" + "5oTufwwkeIoskIMYPDOfB0iOaZznwbw2GoKoQGaKQFjqEBQikBBjGCf4nCgShoLyTCZnIP5GlqOo5YgAxejyL4GAqeBWi+BI6ngQYvisY5+jMMBHHKHJAjIRoDFqPI0g" + "YOxSlIFptCERpSBGbQgn6SItmyUwAHaM4MgqXBljSLl7GANRuiuMBajsBQLEgRY0gOSxKmUP5uDuCpODIaxxgqbI/g+cR8lSQBwDEYpsBObpBBabAPG6S5yniM4HHKIJ" + "BDiT4TnyKQ6nEbBjBeRhPnKGwYCkMYCgcGAnnGDBSD+RIHhKKJDDmMRSkSbg/nKY58jAOxzCyUIuk0CpMlCKfXAyUwsdIEwMHxZ5TiieoSA6fQjEoLh0hKWxJC0NISks" + "SQsDSHQaFeUQIAKRJIDuT5DnyQ4tnWfR7GCLZMBqXI+i2S5KlyOvukOfxZDICAylSSg8jWUwyGmXYPnMNhpl6/sLg0gxjNBmNkRIQR3CRHMOQIYlwjBxHQH4T45hSBBG" + "O/sVgQRkv7EyO4P4mgeC5E+MsTIvBfgWD+PFBIFgvgaTaPwP4mxdA/CmNQOoWgci5FGJsLAqRYiKE0PgV4TQOh0EIHkQ4xw6DnBMLsb4Hx/AHEAHEdYpwIj2D+JwDwOR" + "fjjE+B0H4dA1ASKcK8UYnxzhXAyOsPQvhfgYDoPEQ4RwMBziqDYXY6g9AmFyCwMomwThxHkH0fA5x/jbHuJ8f4dxxj4D8Ecf41A+j8HMMoUgTBMjGG+Pgf4nx1j/EAFA" + "AwAggAIAYFQQ4WgEggDIAQgI=")); Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"Child <b>1</b>",TNoParam(),TVariant("1234"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 1",TVariant("1234"),TVariant("AK1"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 2",TVariant("1234"),TVariant("AK2"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 3",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); var_Nodes->Add(L"Child <b>2.1</b>",TNoParam(),TNoParam(),TNoParam(),TNoParam())->AddGroup(L"Child <b>2.2</b>",TNoParam(),TNoParam()); Exorgchartlib_tlb::IFramePtr var_Frame = ChartView1->Frames->Add(TVariant("AK1,AK2")); var_Frame->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,8); var_Frame->BackColor = 0x1000000; var_Frame->Pattern->Type = Exorgchartlib_tlb::PatternEnum::exPatternEmpty; ChartView1->EndUpdate(); |
209 |
How can I show the frame with an EBN color
ChartView1->BeginUpdate(); ChartView1->IndentSiblingY = 32; ChartView1->VisualAppearance->Add(1,TVariant(String("gBFLBCJwBAEHhEJAADhABDYGg6AADACAxRDAMgBQKAAzQFAYawdBgABoGUZ4JhUAIIRZGMIjFDcEwxC6NIpAWCYQDEMw0AJCIyDFCAZBsHKPRoASQZUhmHIDTbIEBxf") + "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")); Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"Child <b>1</b>",TNoParam(),TVariant("1234"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 1",TVariant("1234"),TVariant("AK1"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 2",TVariant("1234"),TVariant("AK2"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 3",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); var_Nodes->Add(L"Child <b>2.1</b>",TNoParam(),TNoParam(),TNoParam(),TNoParam())->AddGroup(L"Child <b>2.2</b>",TNoParam(),TNoParam()); Exorgchartlib_tlb::IFramePtr var_Frame = ChartView1->Frames->Add(TVariant("AK1,AK2")); var_Frame->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,8); var_Frame->BackColor = 0x1000000; var_Frame->Pattern->Type = Exorgchartlib_tlb::PatternEnum::exPatternEmpty; ChartView1->EndUpdate(); |
208 |
How can I show the frame with a solid color
ChartView1->BeginUpdate(); Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"Child <b>1</b>",TNoParam(),TVariant("1234"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 1",TVariant("1234"),TVariant("AK1"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 2",TVariant("1234"),TVariant("AK2"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 3",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); var_Nodes->Add(L"Child <b>2.1</b>",TNoParam(),TNoParam(),TNoParam(),TNoParam())->AddGroup(L"Child <b>2.2</b>",TNoParam(),TNoParam()); Exorgchartlib_tlb::IFramePtr var_Frame = ChartView1->Frames->Add(TVariant("AK1,AK2")); var_Frame->BackColor = RGB(255,0,0); var_Frame->Pattern->Type = Exorgchartlib_tlb::PatternEnum::exPatternEmpty; ChartView1->EndUpdate(); |
207 |
Is it possible to enlarge/shrink the frame
ChartView1->BeginUpdate(); Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"Child <b>1</b>",TNoParam(),TVariant("1234"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 1",TVariant("1234"),TVariant("AK1"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 2",TVariant("1234"),TVariant("AK2"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 3",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); var_Nodes->Add(L"Child <b>2.1</b>",TNoParam(),TNoParam(),TNoParam(),TNoParam())->AddGroup(L"Child <b>2.2</b>",TNoParam(),TNoParam()); Exorgchartlib_tlb::IFramePtr var_Frame = ChartView1->Frames->Add(TVariant("AK1,AK2")); var_Frame->ShowOnBackground = false; var_Frame->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,-4); Exorgchartlib_tlb::IPatternPtr var_Pattern = var_Frame->Pattern; var_Pattern->Type = Exorgchartlib_tlb::PatternEnum::exPatternFrame | Exorgchartlib_tlb::PatternEnum::exPatternFDiagonal; var_Pattern->Color = RGB(190,190,190); var_Pattern->FrameColor = RGB(128,128,128); ChartView1->EndUpdate(); |
206 |
Is it possible to draw the frame in front, rather than showing it on the control's background
ChartView1->BeginUpdate(); Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"Child <b>1</b>",TNoParam(),TVariant("1234"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 1",TVariant("1234"),TVariant("AK1"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 2",TVariant("1234"),TVariant("AK2"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 3",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); var_Nodes->Add(L"Child <b>2.1</b>",TNoParam(),TNoParam(),TNoParam(),TNoParam())->AddGroup(L"Child <b>2.2</b>",TNoParam(),TNoParam()); Exorgchartlib_tlb::IFramePtr var_Frame = ChartView1->Frames->Add(TVariant("AK1,AK2")); var_Frame->ShowOnBackground = false; Exorgchartlib_tlb::IPatternPtr var_Pattern = var_Frame->Pattern; var_Pattern->Type = Exorgchartlib_tlb::PatternEnum::exPatternFrame | Exorgchartlib_tlb::PatternEnum::exPatternFDiagonal; var_Pattern->Color = RGB(190,190,190); var_Pattern->FrameColor = RGB(128,128,128); ChartView1->EndUpdate(); |
205 |
How do I show or hide a frame
ChartView1->BeginUpdate(); Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"Child <b>1</b>",TNoParam(),TVariant("1234"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 1",TVariant("1234"),TVariant("AK1"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 2",TVariant("1234"),TVariant("AK2"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 3",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); var_Nodes->Add(L"Child <b>2.1</b>",TNoParam(),TNoParam(),TNoParam(),TNoParam())->AddGroup(L"Child <b>2.2</b>",TNoParam(),TNoParam()); Exorgchartlib_tlb::IFramePtr var_Frame = ChartView1->Frames->Add(TVariant("AK1,AK2")); var_Frame->Visible = true; Exorgchartlib_tlb::IPatternPtr var_Pattern = var_Frame->Pattern; var_Pattern->Type = Exorgchartlib_tlb::PatternEnum::exPatternFrame | Exorgchartlib_tlb::PatternEnum::exPatternFDiagonal; var_Pattern->Color = RGB(190,190,190); var_Pattern->FrameColor = RGB(128,128,128); ChartView1->EndUpdate(); |
204 |
How can I display the frame arround the node itself
ChartView1->BeginUpdate(); Exorgchartlib_tlb::INodePtr var_Node = ChartView1->Root; var_Node->AddAssistant(L"Assistant 1",TNoParam(),TNoParam()); var_Node->AddAssistant(L"Assistant 2",TNoParam(),TNoParam()); Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"Child <b>1</b>",TNoParam(),TVariant("1234"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 1",TVariant("1234"),TVariant("AK1"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 2",TVariant("1234"),TVariant("AK2"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 3",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); var_Nodes->Add(L"Child <b>2.1</b>",TNoParam(),TVariant("GR1"),TNoParam(),TNoParam())->AddGroup(L"Child <b>2.2</b>",TNoParam(),TNoParam())->Key = L"GR2"; Exorgchartlib_tlb::IFramePtr var_Frame = ChartView1->Frames->Add(TVariant("1234")); Exorgchartlib_tlb::IPatternPtr var_Pattern = var_Frame->Pattern; var_Pattern->Type = Exorgchartlib_tlb::PatternEnum::exPatternFrame | Exorgchartlib_tlb::PatternEnum::exPatternFDiagonal; var_Pattern->Color = RGB(190,190,190); var_Pattern->FrameColor = RGB(128,128,128); Exorgchartlib_tlb::IFramePtr var_Frame1 = ChartView1->Frames->Add(TVariant("GR2")); Exorgchartlib_tlb::IPatternPtr var_Pattern1 = var_Frame1->Pattern; var_Pattern1->Type = Exorgchartlib_tlb::PatternEnum::exPatternFrame | Exorgchartlib_tlb::PatternEnum::exPatternFDiagonal; var_Pattern1->Color = RGB(190,190,190); var_Pattern1->FrameColor = RGB(128,128,128); ChartView1->EndUpdate(); |
203 |
How can I display the frame arround group nodes only
ChartView1->BeginUpdate(); Exorgchartlib_tlb::INodePtr var_Node = ChartView1->Root; var_Node->AddAssistant(L"Assistant 1",TNoParam(),TNoParam()); var_Node->AddAssistant(L"Assistant 2",TNoParam(),TNoParam()); Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"Child <b>1</b>",TNoParam(),TVariant("1234"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 1",TVariant("1234"),TVariant("AK1"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 2",TVariant("1234"),TVariant("AK2"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 3",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); var_Nodes->Add(L"Child <b>2.1</b>",TNoParam(),TVariant("GR1"),TNoParam(),TNoParam())->AddGroup(L"Child <b>2.2</b>",TNoParam(),TNoParam())->Key = L"GR2"; Exorgchartlib_tlb::IFramePtr var_Frame = ChartView1->Frames->Add(TVariant("root")); var_Frame->Nodes = L"GR1(group)"; Exorgchartlib_tlb::IPatternPtr var_Pattern = var_Frame->Pattern; var_Pattern->Type = Exorgchartlib_tlb::PatternEnum::exPatternFrame | Exorgchartlib_tlb::PatternEnum::exPatternFDiagonal; var_Pattern->Color = RGB(190,190,190); var_Pattern->FrameColor = RGB(128,128,128); ChartView1->EndUpdate(); |
202 |
How can I display the frame arround assistant nodes only
ChartView1->BeginUpdate(); Exorgchartlib_tlb::INodePtr var_Node = ChartView1->Root; var_Node->AddAssistant(L"Assistant 1",TNoParam(),TNoParam()); var_Node->AddAssistant(L"Assistant 2",TNoParam(),TNoParam()); Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"Child <b>1</b>",TNoParam(),TVariant("1234"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 1",TVariant("1234"),TVariant("AK1"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 2",TVariant("1234"),TVariant("AK2"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 3",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); var_Nodes->Add(L"Child <b>2.1</b>",TNoParam(),TNoParam(),TNoParam(),TNoParam())->AddGroup(L"Child <b>2.2</b>",TNoParam(),TNoParam()); Exorgchartlib_tlb::IFramePtr var_Frame = ChartView1->Frames->Add(TVariant("root")); var_Frame->Nodes = L"root(assistant)"; Exorgchartlib_tlb::IPatternPtr var_Pattern = var_Frame->Pattern; var_Pattern->Type = Exorgchartlib_tlb::PatternEnum::exPatternFrame | Exorgchartlib_tlb::PatternEnum::exPatternFDiagonal; var_Pattern->Color = RGB(190,190,190); var_Pattern->FrameColor = RGB(128,128,128); ChartView1->EndUpdate(); |
201 |
How can I display the frame arround child nodes only
ChartView1->BeginUpdate(); Exorgchartlib_tlb::INodePtr var_Node = ChartView1->Root; var_Node->AddAssistant(L"Assistant 1",TNoParam(),TNoParam()); var_Node->AddAssistant(L"Assistant 2",TNoParam(),TNoParam()); Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"Child <b>1</b>",TNoParam(),TVariant("1234"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 1",TVariant("1234"),TVariant("AK1"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 2",TVariant("1234"),TVariant("AK2"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 3",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); var_Nodes->Add(L"Child <b>2.1</b>",TNoParam(),TNoParam(),TNoParam(),TNoParam())->AddGroup(L"Child <b>2.2</b>",TNoParam(),TNoParam()); Exorgchartlib_tlb::IFramePtr var_Frame = ChartView1->Frames->Add(TVariant("root")); var_Frame->Nodes = L"root(child)"; Exorgchartlib_tlb::IPatternPtr var_Pattern = var_Frame->Pattern; var_Pattern->Type = Exorgchartlib_tlb::PatternEnum::exPatternFrame | Exorgchartlib_tlb::PatternEnum::exPatternFDiagonal; var_Pattern->Color = RGB(190,190,190); var_Pattern->FrameColor = RGB(128,128,128); ChartView1->EndUpdate(); |
200 |
How can I show the frame arround all child, assistant, group nodes
ChartView1->BeginUpdate(); Exorgchartlib_tlb::INodePtr var_Node = ChartView1->Root; var_Node->AddAssistant(L"Assistant 1",TNoParam(),TNoParam()); var_Node->AddAssistant(L"Assistant 2",TNoParam(),TNoParam()); Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"Child <b>1</b>",TNoParam(),TVariant("1234"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 1",TVariant("1234"),TVariant("AK1"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 2",TVariant("1234"),TVariant("AK2"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 3",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); var_Nodes->Add(L"Child <b>2.1</b>",TNoParam(),TNoParam(),TNoParam(),TNoParam())->AddGroup(L"Child <b>2.2</b>",TNoParam(),TNoParam()); Exorgchartlib_tlb::IFramePtr var_Frame = ChartView1->Frames->Add(TVariant("root")); var_Frame->Nodes = L"root(all)"; Exorgchartlib_tlb::IPatternPtr var_Pattern = var_Frame->Pattern; var_Pattern->Type = Exorgchartlib_tlb::PatternEnum::exPatternFrame | Exorgchartlib_tlb::PatternEnum::exPatternFDiagonal; var_Pattern->Color = RGB(190,190,190); var_Pattern->FrameColor = RGB(128,128,128); ChartView1->EndUpdate(); |
199 |
We need to visualy group nodes that have the same parent but also have other siblings. Is it anyway possible to draw an additional border around a group of nodes in this control
ChartView1->BeginUpdate(); Exorgchartlib_tlb::INodePtr var_Node = ChartView1->Root; var_Node->AddAssistant(L"Assistant 1",TNoParam(),TNoParam()); var_Node->AddAssistant(L"Assistant 2",TNoParam(),TNoParam()); Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"Child <b>1</b>",TNoParam(),TVariant("1234"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 1",TVariant("1234"),TVariant("AK1"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 2",TVariant("1234"),TVariant("AK2"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 3",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); var_Nodes->Add(L"Child <b>2.1</b>",TNoParam(),TNoParam(),TNoParam(),TNoParam())->AddGroup(L"Child <b>2.2</b>",TNoParam(),TNoParam()); Exorgchartlib_tlb::IPatternPtr var_Pattern = ChartView1->Frames->Add(TVariant("AK1,AK2"))->Pattern; var_Pattern->Type = Exorgchartlib_tlb::PatternEnum::exPatternFrame | Exorgchartlib_tlb::PatternEnum::exPatternFDiagonal; var_Pattern->Color = RGB(190,190,190); var_Pattern->FrameColor = RGB(128,128,128); ChartView1->EndUpdate(); |
198 |
How can I draw a pattern on a node
ChartView1->IndentSiblingY = 30; ChartView1->ShowLinksDir = true; ChartView1->PenWidthLink = 2; ChartView1->LinkColor = RGB(0,0,0); ChartView1->AntiAliasing = true; Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"L1_A",TNoParam(),TVariant("LA"),TNoParam(),TNoParam())->ShowLinkDir = false; var_Nodes->Add(L"L1_B",TNoParam(),TVariant("LB"),TNoParam(),TNoParam()); var_Nodes->Add(L"L2_A",TVariant("LA"),TVariant("LA2"),TNoParam(),TNoParam()); var_Nodes->Add(L"L2_B",TVariant("LB"),TVariant("LB2"),TNoParam(),TNoParam()); Exorgchartlib_tlb::IFramePtr var_Frame = ChartView1->Frames->Add(TVariant("LB")); var_Frame->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,-2); Exorgchartlib_tlb::IPatternPtr var_Pattern = var_Frame->Pattern; var_Pattern->Type = Exorgchartlib_tlb::PatternEnum::exPatternBDiagonal; var_Pattern->Color = RGB(128,128,128); var_Frame->ShowOnBackground = false; |
197 |
How do I use as a WBS control (WBS is a hierarchical and incremental decomposition of the project into phases, deliverables and work packages )
ChartView1->BeginUpdate(); Exorgchartlib_tlb::IAppearancePtr var_Appearance = ChartView1->VisualAppearance; var_Appearance->Add(1,TVariant(String("gBFLBCJwBAEHhEJAADhABdQFg6AADACAxRDAMgBQKAAzQFAYawdBgABoGUZ4JhUAIIRZGMIjFDcEwxC6NIpAWCYQDENQwSSMMJwSKYYBiASEYJASQZUhmHIDTbIEBxf") + "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")); var_Appearance->Add(2,TVariant(String("gBFLBCJwBAEHhEJAADhABEEMACAADACAxRDAMgBQKAAzQFAYawdBgABoGUZ4JhUAIIRZGMIgdBINQTDCLYyiUBYJhAMYSAJCI4jBCAZRXEAaQIkKY4ZDKCY2QLIEgSF") + "CETQlEAYZgkCB5UiGNIkQLSFDABJMBraDgSAApeoYVj4NZASANFB0bKcQAVDSOKRjeCacpOUpQRZLIyiLZVWQSGoYLahW4YQiKIJKRTXdhULQtLS5FaWZbte6LchqOAA" + "YbOV6ynSeV6NUJNc5xVicBgrBKlI6nGxIJqaZpVYzPeQQTTUby5OyEbyADJ4DqEAKaUrZNoZfhkBhlNa2YguC4gAzudaUZhCOqABpWYYLDS/JSGCYJGDcOaVRZ0FJUVw" + "Pg8GZkkCcBQDGJw0HOJ5gECdRUi0dxXi2IJbG4Jp+huHpzH0GouF2eA+B4F4bkESwEEISgGhMGZQmocgZFQFAki4TIAAECBNgCUYQsaCgRjQdRjAYERhmIBB5gIQBwm2" + "BROlOSgaDMIZCmoHoHmICIGB8MJiEOFgmD+IoIGEA4GA4aI0kSC5NliRJrgyYxIlYNoNkyGJkliDpPlidQDD2ZADBYQg6iQQ46EaEZkgkJhKhGTw5DSSITk4eRFAMNRl" + "EMXhWDuZYJC4WoWmWA4+CYORMGmBQDguTBDg4Zg8GaA5CGqGpmkmNhuhuZoim4chAkuaZUmmHZPBgahoh6Z5JnYfofmGI5IjmIJnEmWh3D4D0nn+IpokmboBgeaBSnod" + "w6E+I5YnOIBpgoZoaiaJ9IHOJAAAmVoSh2aRaF6G4pmqCBqh6KAqCkEJqD6TxzlKHosmsSpWjaExPEqZosh0apqkKMotmwCwCjkPQrjKeg0D8T4TlaQ4ymySw2k6LhPF" + "sRpFDsLRDmCdw9i0GxmlqNptksdJ2jebBTjaYoQC0ex+maOZuguJppjkLBZByeI7m4S5GnKPJvEkApvD4Jwim6EY7i8C5Wn6P4vHuZoRhcT4cBad5BnCDAnAqO5wFOZw" + "CigZxZiyepEnCXBXBaRZxgwFwTD6MJ6goaw+nETBnCKSIxjwdh1h6T5jm8IOuEyNwukuT4siie5JguaZsn+ShzAyZw6kyMJ4hCQ44g6U5/DeTI0E0FxGlGcojnMSgvDS" + "SROFQOANnMfxCD+dItFcVpVnWDRbFOFxMH0dQDiATItgaZpUnUOJ3GaWZ2gOdxklCDQNjYX4KmEaYYmMM43EkP0d4tR3gbBKKgOwGgtjsFQGodQuxCAvAWFIMwnwGgcE" + "yCYC4FRijxE4Gl0AnAuCOFWBUAABwth+AACAEBAQ=")); var_Appearance->Add(3,TVariant(String("gBFLBCJwBAEHhEJAADhABI8IQAAYAQGKIYBkAKBQAGaAoDDWDoMAANAyjPBMKgBBCLIxhEYobgmGIXRpFMbxAKQahLEiTIklBI8ExXFqMQCkGKocgONYgTLOMZOXCEE") + "wCgI=")); ChartView1->AntiAliasing = true; ChartView1->IndentSiblingY = 4; ChartView1->ShowRoundLink = true; ChartView1->PenLink = Exorgchartlib_tlb::PenTypeEnum::exPenSolid; ChartView1->SelColor = RGB(255,255,0); ChartView1->HasButtons = Exorgchartlib_tlb::ExpandButtonEnum::exPlus; ChartView1->DefaultNodePadding[Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll] = 6; Exorgchartlib_tlb::INodePtr var_Node = ChartView1->Root; var_Node->Caption = L"Constuction of a House"; var_Node->BackColor = 0x1000000; var_Node->ForeColor = RGB(255,255,255); Exorgchartlib_tlb::INodePtr var_Node1 = var_Node->AddAssistant(L"<font ;6>Work:<r>100.00%<br>Budget:<r>$215,500.00",TNoParam(),TNoParam()); var_Node1->Left = false; var_Node1->ShowLinks = false; var_Node1->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); var_Node1->FixedWidth = 72; var_Node1->BackColor = 0x2000000; Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; Exorgchartlib_tlb::INodePtr var_Node2 = var_Nodes->Add(L"1. Internal",TVariant("Root"),TVariant("Internal"),TNoParam(),TNoParam()); var_Node2->ArrangeSiblingNodesAs = Exorgchartlib_tlb::ArrangeSiblingEnum::exTree; var_Node2->ShowRoundLink = false; var_Node2->BackColor = 0x1ff0000; var_Node2->ForeColor = RGB(255,255,255); Exorgchartlib_tlb::INodePtr var_Node3 = var_Node2->AddAssistant(L"<font ;6>Work:<r>45.60%<br>Budget:<r>$86,500.00",TNoParam(),TNoParam()); var_Node3->Left = false; var_Node3->ShowLinks = false; var_Node3->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); var_Node3->FixedWidth = 72; var_Node3->BackColor = 0x2000000; Exorgchartlib_tlb::INodePtr var_Node4 = var_Nodes->Add(L"1.1 Electrical",TVariant("Internal"),TVariant("Electrical"),TNoParam(),TNoParam()); var_Node4->ShowRoundLink = false; var_Node4->BackColor = 0x100ff00; var_Node4->ForeColor = RGB(255,255,255); Exorgchartlib_tlb::INodePtr var_Node5 = var_Node4->AddAssistant(L"<font ;6>Work:<r>11.80%<br>Budget:<r>$25,000.00",TNoParam(),TNoParam()); var_Node5->Left = false; var_Node5->ShowLinks = false; var_Node5->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); var_Node5->FixedWidth = 72; var_Node5->BackColor = 0x2000000; Exorgchartlib_tlb::INodePtr var_Node6 = var_Nodes->Add(L"1.1.1 Rough-in electrical",TVariant("Electrical"),TVariant("RoughElectrical"),TNoParam(),TNoParam()); var_Node6->BackColor = 0x3000000; var_Node6->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); Exorgchartlib_tlb::INodePtr var_Node7 = var_Node6->AddAssistant(L"<font ;6>Work:<r>2.80%<br>Budget:<r>$5,000.00",TNoParam(),TNoParam()); var_Node7->Left = false; var_Node7->ShowLinks = false; var_Node7->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); var_Node7->FixedWidth = 72; var_Node7->BackColor = 0x2000000; Exorgchartlib_tlb::INodePtr var_Node8 = var_Nodes->Add(L"1.1.2 Install and Terminate",TVariant("Electrical"),TVariant("InstallTerminate"),TNoParam(),TNoParam()); var_Node8->BackColor = 0x3000000; var_Node8->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); Exorgchartlib_tlb::INodePtr var_Node9 = var_Node8->AddAssistant(L"<font ;6>Work:<r>1.90%<br>Budget:<r>$5,000.00",TNoParam(),TNoParam()); var_Node9->Left = false; var_Node9->ShowLinks = false; var_Node9->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); var_Node9->FixedWidth = 72; var_Node9->BackColor = 0x2000000; Exorgchartlib_tlb::INodePtr var_Node10 = var_Nodes->Add(L"1.1.3 HVAC Equipment",TVariant("Electrical"),TVariant("HVAC"),TNoParam(),TNoParam()); var_Node10->BackColor = 0x3000000; var_Node10->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); Exorgchartlib_tlb::INodePtr var_Node11 = var_Node10->AddAssistant(L"<font ;6>Work:<r>7.10%<br>Budget:<r>$15,000.00",TNoParam(),TNoParam()); var_Node11->Left = false; var_Node11->ShowLinks = false; var_Node11->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); var_Node11->FixedWidth = 72; var_Node11->BackColor = 0x2000000; Exorgchartlib_tlb::INodePtr var_Node12 = var_Nodes->Add(L"1.2 Plumbing",TVariant("Internal"),TVariant("Plumbing"),TNoParam(),TNoParam()); var_Node12->ShowRoundLink = false; var_Node12->BackColor = 0x100ff00; var_Node12->ForeColor = RGB(255,255,255); Exorgchartlib_tlb::INodePtr var_Node13 = var_Node12->AddAssistant(L"<font ;6>Work:<r>33.80%<br>Budget:<r>$61,000.00",TNoParam(),TNoParam()); var_Node13->Left = false; var_Node13->ShowLinks = false; var_Node13->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); var_Node13->FixedWidth = 72; var_Node13->BackColor = 0x2000000; Exorgchartlib_tlb::INodePtr var_Node14 = var_Nodes->Add(L"1.2.1 Rough-in plumbing",TVariant("Plumbing"),TVariant("RoughPlumbing"),TNoParam(),TNoParam()); var_Node14->BackColor = 0x3000000; var_Node14->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); Exorgchartlib_tlb::INodePtr var_Node15 = var_Node14->AddAssistant(L"<font ;6>Work:<r>11.30%<br>Budget:<r>$22,000.00",TNoParam(),TNoParam()); var_Node15->Left = false; var_Node15->ShowLinks = false; var_Node15->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); var_Node15->FixedWidth = 72; var_Node15->BackColor = 0x2000000; Exorgchartlib_tlb::INodePtr var_Node16 = var_Nodes->Add(L"1.2.2 Set plumbing fixtures and trim",TVariant("Plumbing"),TVariant("PlumbingFixtures"),TNoParam(),TNoParam()); var_Node16->Width = 256; var_Node16->BackColor = 0x3000000; var_Node16->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); Exorgchartlib_tlb::INodePtr var_Node17 = var_Node16->AddAssistant(L"<font ;6>Work:<r>13.20%<br>Budget:<r>$31,000.00",TNoParam(),TNoParam()); var_Node17->Left = false; var_Node17->ShowLinks = false; var_Node17->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); var_Node17->FixedWidth = 72; var_Node17->BackColor = 0x2000000; Exorgchartlib_tlb::INodePtr var_Node18 = var_Nodes->Add(L"1.2.3 Test and clean",TVariant("Plumbing"),TVariant("PlumbingTest"),TNoParam(),TNoParam()); var_Node18->BackColor = 0x3000000; var_Node18->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); Exorgchartlib_tlb::INodePtr var_Node19 = var_Node18->AddAssistant(L"<font ;6>Work:<r>9.30%<br>Budget:<r>$8,000.00",TNoParam(),TNoParam()); var_Node19->Left = false; var_Node19->ShowLinks = false; var_Node19->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); var_Node19->FixedWidth = 72; var_Node19->BackColor = 0x2000000; Exorgchartlib_tlb::INodePtr var_Node20 = var_Nodes->Add(L"2. Foundation",TVariant("Root"),TVariant("Foundation"),TNoParam(),TNoParam()); var_Node20->ArrangeSiblingNodesAs = Exorgchartlib_tlb::ArrangeSiblingEnum::exTree; var_Node20->ShowRoundLink = false; var_Node20->BackColor = 0x1ff0000; var_Node20->ForeColor = RGB(255,255,255); Exorgchartlib_tlb::INodePtr var_Node21 = var_Node20->AddAssistant(L"<font ;6>Work:<r>24.00%<br>Budget:<r>$46,000.00",TNoParam(),TNoParam()); var_Node21->Left = false; var_Node21->ShowLinks = false; var_Node21->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); var_Node21->FixedWidth = 72; var_Node21->BackColor = 0x2000000; Exorgchartlib_tlb::INodePtr var_Node22 = var_Nodes->Add(L"2.1 Excavate",TVariant("Foundation"),TVariant("Excavate"),TNoParam(),TNoParam()); var_Node22->ShowRoundLink = false; var_Node22->BackColor = 0x100ff00; var_Node22->ForeColor = RGB(255,255,255); Exorgchartlib_tlb::INodePtr var_Node23 = var_Node22->AddAssistant(L"<font ;6>Work:<r>24.00%<br>Budget:<r>$46,000.00",TNoParam(),TNoParam()); var_Node23->Left = false; var_Node23->ShowLinks = false; var_Node23->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); var_Node23->FixedWidth = 72; var_Node23->BackColor = 0x2000000; Exorgchartlib_tlb::INodePtr var_Node24 = var_Nodes->Add(L"2.1.1 Pour Concrete",TVariant("Excavate"),TVariant("Concrete"),TNoParam(),TNoParam()); var_Node24->BackColor = 0x3000000; var_Node24->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); Exorgchartlib_tlb::INodePtr var_Node25 = var_Node24->AddAssistant(L"<font ;6>Work:<r>7.90%<br>Budget:<r>$30,000.00",TNoParam(),TNoParam()); var_Node25->Left = false; var_Node25->ShowLinks = false; var_Node25->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); var_Node25->FixedWidth = 72; var_Node25->BackColor = 0x2000000; Exorgchartlib_tlb::INodePtr var_Node26 = var_Nodes->Add(L"2.1.2 Cure & Strip Forms",TVariant("Excavate"),TVariant("CureForms"),TNoParam(),TNoParam()); var_Node26->BackColor = 0x3000000; var_Node26->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); Exorgchartlib_tlb::INodePtr var_Node27 = var_Node26->AddAssistant(L"<font ;6>Work:<r>10.30%<br>Budget:<r>$70,000.00",TNoParam(),TNoParam()); var_Node27->Left = false; var_Node27->ShowLinks = false; var_Node27->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); var_Node27->FixedWidth = 72; var_Node27->BackColor = 0x2000000; Exorgchartlib_tlb::INodePtr var_Node28 = var_Nodes->Add(L"2.2 Steel Erection",TVariant("Foundation"),TVariant("Steel"),TNoParam(),TNoParam()); var_Node28->ShowRoundLink = false; var_Node28->BackColor = 0x100ff00; var_Node28->ForeColor = RGB(255,255,255); Exorgchartlib_tlb::INodePtr var_Node29 = var_Node28->AddAssistant(L"<font ;6>Work:<r>5.00%<br>Budget:<r>$9,000.00",TNoParam(),TNoParam()); var_Node29->Left = false; var_Node29->ShowLinks = false; var_Node29->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); var_Node29->FixedWidth = 72; var_Node29->BackColor = 0x2000000; Exorgchartlib_tlb::INodePtr var_Node30 = var_Nodes->Add(L"2.2.1 Steel Columns",TVariant("Steel"),TVariant("SteelColumns"),TNoParam(),TNoParam()); var_Node30->BackColor = 0x3000000; var_Node30->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); Exorgchartlib_tlb::INodePtr var_Node31 = var_Node30->AddAssistant(L"<font ;6>Work:<r>2.80%<br>Budget:<r>$50,000.00",TNoParam(),TNoParam()); var_Node31->Left = false; var_Node31->ShowLinks = false; var_Node31->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); var_Node31->FixedWidth = 72; var_Node31->BackColor = 0x2000000; Exorgchartlib_tlb::INodePtr var_Node32 = var_Nodes->Add(L"2.2.2 Beams",TVariant("Steel"),TVariant("Beams"),TNoParam(),TNoParam()); var_Node32->Width = 256; var_Node32->BackColor = 0x3000000; var_Node32->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); Exorgchartlib_tlb::INodePtr var_Node33 = var_Node32->AddAssistant(L"<font ;6>Work:<r>1.90%<br>Budget:<r>$2,000.00",TNoParam(),TNoParam()); var_Node33->Left = false; var_Node33->ShowLinks = false; var_Node33->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); var_Node33->FixedWidth = 72; var_Node33->BackColor = 0x2000000; Exorgchartlib_tlb::INodePtr var_Node34 = var_Nodes->Add(L"2.2.3 Joist",TVariant("Steel"),TVariant("Joist"),TNoParam(),TNoParam()); var_Node34->BackColor = 0x3000000; var_Node34->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); Exorgchartlib_tlb::INodePtr var_Node35 = var_Node34->AddAssistant(L"<font ;6>Work:<r>1.10%<br>Budget:<r>$2,000.00",TNoParam(),TNoParam()); var_Node35->Left = false; var_Node35->ShowLinks = false; var_Node35->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); var_Node35->FixedWidth = 72; var_Node35->BackColor = 0x2000000; Exorgchartlib_tlb::INodePtr var_Node36 = var_Nodes->Add(L"3. External",TVariant("Root"),TVariant("External"),TNoParam(),TNoParam()); var_Node36->ArrangeSiblingNodesAs = Exorgchartlib_tlb::ArrangeSiblingEnum::exTree; var_Node36->ShowRoundLink = false; var_Node36->BackColor = 0x1ff0000; var_Node36->ForeColor = RGB(255,255,255); Exorgchartlib_tlb::INodePtr var_Node37 = var_Node36->AddAssistant(L"<font ;6>Work:<r>30.40%<br>Budget:<r>$83,500.00",TNoParam(),TNoParam()); var_Node37->Left = false; var_Node37->ShowLinks = false; var_Node37->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); var_Node37->FixedWidth = 72; var_Node37->BackColor = 0x2000000; Exorgchartlib_tlb::INodePtr var_Node38 = var_Nodes->Add(L"3.1 Masonry Work",TVariant("External"),TVariant("Masonry"),TNoParam(),TNoParam()); var_Node38->ShowRoundLink = false; var_Node38->BackColor = 0x100ff00; var_Node38->ForeColor = RGB(255,255,255); Exorgchartlib_tlb::INodePtr var_Node39 = var_Node38->AddAssistant(L"<font ;6>Work:<r>16.20%<br>Budget:<r>$16,000.00",TNoParam(),TNoParam()); var_Node39->Left = false; var_Node39->ShowLinks = false; var_Node39->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); var_Node39->FixedWidth = 72; var_Node39->BackColor = 0x2000000; Exorgchartlib_tlb::INodePtr var_Node40 = var_Nodes->Add(L"3.1.1 Lay Masonry",TVariant("Masonry"),TVariant("LayMasonry"),TNoParam(),TNoParam()); var_Node40->BackColor = 0x3000000; var_Node40->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); Exorgchartlib_tlb::INodePtr var_Node41 = var_Node40->AddAssistant(L"<font ;6>Work:<r>9.00%<br>Budget:<r>$35,000.00",TNoParam(),TNoParam()); var_Node41->Left = false; var_Node41->ShowLinks = false; var_Node41->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); var_Node41->FixedWidth = 72; var_Node41->BackColor = 0x2000000; Exorgchartlib_tlb::INodePtr var_Node42 = var_Nodes->Add(L"3.1.2 Install roof drains",TVariant("Masonry"),TVariant("RoofDrains"),TNoParam(),TNoParam()); var_Node42->BackColor = 0x3000000; var_Node42->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); Exorgchartlib_tlb::INodePtr var_Node43 = var_Node42->AddAssistant(L"<font ;6>Work:<r>3.10%<br>Budget:<r>$2,000.00",TNoParam(),TNoParam()); var_Node43->Left = false; var_Node43->ShowLinks = false; var_Node43->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); var_Node43->FixedWidth = 72; var_Node43->BackColor = 0x2000000; Exorgchartlib_tlb::INodePtr var_Node44 = var_Nodes->Add(L"3.1.3 Install tile in toilet rooms",TVariant("Masonry"),TVariant("TileToiles"),TNoParam(),TNoParam()); var_Node44->BackColor = 0x3000000; var_Node44->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); Exorgchartlib_tlb::INodePtr var_Node45 = var_Node44->AddAssistant(L"<font ;6>Work:<r>1.30%<br>Budget:<r>$10,000.00",TNoParam(),TNoParam()); var_Node45->Left = false; var_Node45->ShowLinks = false; var_Node45->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); var_Node45->FixedWidth = 72; var_Node45->BackColor = 0x2000000; Exorgchartlib_tlb::INodePtr var_Node46 = var_Nodes->Add(L"3.1.4 Roofing",TVariant("Masonry"),TVariant("Roofing"),TNoParam(),TNoParam()); var_Node46->BackColor = 0x3000000; var_Node46->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); Exorgchartlib_tlb::INodePtr var_Node47 = var_Node46->AddAssistant(L"<font ;6>Work:<r>2.80%<br>Budget:<r>$15,000.00",TNoParam(),TNoParam()); var_Node47->Left = false; var_Node47->ShowLinks = false; var_Node47->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); var_Node47->FixedWidth = 72; var_Node47->BackColor = 0x2000000; Exorgchartlib_tlb::INodePtr var_Node48 = var_Nodes->Add(L"3.2 Building Finishes",TVariant("External"),TVariant("Building"),TNoParam(),TNoParam()); var_Node48->ShowRoundLink = false; var_Node48->BackColor = 0x100ff00; var_Node48->ForeColor = RGB(255,255,255); Exorgchartlib_tlb::INodePtr var_Node49 = var_Node48->AddAssistant(L"<font ;6>Work:<r>14.20%<br>Budget:<r>$21,500.00",TNoParam(),TNoParam()); var_Node49->Left = false; var_Node49->ShowLinks = false; var_Node49->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); var_Node49->FixedWidth = 72; var_Node49->BackColor = 0x2000000; Exorgchartlib_tlb::INodePtr var_Node50 = var_Nodes->Add(L"3.2.1 Paint Walls",TVariant("Building"),TVariant("Paint"),TNoParam(),TNoParam()); var_Node50->BackColor = 0x3000000; var_Node50->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); Exorgchartlib_tlb::INodePtr var_Node51 = var_Node50->AddAssistant(L"<font ;6>Work:<r>4.00%<br>Budget:<r>$8,000.00",TNoParam(),TNoParam()); var_Node51->Left = false; var_Node51->ShowLinks = false; var_Node51->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); var_Node51->FixedWidth = 72; var_Node51->BackColor = 0x2000000; Exorgchartlib_tlb::INodePtr var_Node52 = var_Nodes->Add(L"3.2.2 Ceiling Tiles",TVariant("Building"),TVariant("CeilingTiles"),TNoParam(),TNoParam()); var_Node52->Width = 256; var_Node52->BackColor = 0x3000000; var_Node52->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); Exorgchartlib_tlb::INodePtr var_Node53 = var_Node52->AddAssistant(L"<font ;6>Work:<r>3.60%<br>Budget:<r>$4,000.00",TNoParam(),TNoParam()); var_Node53->Left = false; var_Node53->ShowLinks = false; var_Node53->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); var_Node53->FixedWidth = 72; var_Node53->BackColor = 0x2000000; Exorgchartlib_tlb::INodePtr var_Node54 = var_Nodes->Add(L"3.2.3 Hang Wallpaper",TVariant("Building"),TVariant("Wallpaper"),TNoParam(),TNoParam()); var_Node54->BackColor = 0x3000000; var_Node54->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); Exorgchartlib_tlb::INodePtr var_Node55 = var_Node54->AddAssistant(L"<font ;6>Work:<r>2.30%<br>Budget:<r>$1,500.00",TNoParam(),TNoParam()); var_Node55->Left = false; var_Node55->ShowLinks = false; var_Node55->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); var_Node55->FixedWidth = 72; var_Node55->BackColor = 0x2000000; Exorgchartlib_tlb::INodePtr var_Node56 = var_Nodes->Add(L"3.2.4 Carpet",TVariant("Building"),TVariant("Carpet"),TNoParam(),TNoParam()); var_Node56->BackColor = 0x3000000; var_Node56->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); Exorgchartlib_tlb::INodePtr var_Node57 = var_Node56->AddAssistant(L"<font ;6>Work:<r>1.80%<br>Budget:<r>$6,000.00",TNoParam(),TNoParam()); var_Node57->Left = false; var_Node57->ShowLinks = false; var_Node57->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); var_Node57->FixedWidth = 72; var_Node57->BackColor = 0x2000000; Exorgchartlib_tlb::INodePtr var_Node58 = var_Nodes->Add(L"3.2.5 Hardware",TVariant("Building"),TVariant("Hardware"),TNoParam(),TNoParam()); var_Node58->BackColor = 0x3000000; var_Node58->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); Exorgchartlib_tlb::INodePtr var_Node59 = var_Node58->AddAssistant(L"<font ;6>Work:<r>2.50%<br>Budget:<r>$2,000.00",TNoParam(),TNoParam()); var_Node59->Left = false; var_Node59->ShowLinks = false; var_Node59->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,0); var_Node59->FixedWidth = 72; var_Node59->BackColor = 0x2000000; ChartView1->EndUpdate(); |
196 |
Does your control support padding (padding properties are used to generate space around content)
ChartView1->BeginUpdate(); ChartView1->IndentSiblingY = 30; ChartView1->ShowLinksDir = true; ChartView1->PenWidthLink = 2; ChartView1->LinkColor = RGB(0,0,0); ChartView1->AntiAliasing = true; Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; Exorgchartlib_tlb::INodePtr var_Node = var_Nodes->Add(L"L1 A1",TNoParam(),TVariant("LA"),TNoParam(),TNoParam()); var_Node->BackColor = RGB(255,0,0); var_Node->set_Padding(Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll,16); var_Nodes->Add(L"L1 B1",TNoParam(),TVariant("LB"),TNoParam(),TNoParam()); var_Nodes->Add(L"L2 A1",TVariant("LA"),TVariant("LA2"),TNoParam(),TNoParam()); var_Nodes->Add(L"L2 B2",TVariant("LB"),TVariant("LB2"),TNoParam(),TNoParam()); ChartView1->Nodes->get_Item(TVariant("root"))->Caption = L"Ls As"; ChartView1->EndUpdate(); |
195 |
Does your control support padding (padding properties are used to generate space around content)
ChartView1->BeginUpdate(); ChartView1->DefaultNodePadding[Exorgchartlib_tlb::PaddingEdgeEnum::exPaddingAll] = 8; ChartView1->IndentSiblingY = 30; ChartView1->ShowLinksDir = true; ChartView1->PenWidthLink = 2; ChartView1->LinkColor = RGB(0,0,0); ChartView1->AntiAliasing = true; Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"L1 A1",TNoParam(),TVariant("LA"),TNoParam(),TNoParam()); var_Nodes->Add(L"L1 B1",TNoParam(),TVariant("LB"),TNoParam(),TNoParam()); var_Nodes->Add(L"L2 A1",TVariant("LA"),TVariant("LA2"),TNoParam(),TNoParam()); var_Nodes->Add(L"L2 B2",TVariant("LB"),TVariant("LB2"),TNoParam(),TNoParam()); ChartView1->Nodes->get_Item(TVariant("root"))->Caption = L"Ls As"; ChartView1->EndUpdate(); |
194 |
How do I programmatically edit a node
|
193 |
WidthNode does not seem to do anything. What this property is for
ChartView1->WidthNode = 16; ChartView1->IndentSiblingY = 30; ChartView1->ShowLinksDir = true; ChartView1->PenWidthLink = 2; ChartView1->LinkColor = RGB(0,0,0); ChartView1->AntiAliasing = true; Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"L1 A1",TNoParam(),TVariant("LA"),TNoParam(),TNoParam()); var_Nodes->Add(L"L1 B1",TNoParam(),TVariant("LB"),TNoParam(),TNoParam()); var_Nodes->Add(L"L2 A1",TVariant("LA"),TVariant("LA2"),TNoParam(),TNoParam()); var_Nodes->Add(L"L2 B2",TVariant("LB"),TVariant("LB2"),TNoParam(),TNoParam()); ChartView1->Nodes->get_Item(TVariant("root"))->Caption = L"Ls As"; |
192 |
Does your control support Print and Print-Preview, such as Fit-To-Page
ChartView1->FixedWidthNode = 512; ChartView1->IndentSiblingY = 30; ChartView1->ShowLinksDir = true; ChartView1->PenWidthLink = 2; ChartView1->LinkColor = RGB(0,0,0); ChartView1->AntiAliasing = true; Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"L1_A",TNoParam(),TVariant("LA"),TNoParam(),TNoParam())->ShowLinkDir = false; var_Nodes->Add(L"L1_B",TNoParam(),TVariant("LB"),TNoParam(),TNoParam()); var_Nodes->Add(L"L2_A",TVariant("LA"),TVariant("LA2"),TNoParam(),TNoParam()); var_Nodes->Add(L"L2_B",TVariant("LB"),TVariant("LB2"),TNoParam(),TNoParam()); /* Select the Component\Import Component...\Import a Type Library, to import the following Type Library: ExPrint 1.0 Control Library TypeLib: ExPrint.dll to define the namespace: Exprintlib_tlb */ //#include "EXPRINTLIB_TLB.h" Exprintlib_tlb::IExPrintPtr var_Print = Variant::CreateObject(L"Exontrol.Print"); var_Print->set_Options(TVariant("FitToPage = On")); var_Print->PrintExt = (IUnknown*)ChartView1->DefaultDispatch; var_Print->Preview(); |
191 |
Does your control support Print and Print-Preview
ChartView1->IndentSiblingY = 30; ChartView1->ShowLinksDir = true; ChartView1->PenWidthLink = 2; ChartView1->LinkColor = RGB(0,0,0); ChartView1->AntiAliasing = true; Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"L1_A",TNoParam(),TVariant("LA"),TNoParam(),TNoParam())->ShowLinkDir = false; var_Nodes->Add(L"L1_B",TNoParam(),TVariant("LB"),TNoParam(),TNoParam()); var_Nodes->Add(L"L2_A",TVariant("LA"),TVariant("LA2"),TNoParam(),TNoParam()); var_Nodes->Add(L"L2_B",TVariant("LB"),TVariant("LB2"),TNoParam(),TNoParam()); /* Select the Component\Import Component...\Import a Type Library, to import the following Type Library: ExPrint 1.0 Control Library TypeLib: ExPrint.dll to define the namespace: Exprintlib_tlb */ //#include "EXPRINTLIB_TLB.h" Exprintlib_tlb::IExPrintPtr var_Print = Variant::CreateObject(L"Exontrol.Print"); var_Print->set_PrintExts(ChartView1->DefaultDispatch); var_Print->Preview(); |
190 |
Does your control support subscript or superscript, in HTML captions
ChartView1->AntiAliasing = true; Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"<sha ;;0>Event <b><font ;6><off 4>1",TNoParam(),TVariant("LA"),TNoParam(),TNoParam())->ShowLinkDir = false; var_Nodes->Add(L"<sha ;;0>Event <b><font ;6><off 4>2",TNoParam(),TVariant("LB"),TNoParam(),TNoParam()); var_Nodes->Add(L"<sha ;;0>Event <b><font ;6><off -6>2<off 4>3<off 4>1",TVariant("LA"),TVariant("LA2"),TNoParam(),TNoParam()); var_Nodes->Add(L"Event",TVariant("LB"),TVariant("LB2"),TNoParam(),TNoParam()); |
189 |
Is it possible to move a node by a simple click rather than SHIFT + Click
|
188 |
How can I disable moving the nodes at runtime
|
187 |
How can I disable resizing the chart using the middle mouse button
|
186 |
How can I disable inline editing
|
185 |
Would like to be able to click on a node and have a pop-up window appear with additional detail and information about the individual in the node. Is this possible
// MouseUp event - Occurs when the user releases a mouse button. void __fastcall TForm1::ChartView1MouseUp(TObject *Sender,short Button,short Shift,int X,int Y) { // Items.Add(Me.NodeFromPoint(-1,-1).Caption,0,1234) /* Select the Component\Import Component...\Import a Type Library, to import the following Type Library: ExPopupMenu 1.0 Control Library TypeLib: ExPMenu.dll to define the namespace: Expopupmenulib_tlb */ //#include "EXPOPUPMENULIB_TLB.h" Expopupmenulib_tlb::IPopupMenuPtr var_PopupMenu = Variant::CreateObject(L"Exontrol.ExPopupMenu"); OutputDebugString( PChar(var_PopupMenu->ShowAtCursor) ); } ChartView1->IndentSiblingY = 30; ChartView1->ShowLinksDir = true; ChartView1->PenWidthLink = 2; ChartView1->LinkColor = RGB(0,0,0); ChartView1->AntiAliasing = true; Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"L1_A",TNoParam(),TVariant("LA"),TNoParam(),TNoParam())->ShowLinkDir = false; var_Nodes->Add(L"L1_B",TNoParam(),TVariant("LB"),TNoParam(),TNoParam()); var_Nodes->Add(L"L2_A",TVariant("LA"),TVariant("LA2"),TNoParam(),TNoParam()); var_Nodes->Add(L"L2_B",TVariant("LB"),TVariant("LB2"),TNoParam(),TNoParam()); |
184 |
I am trying to create a hyperlink. I can get the link but I cannot tell the link where to go. What can I do
// AnchorClick event - Occurs when an anchor element is clicked. void __fastcall TForm1::ChartView1AnchorClick(TObject *Sender,BSTR AnchorID,BSTR Options) { OutputDebugString( L"Options" ); } ChartView1->Root->Image = 0; Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"<a;http://www.exontrol.com>exontrol</a>",TNoParam(),TVariant("1234"),TNoParam(),TNoParam()); |
183 |
Is it possible to put a caption on the regular links
ChartView1->IndentSiblingY = 30; ChartView1->ShowLinksDir = true; ChartView1->PenWidthLink = 2; ChartView1->LinkColor = RGB(0,0,0); ChartView1->AntiAliasing = true; Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"L1_A",TNoParam(),TVariant("LA"),TNoParam(),TNoParam())->LinkCaption = L"<fgcolor=FF0000><font ;6>caption<br><c><bgcolor=FFFFFF><a>link"; var_Nodes->Add(L"L1_B",TNoParam(),TVariant("LB"),TNoParam(),TNoParam()); var_Nodes->Add(L"L2_A",TVariant("LA"),TVariant("LA2"),TNoParam(),TNoParam()); var_Nodes->Add(L"L2_B",TVariant("LB"),TVariant("LB2"),TNoParam(),TNoParam()); |
182 |
Is it possible to hide directions for specific links
ChartView1->IndentSiblingY = 30; ChartView1->ShowLinksDir = true; ChartView1->PenWidthLink = 2; ChartView1->LinkColor = RGB(0,0,0); ChartView1->AntiAliasing = true; Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"L1_A",TNoParam(),TVariant("LA"),TNoParam(),TNoParam())->ShowLinkDir = false; var_Nodes->Add(L"L1_B",TNoParam(),TVariant("LB"),TNoParam(),TNoParam()); var_Nodes->Add(L"L2_A",TVariant("LA"),TVariant("LA2"),TNoParam(),TNoParam()); var_Nodes->Add(L"L2_B",TVariant("LB"),TVariant("LB2"),TNoParam(),TNoParam()); |
181 |
Does your control supports multiple lines tooltip
|
180 |
Can I change the border's node, using your EBN technology, including specifying a color
ChartView1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\hot.ebn")); Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"Child",TNoParam(),TVariant("1234"),TNoParam(),TNoParam()); Exorgchartlib_tlb::INodePtr var_Node = var_Nodes->Add(L"Sub 1",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); var_Node->Caption = L"This is a bit of long text that should break the line.<br>-using no color"; var_Node->BackColor = 0x1000000; Exorgchartlib_tlb::INodePtr var_Node1 = var_Nodes->Add(L"Sub 2",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); var_Node1->Caption = L"This is a bit of long text that should break the line.<br>-using a color"; var_Node1->BackColor = 0x100ff00; |
179 |
Can the chart be arranged from the left to right (LTR)
|
178 |
Is there any property to keep the aspect ratio for all pictures, but still keep the size of nodes
ChartView1->BeginUpdate(); ChartView1->PictureHeightNode = 48; ChartView1->PictureAspectRatioNode = Exorgchartlib_tlb::AspectRatioEnum::exAspectRatioHeight; ChartView1->FixedWidthNode = 82; Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; Exorgchartlib_tlb::INodePtr var_Node = var_Nodes->Add(L"PNG <b>1",TNoParam(),TVariant("0"),TNoParam(),TNoParam()); var_Node->set_Picture(TVariant("c:\\exontrol\\images\\card.png")); var_Node->Alignment = Exorgchartlib_tlb::AlignmentEnum::CenterAlignment; Exorgchartlib_tlb::INodePtr var_Node1 = var_Nodes->Add(L"PNG <b>2",TNoParam(),TVariant("1"),TNoParam(),TNoParam()); var_Node1->set_Picture(TVariant("c:\\exontrol\\images\\diary.png")); var_Node1->Alignment = Exorgchartlib_tlb::AlignmentEnum::CenterAlignment; Exorgchartlib_tlb::INodePtr var_Node2 = var_Nodes->Add(L"PNG <b>3",TNoParam(),TVariant("2"),TNoParam(),TNoParam()); var_Node2->set_Picture(TVariant("c:\\exontrol\\images\\sun.png")); var_Node2->Alignment = Exorgchartlib_tlb::AlignmentEnum::CenterAlignment; ChartView1->Root->Alignment = Exorgchartlib_tlb::AlignmentEnum::CenterAlignment; ChartView1->EndUpdate(); |
177 |
Is there any property to keep the aspect ratio for all pictures
ChartView1->BeginUpdate(); ChartView1->PictureHeightNode = 48; ChartView1->PictureAspectRatioNode = Exorgchartlib_tlb::AspectRatioEnum::exAspectRatioHeight; Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; Exorgchartlib_tlb::INodePtr var_Node = var_Nodes->Add(L"PNG <b>1",TNoParam(),TVariant("0"),TNoParam(),TNoParam()); var_Node->set_Picture(TVariant("c:\\exontrol\\images\\card.png")); Exorgchartlib_tlb::INodePtr var_Node1 = var_Nodes->Add(L"PNG <b>2",TNoParam(),TVariant("1"),TNoParam(),TNoParam()); var_Node1->set_Picture(TVariant("c:\\exontrol\\images\\diary.png")); Exorgchartlib_tlb::INodePtr var_Node2 = var_Nodes->Add(L"PNG <b>3",TNoParam(),TVariant("2"),TNoParam(),TNoParam()); var_Node2->set_Picture(TVariant("c:\\exontrol\\images\\sun.png")); ChartView1->EndUpdate(); |
176 |
Is there any property to keep the aspect ratio for all pictures
ChartView1->BeginUpdate(); ChartView1->PictureWidthNode = 48; ChartView1->PictureAspectRatioNode = Exorgchartlib_tlb::AspectRatioEnum::exAspectRatioWidth; Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; Exorgchartlib_tlb::INodePtr var_Node = var_Nodes->Add(L"PNG <b>1",TNoParam(),TVariant("0"),TNoParam(),TNoParam()); var_Node->set_Picture(TVariant("c:\\exontrol\\images\\card.png")); Exorgchartlib_tlb::INodePtr var_Node1 = var_Nodes->Add(L"PNG <b>2",TNoParam(),TVariant("1"),TNoParam(),TNoParam()); var_Node1->set_Picture(TVariant("c:\\exontrol\\images\\diary.png")); Exorgchartlib_tlb::INodePtr var_Node2 = var_Nodes->Add(L"PNG <b>3",TNoParam(),TVariant("2"),TNoParam(),TNoParam()); var_Node2->set_Picture(TVariant("c:\\exontrol\\images\\sun.png")); ChartView1->EndUpdate(); |
175 |
Is there any property to keep the aspect ratio for displayed picture
ChartView1->BeginUpdate(); Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; Exorgchartlib_tlb::INodePtr var_Node = var_Nodes->Add(L"Ratio/None",TNoParam(),TVariant("0"),TNoParam(),TNoParam()); var_Node->set_Picture(TVariant("c:\\exontrol\\images\\card.png")); var_Node->PictureWidth = 48; var_Node->PictureHeight = 48; Exorgchartlib_tlb::INodePtr var_Node1 = var_Nodes->Add(L"Ratio/Width",TNoParam(),TVariant("1"),TNoParam(),TNoParam()); var_Node1->set_Picture(TVariant("c:\\exontrol\\images\\card.png")); var_Node1->PictureWidth = 48; var_Node1->PictureAspectRatio = Exorgchartlib_tlb::AspectRatioEnum::exAspectRatioWidth; Exorgchartlib_tlb::INodePtr var_Node2 = var_Nodes->Add(L"Ratio/Height",TNoParam(),TVariant("2"),TNoParam(),TNoParam()); var_Node2->set_Picture(TVariant("c:\\exontrol\\images\\card.png")); var_Node2->PictureHeight = 48; var_Node2->PictureAspectRatio = Exorgchartlib_tlb::AspectRatioEnum::exAspectRatioHeight; ChartView1->EndUpdate(); |
174 |
Is is possible to show the round an arbitrary link
ChartView1->AntiAliasing = true; ChartView1->ShowLinksDir = false; ChartView1->PenWidthLink = 1; ChartView1->LinkColor = RGB(0,0,0); Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"L1_A",TNoParam(),TVariant("LA"),TNoParam(),TNoParam())->set_LinkTo(TVariant("LB")); var_Nodes->Add(L"L1_B<br><br>Cust",TNoParam(),TVariant("LB"),TNoParam(),TNoParam()); Exorgchartlib_tlb::INodePtr var_Node = var_Nodes->Add(L"L2_A",TVariant("LA"),TVariant("LA2"),TNoParam(),TNoParam()); var_Node->set_LinkTo(TVariant("LB,LB22")); var_Node->set_LinkToColor(L"LB",RGB(255,0,0)); var_Node->set_LinkToWidth(L"LB",2); var_Node->set_LinkToPen(L"LB",Exorgchartlib_tlb::PenTypeEnum::exPenDot); var_Node->set_LinkToShowDir(L"LB",true); var_Node->set_LinkToRound(L"LB",true); var_Node->set_LinkToRound(L"LB22",true); var_Node->set_LinkToShowDir(L"LB22",true); var_Node->set_LinkToColor(L"LB22",RGB(128,0,0)); var_Node->set_LinkToWidth(L"LB22",2); var_Nodes->Add(L"L2_B1",TVariant("LB"),TVariant("LB21"),TNoParam(),TNoParam()); var_Nodes->Add(L"L2_B2",TVariant("LB"),TVariant("LB22"),TNoParam(),TNoParam()); var_Nodes->Add(L"L2_B3",TVariant("LB"),TVariant("LB23"),TNoParam(),TNoParam()); |
173 |
Is is possible to show the round an arbitrary link
ChartView1->AntiAliasing = true; ChartView1->ShowLinksDir = false; ChartView1->PenWidthLink = 1; ChartView1->LinkColor = RGB(0,0,0); Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"L1_A",TNoParam(),TVariant("LA"),TNoParam(),TNoParam())->set_LinkTo(TVariant("LB")); var_Nodes->Add(L"L1_B<br><br>Cust",TNoParam(),TVariant("LB"),TNoParam(),TNoParam()); Exorgchartlib_tlb::INodePtr var_Node = var_Nodes->Add(L"L2_A",TVariant("LA"),TVariant("LA2"),TNoParam(),TNoParam()); var_Node->set_LinkTo(TVariant("LB")); var_Node->set_LinkToColor(L"LB",RGB(255,0,0)); var_Node->set_LinkToWidth(L"LB",2); var_Node->set_LinkToPen(L"LB",Exorgchartlib_tlb::PenTypeEnum::exPenDot); var_Node->set_LinkToShowDir(L"LB",true); var_Node->set_LinkToRound(L"LB",true); var_Nodes->Add(L"L2_B1",TVariant("LB"),TVariant("LB21"),TNoParam(),TNoParam()); var_Nodes->Add(L"L2_B2",TVariant("LB"),TVariant("LB22"),TNoParam(),TNoParam()); var_Nodes->Add(L"L2_B3",TVariant("LB"),TVariant("LB23"),TNoParam(),TNoParam()); |
172 |
Is is possible to show the direction for a linktoline, even if the ShowLinksDir is False
ChartView1->ShowLinksDir = false; ChartView1->PenWidthLink = 2; ChartView1->LinkColor = RGB(0,0,0); ChartView1->AntiAliasing = true; Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"L1_A",TNoParam(),TVariant("LA"),TNoParam(),TNoParam())->set_LinkTo(TVariant("LB")); Exorgchartlib_tlb::INodePtr var_Node = var_Nodes->Add(L"L1_B<br><br>Cust",TNoParam(),TVariant("LB"),TNoParam(),TNoParam()); var_Node->set_LinkTo(TVariant("LA2")); var_Node->set_LinkToColor(L"LA2",RGB(255,0,0)); var_Node->set_LinkToWidth(L"LA2",2); var_Node->set_LinkToPen(L"LA2",Exorgchartlib_tlb::PenTypeEnum::exPenDashDot); var_Node->set_LinkToShowDir(L"LA2",true); var_Nodes->Add(L"L2_A",TVariant("LA"),TVariant("LA2"),TNoParam(),TNoParam()); var_Nodes->Add(L"L2_B1",TVariant("LB"),TVariant("LB21"),TNoParam(),TNoParam()); var_Nodes->Add(L"L2_B2",TVariant("LB"),TVariant("LB22"),TNoParam(),TNoParam()); var_Nodes->Add(L"L2_B3",TVariant("LB"),TVariant("LB23"),TNoParam(),TNoParam()); |
171 |
Is is possible to change the width for a specified linkto line
ChartView1->PenWidthLink = 2; ChartView1->LinkColor = RGB(0,0,0); ChartView1->AntiAliasing = true; Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"L1_A",TNoParam(),TVariant("LA"),TNoParam(),TNoParam())->set_LinkTo(TVariant("LB")); Exorgchartlib_tlb::INodePtr var_Node = var_Nodes->Add(L"L1_B<br><br>Cust",TNoParam(),TVariant("LB"),TNoParam(),TNoParam()); var_Node->set_LinkTo(TVariant("LA2")); var_Node->set_LinkToColor(L"LA2",RGB(255,0,0)); var_Node->set_LinkToWidth(L"LA2",4); var_Node->set_LinkToPen(L"LA2",Exorgchartlib_tlb::PenTypeEnum::exPenSolid); var_Node->set_LinkToCaption(L"LA2",L"L2A-L1B"); var_Nodes->Add(L"L2_A",TVariant("LA"),TVariant("LA2"),TNoParam(),TNoParam()); var_Nodes->Add(L"L2_B1",TVariant("LB"),TVariant("LB21"),TNoParam(),TNoParam()); var_Nodes->Add(L"L2_B2",TVariant("LB"),TVariant("LB22"),TNoParam(),TNoParam()); var_Nodes->Add(L"L2_B3",TVariant("LB"),TVariant("LB23"),TNoParam(),TNoParam()); |
170 |
Is is possible to change the width for a specified linkto line
ChartView1->PenWidthLink = 2; ChartView1->LinkColor = RGB(0,0,0); Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"L1_A",TNoParam(),TVariant("LA"),TNoParam(),TNoParam())->set_LinkTo(TVariant("LB")); Exorgchartlib_tlb::INodePtr var_Node = var_Nodes->Add(L"L1_B<br><br>Cust",TNoParam(),TVariant("LB"),TNoParam(),TNoParam()); var_Node->set_LinkTo(TVariant("LA2")); var_Node->set_LinkToColor(L"LA2",RGB(255,0,0)); var_Node->set_LinkToWidth(L"LA2",2); var_Nodes->Add(L"L2_A",TVariant("LA"),TVariant("LA2"),TNoParam(),TNoParam()); var_Nodes->Add(L"L2_B1",TVariant("LB"),TVariant("LB21"),TNoParam(),TNoParam()); var_Nodes->Add(L"L2_B2",TVariant("LB"),TVariant("LB22"),TNoParam(),TNoParam()); var_Nodes->Add(L"L2_B3",TVariant("LB"),TVariant("LB23"),TNoParam(),TNoParam()); |
169 |
Is is possible to change the color for a specified linkto line
ChartView1->PenWidthLink = 2; ChartView1->LinkColor = RGB(0,0,0); Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"L1_A",TNoParam(),TVariant("LA"),TNoParam(),TNoParam())->set_LinkTo(TVariant("LB")); Exorgchartlib_tlb::INodePtr var_Node = var_Nodes->Add(L"L1_B<br><br>Cust",TNoParam(),TVariant("LB"),TNoParam(),TNoParam()); var_Node->set_LinkTo(TVariant("LA2")); var_Node->set_LinkToColor(L"LA2",RGB(255,0,0)); var_Node->set_LinkToWidth(L"LA2",2); var_Nodes->Add(L"L2_A",TVariant("LA"),TVariant("LA2"),TNoParam(),TNoParam()); var_Nodes->Add(L"L2_B1",TVariant("LB"),TVariant("LB21"),TNoParam(),TNoParam()); var_Nodes->Add(L"L2_B2",TVariant("LB"),TVariant("LB22"),TNoParam(),TNoParam()); var_Nodes->Add(L"L2_B3",TVariant("LB"),TVariant("LB23"),TNoParam(),TNoParam()); |
168 |
How can I specify the size for a picture being shown in a specified node only
Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; Exorgchartlib_tlb::INodePtr var_Node = var_Nodes->Add(L"Child 1",TNoParam(),TVariant("1"),TNoParam(),TNoParam()); var_Node->set_Picture(TVariant("c:\\exontrol\\images\\zipdisk.gif")); var_Node->PictureWidth = 64; var_Node->PictureHeight = 64; var_Nodes->Add(L"Child 2",TNoParam(),TVariant("2"),TNoParam(),TNoParam())->set_Picture(TVariant("c:\\exontrol\\images\\auction.gif")); |
167 |
How can I resize the pictures being shown in the nodes
ChartView1->PictureHeightNode = 24; ChartView1->PictureWidthNode = 24; Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"Child 1",TNoParam(),TVariant("1"),TNoParam(),TNoParam())->set_Picture(TVariant("c:\\exontrol\\images\\zipdisk.gif")); var_Nodes->Add(L"Child 2",TNoParam(),TVariant("2"),TNoParam(),TNoParam())->set_Picture(TVariant("c:\\exontrol\\images\\auction.gif")); |
166 |
Can I change the width of the node's border
|
165 |
Can I change the visual appearance of the node
ChartView1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn")); Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"Child 1",TNoParam(),TVariant("1"),TNoParam(),TNoParam())->BackColor = 0x1000000; var_Nodes->Add(L"Child 2",TNoParam(),TVariant("2"),TNoParam(),TNoParam()); |
164 |
Can I specify a different color for node's border
Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"Child 1",TNoParam(),TVariant("1"),TNoParam(),TNoParam())->BorderColor = RGB(255,0,0); var_Nodes->Add(L"Child 2",TNoParam(),TVariant("2"),TNoParam(),TNoParam()); |
163 |
Can I display my image on my links
ChartView1->HTMLPicture[L"pic1"] = TVariant("c:\\exontrol\\images\\colorize.gif"); ChartView1->AntiAliasing = true; ChartView1->IndentSiblingY = 30; ChartView1->IndentSiblingX = 60; ChartView1->ShowLinksDir = true; ChartView1->PenWidthLink = 2; ChartView1->LinkColor = RGB(0,0,0); Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"L1_A",TNoParam(),TVariant("LA"),TNoParam(),TNoParam()); Exorgchartlib_tlb::INodePtr var_Node = var_Nodes->Add(L"L1_B",TNoParam(),TVariant("LB"),TNoParam(),TNoParam()); var_Node->set_LinkTo(TVariant("LA2")); var_Node->set_LinkToCaption(L"LA2",L"<img>pic1</img> text"); var_Nodes->Add(L"L2_A",TVariant("LA"),TVariant("LA2"),TNoParam(),TNoParam()); var_Nodes->Add(L"L2_B",TVariant("LB"),TVariant("LB2"),TNoParam(),TNoParam()); |
162 |
How can I show a caption on my link
ChartView1->AntiAliasing = true; ChartView1->IndentSiblingY = 30; ChartView1->ShowLinksDir = true; ChartView1->PenWidthLink = 2; ChartView1->LinkColor = RGB(0,0,0); Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"L1_A",TNoParam(),TVariant("LA"),TNoParam(),TNoParam()); Exorgchartlib_tlb::INodePtr var_Node = var_Nodes->Add(L"L1_B",TNoParam(),TVariant("LB"),TNoParam(),TNoParam()); var_Node->set_LinkTo(TVariant("LA2")); var_Node->set_LinkToCaption(L"LA2",L"text"); var_Nodes->Add(L"L2_A",TVariant("LA"),TVariant("LA2"),TNoParam(),TNoParam()); var_Nodes->Add(L"L2_B",TVariant("LB"),TVariant("LB2"),TNoParam(),TNoParam()); |
161 |
How can I show smootly the arrows
ChartView1->AntiAliasing = true; ChartView1->IndentSiblingY = 30; ChartView1->ShowLinksDir = true; ChartView1->PenWidthLink = 2; ChartView1->LinkColor = RGB(0,0,0); Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"L1_A",TNoParam(),TVariant("LA"),TNoParam(),TNoParam()); var_Nodes->Add(L"L1_B",TNoParam(),TVariant("LB"),TNoParam(),TNoParam())->set_LinkTo(TVariant("LA2")); var_Nodes->Add(L"L2_A",TVariant("LA"),TVariant("LA2"),TNoParam(),TNoParam())->set_LinkTo(TVariant("LB")); var_Nodes->Add(L"L2_B",TVariant("LB"),TVariant("LB2"),TNoParam(),TNoParam()); |
160 |
How can I show direction on my links
ChartView1->IndentSiblingY = 30; ChartView1->ShowLinksDir = true; ChartView1->PenWidthLink = 2; ChartView1->LinkColor = RGB(0,0,0); ChartView1->AntiAliasing = true; Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"L1_A",TNoParam(),TVariant("LA"),TNoParam(),TNoParam()); var_Nodes->Add(L"L1_B",TNoParam(),TVariant("LB"),TNoParam(),TNoParam())->set_LinkTo(TVariant("LA2")); var_Nodes->Add(L"L2_A",TVariant("LA"),TVariant("LA2"),TNoParam(),TNoParam())->set_LinkTo(TVariant("LB")); var_Nodes->Add(L"L2_B",TVariant("LB"),TVariant("LB2"),TNoParam(),TNoParam()); |
159 |
How can I add a doubled direction link
ChartView1->PenWidthLink = 2; ChartView1->LinkColor = RGB(0,0,0); Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"L1_A",TNoParam(),TVariant("LA"),TNoParam(),TNoParam()); var_Nodes->Add(L"L1_B",TNoParam(),TVariant("LB"),TNoParam(),TNoParam())->set_LinkTo(TVariant("LA2")); var_Nodes->Add(L"L2_A",TVariant("LA"),TVariant("LA2"),TNoParam(),TNoParam())->set_LinkTo(TVariant("LB")); var_Nodes->Add(L"L2_B",TVariant("LB"),TVariant("LB2"),TNoParam(),TNoParam()); |
158 |
How can I add arbitrary links
ChartView1->PenWidthLink = 2; ChartView1->LinkColor = RGB(0,0,0); Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"L1_A",TNoParam(),TVariant("LA"),TNoParam(),TNoParam()); var_Nodes->Add(L"L1_B",TNoParam(),TVariant("LB"),TNoParam(),TNoParam())->set_LinkTo(TVariant("LA2")); var_Nodes->Add(L"L2_A",TVariant("LA"),TVariant("LA2"),TNoParam(),TNoParam()); var_Nodes->Add(L"L2_B",TVariant("LB"),TVariant("LB2"),TNoParam(),TNoParam()); |
157 |
How can I add multiple parents
ChartView1->PenWidthLink = 2; ChartView1->LinkColor = RGB(0,0,0); Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"L1_A",TNoParam(),TVariant("L1"),TNoParam(),TNoParam())->AddGroup(L"L1_B",TNoParam(),TNoParam()); var_Nodes->Add(L"L_A",TVariant("L1"),TNoParam(),TNoParam(),TNoParam()); var_Nodes->Add(L"L_B",TVariant("L1"),TNoParam(),TNoParam(),TNoParam()); var_Nodes->Add(L"L_C",TVariant("L1"),TNoParam(),TNoParam(),TNoParam()); |
156 |
How can I add multiple parents or roots
ChartView1->BeginUpdate(); ChartView1->HasButtons = Exorgchartlib_tlb::ExpandButtonEnum::exWPlus; ChartView1->ButtonsAlign = Exorgchartlib_tlb::PictureDisplayEnum::UpperCenter; ChartView1->PenWidthLink = 3; ChartView1->IndentChild = 32; Exorgchartlib_tlb::INodePtr var_Node = ChartView1->Root; var_Node->HasButton = false; var_Node->Caption = TVariant(String("<r><dotline><b>Root 1</b><br>Some information <a info>here</a>.<br><upline><dotline>Line 1:<r><fgcolor=0000FF><b>1</b></fgcolor") + "><br><upline><dotline>Line 2:<r>2<br><upline><dotline>Line 3:<r>3"); var_Node->Image = 0; var_Node->AddGroup(TVariant(String("<r><dotline><b>Root 2</b><br>Some information <a info>here</a>.<br><upline><dotline>Line 1:<r><fgcolor=0000FF><b>1</b></fgcolor") + "><br><upline><dotline>Line 2:<r>2<br><upline><dotline>Line 3:<r>3"),TNoParam(),TNoParam()); var_Node->AddGroup(TVariant(String("<r><dotline><b>Root 3</b><br>Some information <a info>here</a>.<br><upline><dotline>Line 1:<r><fgcolor=0000FF><b>1</b></fgcolor") + "><br><upline><dotline>Line 2:<r>2<br><upline><dotline>Line 3:<r>3"),TNoParam(),TNoParam()); var_Node->AddAssistant(L"<b>Assistant</b> <a1>node 1</a>",TNoParam(),TNoParam())->Key = L"A"; Exorgchartlib_tlb::INodePtr var_Node1 = var_Node->AddAssistant(L"<b>Assistant</b> <a2>node 2</a>",TNoParam(),TNoParam()); var_Node1->Left = true; var_Node1->ShowLinks = false; var_Node1->set_LinkTo(TVariant("A")); Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; Exorgchartlib_tlb::INodePtr var_Node2 = var_Nodes->Add(L"Parent <b>1</b>",TNoParam(),TVariant("Key1"),TNoParam(),TNoParam()); var_Node2->HasButton = false; var_Node2->ArrangeSiblingNodesAs = Exorgchartlib_tlb::ArrangeSiblingEnum::exTree; var_Node2->ShowRoundLink = true; var_Node2->AddGroup(L"Parent <b>2</b>",TNoParam(),TNoParam()); var_Node2->AddGroup(L"Parent <b>3</b>",TNoParam(),TNoParam()); var_Nodes->Add(L"SubItem 1",TVariant("Key1"),TVariant("S1"),TNoParam(),TNoParam())->HasButton = false; var_Nodes->Add(L"SubItem 1.1",TVariant("S1"),TVariant("S111"),TNoParam(),TNoParam()); var_Nodes->Add(L"SubItem 1.2",TVariant("S1"),TVariant("S112"),TNoParam(),TNoParam()); var_Nodes->Add(L"SubItem 2",TVariant("Key1"),TNoParam(),TNoParam(),TNoParam()); var_Nodes->Add(L"Item 2",TNoParam(),TVariant("Key2"),TNoParam(),TNoParam())->Expanded = false; var_Nodes->Add(L"SubItem 1",TVariant("Key2"),TNoParam(),TNoParam(),TNoParam()); var_Nodes->Add(L"SubItem 2",TVariant("Key2"),TNoParam(),TNoParam(),TNoParam()); ChartView1->EndUpdate(); |
155 |
How can I align the text/caption on the scroll bar
ChartView1->ScrollPartCaption[Exorgchartlib_tlb::ScrollBarEnum::exHScroll,Exorgchartlib_tlb::ScrollPartEnum::exLowerBackPart] = L"left"; ChartView1->ScrollPartCaptionAlignment[Exorgchartlib_tlb::ScrollBarEnum::exHScroll,Exorgchartlib_tlb::ScrollPartEnum::exLowerBackPart] = Exorgchartlib_tlb::AlignmentEnum::LeftAlignment; ChartView1->ScrollPartCaption[Exorgchartlib_tlb::ScrollBarEnum::exHScroll,Exorgchartlib_tlb::ScrollPartEnum::exUpperBackPart] = L"right"; ChartView1->ScrollPartCaptionAlignment[Exorgchartlib_tlb::ScrollBarEnum::exHScroll,Exorgchartlib_tlb::ScrollPartEnum::exUpperBackPart] = Exorgchartlib_tlb::AlignmentEnum::RightAlignment; ChartView1->FixedWidthNode = 320; |
154 |
How can I show round links
ChartView1->ShowRoundLink = true; ChartView1->Root->Image = 0; ChartView1->IndentSiblingX = 32; ChartView1->IndentSiblingY = 64; Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"Child <b>1</b>",TNoParam(),TVariant("1234"),TNoParam(),TNoParam())->ArrangeSiblingNodesAs = Exorgchartlib_tlb::ArrangeSiblingEnum::exHorizontally; var_Nodes->Add(L"Sub 1",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 2",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 3",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); var_Nodes->Add(L"Child <b>2</b>",TNoParam(),TNoParam(),TNoParam(),TNoParam()); |
153 |
How do I access a node by its key
Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"Child 1",TNoParam(),TVariant("C1"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub Child 1",TVariant("C1"),TVariant("SC1"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub Sub Shild 1",TVariant("SC1"),TNoParam(),TNoParam(),TNoParam()); ChartView1->Nodes->get_Item(TVariant("SC1"))->BackColor = RGB(255,0,0); |
152 |
How can I get the number of nodes
|
151 |
How can I remove all nodes in the chart
|
150 |
How can I clear the chart
|
149 |
How can I get the number of nodes
|
148 |
How can I add a child node
ChartView1->HasButtons = Exorgchartlib_tlb::ExpandButtonEnum::exPlus; ChartView1->Root->ArrangeSiblingNodesAs = Exorgchartlib_tlb::ArrangeSiblingEnum::exTree; Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"Child 1",TNoParam(),TVariant("C1"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub Child 1",TVariant("C1"),TVariant("SC1"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub Sub Shild 1",TVariant("SC1"),TNoParam(),TNoParam(),TNoParam()); |
147 |
How can I add a child node
ChartView1->HasButtons = Exorgchartlib_tlb::ExpandButtonEnum::exPlus; Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"Child 1",TNoParam(),TVariant("C1"),TNoParam(),TNoParam()); var_Nodes->Add(L"Child 2",TNoParam(),TVariant("C2"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub Child 1",TVariant("C1"),TVariant("SC1"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub Sub Shild 1",TVariant("SC1"),TNoParam(),TNoParam(),TNoParam()); |
146 |
How can I draw link or a line between my own nodes
|
145 |
How can I show or hide the link or a line between nodes
|
144 |
How can I hide or show the +/- expand/collapse buttons for a specified node
|
143 |
How can I expand or collapse a node
|
142 |
How can I assign an icon to the root node
ChartView1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")); ChartView1->Root->Image = 1; |
141 |
How can I access an assistant nodes
|
140 |
How can I get the number or count of assistant nodes
|
139 |
How can I display assistant nodes on the right side only
ChartView1->BeginUpdate(); Exorgchartlib_tlb::INodePtr var_Node = ChartView1->Root; var_Node->Image = 0; var_Node->AddAssistant(L"Assistant 1",TNoParam(),TNoParam())->Left = false; var_Node->AddAssistant(L"Assistant 2",TNoParam(),TNoParam())->Left = false; Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"Child <b>1</b>",TNoParam(),TVariant("1234"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 1",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 2",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 3",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); var_Nodes->Add(L"Child <b>2</b>",TNoParam(),TNoParam(),TNoParam(),TNoParam()); ChartView1->EndUpdate(); |
138 |
How can I display assistant nodes on the left side only
ChartView1->BeginUpdate(); Exorgchartlib_tlb::INodePtr var_Node = ChartView1->Root; var_Node->Image = 0; var_Node->AddAssistant(L"Assistant 1",TNoParam(),TNoParam())->Left = true; var_Node->AddAssistant(L"Assistant 2",TNoParam(),TNoParam())->Left = true; Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"Child <b>1</b>",TNoParam(),TVariant("1234"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 1",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 2",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 3",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); var_Nodes->Add(L"Child <b>2</b>",TNoParam(),TNoParam(),TNoParam(),TNoParam()); ChartView1->EndUpdate(); |
137 |
How can I clear or remove all assistant nodes
|
136 |
How can I remove an assistant node
|
135 |
How can I add assistant node
Exorgchartlib_tlb::INodePtr var_Node = ChartView1->Root; var_Node->Image = 0; var_Node->AddAssistant(L"Assistant 1",TNoParam(),TNoParam()); var_Node->AddAssistant(L"Assistant 2",TNoParam(),TNoParam()); Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"Child <b>1</b>",TNoParam(),TVariant("1234"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 1",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 2",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 3",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); var_Nodes->Add(L"Child <b>2</b>",TNoParam(),TNoParam(),TNoParam(),TNoParam()); |
134 |
Can I change the border's node, using your EBN technology
ChartView1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\hot.ebn")); Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"Child",TNoParam(),TVariant("1234"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 1",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); Exorgchartlib_tlb::INodePtr var_Node = var_Nodes->Add(L"Sub 2",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); var_Node->Caption = L"This is a bit of long text that should break the line."; var_Node->BackColor = 0x1000000; |
133 |
Can I remove the shadow for a specified node
|
132 |
Can I change the border for a specified node
|
131 |
Can I remove the round corner for a specified node
|
130 |
How can I disable or enable a node
|
129 |
How can I specify the height of the node
|
128 |
How can I specify the width of the node
|
127 |
How can I specify the width of the node to wrap it's content
|
126 |
How can I change the position of the node
|
125 |
How can I count or get the number of child nodes
|
124 |
How can I enumerate the child nodes
Exorgchartlib_tlb::INodesPtr var_Nodes = ChartView1->Nodes; var_Nodes->Add(L"Child",TNoParam(),TVariant("1234"),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 1",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); var_Nodes->Add(L"Sub 2",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); var_Nodes->Add(var_Nodes->get_Item(TVariant("1234"))->FirstNode->Caption,TNoParam(),TNoParam(),TNoParam(),TNoParam()); var_Nodes->Add(var_Nodes->get_Item(TVariant("1234"))->FirstNode->NextNode->Caption,TNoParam(),TNoParam(),TNoParam(),TNoParam()); |
123 |
How can I change the node's parent
|
122 |
How can I assign a key to a node
ChartView1->Nodes->Add(L"Child",TNoParam(),TVariant("1234"),TNoParam(),TNoParam()); ChartView1->Nodes->Add(L"Sub 1",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); ChartView1->Nodes->Add(L"Sub 2",TVariant("1234"),TNoParam(),TNoParam(),TNoParam()); |
121 |
How can I assign a key to a node
|
120 |
How can I change the node's background color
Exorgchartlib_tlb::INodePtr var_Node = ChartView1->Nodes->Add(L"Child",TNoParam(),TNoParam(),TNoParam(),TNoParam()); var_Node->BackColor = RGB(255,0,0); var_Node->ClearBackColor(); |
119 |
How can I change the node's background color
ChartView1->Nodes->Add(L"Child",TNoParam(),TNoParam(),TNoParam(),TNoParam())->BackColor = RGB(255,0,0); |
118 |
How can I change the node's foreground color
Exorgchartlib_tlb::INodePtr var_Node = ChartView1->Nodes->Add(L"Child",TNoParam(),TNoParam(),TNoParam(),TNoParam()); var_Node->ForeColor = RGB(255,0,0); var_Node->ClearForeColor(); |
117 |
How can I change the node's foreground color
ChartView1->Nodes->Add(L"Child",TNoParam(),TNoParam(),TNoParam(),TNoParam())->ForeColor = RGB(255,0,0); |
116 |
How can I assign a tooltip to a node
Exorgchartlib_tlb::INodePtr var_Node = ChartView1->Nodes->Add(L"ToolTip",TNoParam(),TNoParam(),TNoParam(),TNoParam()); var_Node->ToolTip = L"This is a bit of text that's shown when the cursor hovers this <b>node</b>."; var_Node->ToolTipTitle = L"TITLE"; |
115 |
How can I assign a different font for the node's tooltip
|
114 |
How can I assign a tooltip to a node
|
113 |
How can I assign any extra data to my node
|
112 |
How can I assign an icon and a picture to a node
ChartView1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")); Exorgchartlib_tlb::INodePtr var_Node = ChartView1->Nodes->Add(L"Child",TNoParam(),TNoParam(),TNoParam(),TNoParam()); var_Node->Image = 1; var_Node->set_Picture(ChartView1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")); var_Node->PictureAlignment = Exorgchartlib_tlb::ImageAlignmentEnum::exImageBottom; |
111 |
How can I align the picture in the node
|
110 |
How can I align the picture in the node
|
109 |
How can I align the picture in the node
|
108 |
How can I assign a picture to a node
|
107 |
How can I align the icon in the node
|
106 |
How can I align the icon in the node
|
105 |
How can I align the icon in the node
|
104 |
How can I assign an icon to a node
ChartView1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")); ChartView1->Nodes->Add(L"Child",TNoParam(),TNoParam(),TNoParam(),TNoParam())->Image = 1; |
103 |
How can I change the font for a node
|
102 |
How can I add a multiple lines node
|
101 |
How can I add a multiple lines node
|