229
|
Fullfit the caption on the element's width

// AnchorClick event - Occurs when an anchor element is clicked.
procedure TWinForm1.AxChartView1_AnchorClick(sender: System.Object; e: AxEXORGCHARTLib._IChartViewEvents_AnchorClickEvent);
begin
with AxChartView1 do
begin
OutputDebugString( e.anchorID );
end
end;
with AxChartView1 do
begin
AllowSelectNothing := True;
AllowEdit := EXORGCHARTLib.AllowKeysEnum.exDisallow;
with Nodes do
begin
Add('Child',Nil,'1234',Nil,Nil);
Add('Sub 1','1234',Nil,Nil,Nil);
with Add('Sub 2','1234',Nil,Nil,Nil) do
begin
FixedWidth := 256;
CaptionSingleLine := EXORGCHARTLib.CaptionSingleLineEnum.exCaptionBreakWrap;
Caption := '<solidline><b>Bank Account</b></solidline><br>+ owner: String <r><a 1;properties>+</a><br><solidline>+ balance: Currency = 0</so' +
'lidline><br>+ deposit(amount: Currency)<r><a 2;methods>+</a><br>+ withdraw(amount: Currency)';
end;
end;
end
|
228
|
Break-wrap the caption (truncated)

// AnchorClick event - Occurs when an anchor element is clicked.
procedure TWinForm1.AxChartView1_AnchorClick(sender: System.Object; e: AxEXORGCHARTLib._IChartViewEvents_AnchorClickEvent);
begin
with AxChartView1 do
begin
OutputDebugString( e.anchorID );
end
end;
with AxChartView1 do
begin
AllowSelectNothing := True;
AllowEdit := EXORGCHARTLib.AllowKeysEnum.exDisallow;
with Nodes do
begin
Add('Child',Nil,'1234',Nil,Nil);
Add('Sub 1','1234',Nil,Nil,Nil);
with Add('Sub 2','1234',Nil,Nil,Nil) do
begin
FixedWidth := 96;
CaptionSingleLine := EXORGCHARTLib.CaptionSingleLineEnum.exCaptionBreakWrap;
Caption := '<solidline><b>Bank Account</b></solidline><br>+ owner: String <r><a 1;properties>+</a><br><solidline>+ balance: Currency = 0</so' +
'lidline><br>+ deposit(amount: Currency)<r><a 2;methods>+</a><br>+ withdraw(amount: Currency)';
end;
end;
end
|
227
|
Break-wrap the caption

with AxChartView1 do
begin
AllowSelectNothing := True;
with Nodes do
begin
Add('Child',Nil,'1234',Nil,Nil);
Add('Sub 1','1234',Nil,Nil,Nil);
with Add('Sub 2','1234',Nil,Nil,Nil) do
begin
CaptionSingleLine := EXORGCHARTLib.CaptionSingleLineEnum.exCaptionBreakWrap;
Caption := '<solidline><b>Bank Account</b></solidline><br>+ owner: String <r><a 1;properties>+</a><br><solidline>+ balance: Currency = 0</so' +
'lidline><br>+ deposit(amount: Currency)<r><a 2;methods>+</a><br>+ withdraw(amount: Currency)';
end;
end;
end
|
226
|
Wrap the caption by <br> or "\r\n" sequence only

with AxChartView1 do
begin
with Nodes do
begin
Add('Child',Nil,'1234',Nil,Nil);
Add('Sub 1','1234',Nil,Nil,Nil);
with Add('Sub 2','1234',Nil,Nil,Nil) do
begin
CaptionSingleLine := EXORGCHARTLib.CaptionSingleLineEnum.exCaptionBreakWrap;
Caption := 'This is a bit of long text is displayed on first line.<br>The second line.';
end;
end;
end
|
225
|
Word-wrap the caption (specify the width to wrap)

with AxChartView1 do
begin
with Nodes do
begin
Add('Child',Nil,'1234',Nil,Nil);
Add('Sub 1','1234',Nil,Nil,Nil);
with Add('Sub 2','1234',Nil,Nil,Nil) do
begin
Width := 96;
CaptionSingleLine := EXORGCHARTLib.CaptionSingleLineEnum.exCaptionWordWrap;
Caption := 'This is a bit of long text that should break into words.';
end;
end;
end
|
224
|
Word-wrap the caption

with AxChartView1 do
begin
with Nodes do
begin
Add('Child',Nil,'1234',Nil,Nil);
Add('Sub 1','1234',Nil,Nil,Nil);
with Add('Sub 2','1234',Nil,Nil,Nil) do
begin
CaptionSingleLine := EXORGCHARTLib.CaptionSingleLineEnum.exCaptionWordWrap;
Caption := 'This is a bit of long text that should break into words.';
end;
end;
end
|
223
|
Caption on a single line (truncated)

with AxChartView1 do
begin
with Nodes do
begin
Add('Child',Nil,'1234',Nil,Nil);
Add('Sub 1','1234',Nil,Nil,Nil);
with Add('Sub 2','1234',Nil,Nil,Nil) do
begin
CaptionSingleLine := EXORGCHARTLib.CaptionSingleLineEnum.exCaptionSingleLine;
Caption := 'This is a bit of long text that should be truncated.';
FixedWidth := 128;
end;
end;
end
|
222
|
Caption on a single line

with AxChartView1 do
begin
with Nodes do
begin
Add('Child',Nil,'1234',Nil,Nil);
Add('Sub 1','1234',Nil,Nil,Nil);
with Add('Sub 2','1234',Nil,Nil,Nil) do
begin
CaptionSingleLine := EXORGCHARTLib.CaptionSingleLineEnum.exCaptionSingleLine;
Caption := 'This is a bit of long text that should not be broken.';
end;
end;
end
|
221
|
Force hover-all feature
with AxChartView1 do
begin
set_Background(EXORGCHARTLib.BackgroundPartEnum.exScrollHoverAll,$ffffffff);
end
|
220
|
Disable hover-all feature (Windows 11 or greater)
with AxChartView1 do
begin
set_Background(EXORGCHARTLib.BackgroundPartEnum.exScrollHoverAll,$1);
end
|
219
|
Display a custom tooltip
// MouseMove event - Occurs when the user moves the mouse.
procedure TWinForm1.AxChartView1_MouseMoveEvent(sender: System.Object; e: AxEXORGCHARTLib._IChartViewEvents_MouseMoveEvent);
begin
with AxChartView1 do
begin
ShowToolTip('new content','',Nil,'+8','+8');
end
end;
|
218
|
Shows the tooltip of the object moved relative to its default position
// MouseMove event - Occurs when the user moves the mouse.
procedure TWinForm1.AxChartView1_MouseMoveEvent(sender: System.Object; e: AxEXORGCHARTLib._IChartViewEvents_MouseMoveEvent);
begin
with AxChartView1 do
begin
ShowToolTip('<null>','<null>',Nil,'+8','+8');
end
end;
with AxChartView1 do
begin
Root.ToolTip := 'This is a bit of text that''s shown when the cursor hovers the node.';
end
|
217
|
ImageSize property on 32 (specifies the size of control' icons/images/check-boxes/radio-buttons)

with AxChartView1 do
begin
BeginUpdate();
ImageSize := 32;
Font.Size := 16;
Images('gBJJgBAIDAAEg4AEEKAD/hz/EMNh8TIRNGwAjEZAEXjAojKAjMLjABhkaABAk0plUrlktl0vmExmUzmk1m03nE5nU7nk9miAoE+oVDolFo1HpFJpU5h8Sf9OqFNqUOqN' +
'UqdPq9VrFWrlbr1QpdhAFAkFis1ntFptVrtkrpsz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um.exNodeFrame,$4000000);
HasButtons := EXORGCHARTLib.ExpandButtonEnum.exPlus;
with Root do
begin
Image := 1;
AddAssistant('Assistant 1',Nil,Nil);
AddAssistant('Assistant 2',Nil,Nil);
end;
with Nodes do
begin
Add('Child <b>1</b>',Nil,'1234',Nil,Nil);
Add('Sub 1','1234',Nil,Nil,Nil).Image := 2;
Add('Sub 2','1234',Nil,Nil,Nil).Image := 3;
Add('Child <b>2</b>',Nil,'1235',Nil,Nil).Expanded := False;
Add('Sub 2','1235',Nil,Nil,Nil);
end;
EndUpdate();
end
|
216
|
ImageSize property on 16 (default) (specifies the size of control' icons/images/check-boxes/radio-buttons)

with AxChartView1 do
begin
BeginUpdate();
ImageSize := 16;
Images('gBJJgBAIDAAEg4ACEKAD/hz/EMNh8TIRNGwAjEZAEXjAojJAjMLjABAAgjUYkUnlUrlktl0vmExmUzmk1m03nE5nU7nkrQCAntBoVDolFo1HoM/ADAplLptImdMYFOqd' +
'SqlXq1QrVbrlGpVWsFNrNdnNjsk7pQAtNroFnt0sh8Yr9iulTuNxs1Eu8OiT/vsnsNVutXlk/oGGtVKxGLxWNtsZtN8iUYuNvy0Zvd+xNYwdwvl4p870GCqc8vOeuVtt' +
'mp1knyOayWVy+WzN/ze1wOElenm+12WUz/Bv2/3UyyWrzeutux2GSyGP2dQ33C1ur3GD3M4zUNzHdlWjq/E3nGzVpjWv4HA7fRy/Tv2IrN8rPW6nZ3ve7mUlfu20Z8ac' +
'vQyb+vY9jasYoDwMm+LytVBDqKG3z8O3Cb8P+mkAuY9cCQ2uL4KaxDKvkp8RNLEjqugnrwQo/UWPzFyeQw5sNLZFENrI4kOqU66pw8uzmOKvTqNqjULJvGL1JO48GtTG' +
'sbLdEL3scxLlyiw8dQeoUVxdLTtyKmUjwGlslRPJsnK1HbAKbKCrsQo8uQk/CeP44iaR/ATnTNPLvyxPU+z9P9AUDQVBowiofJXQ6Oo+kKMpIkjztE4TKn4P6JowfgPn' +
'wD5/nAjB8AOeAPo0e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fI4m4S4W16boLiaao6m5fJ9jubwLkaco8m8S5WnaPZunuOp4j6b5Lnac4SA0PAGlgP4wEwFwGkGcIMCcCpCnCCxiA8NYAAmMJfkSbhF' +
'CcFpFnGDBnBqRpUhuEwTDeZ5lHCfw6HIQxLCaAxygyJwqgGcATE4FA6hWY4tjEAAQBAgIA==');
end;
set_Background(EXORGCHARTLib.BackgroundPartEnum.exNodeFrame,$4000000);
HasButtons := EXORGCHARTLib.ExpandButtonEnum.exPlus;
with Root do
begin
Image := 1;
AddAssistant('Assistant 1',Nil,Nil);
AddAssistant('Assistant 2',Nil,Nil);
end;
with Nodes do
begin
Add('Child <b>1</b>',Nil,'1234',Nil,Nil);
Add('Sub 1','1234',Nil,Nil,Nil).Image := 2;
Add('Sub 2','1234',Nil,Nil,Nil).Image := 3;
Add('Child <b>2</b>',Nil,'1235',Nil,Nil).Expanded := False;
Add('Sub 2','1235',Nil,Nil,Nil);
end;
EndUpdate();
end
|
215
|
Is it possible to show a percent/progress-bar associated with a node (method 2)

with AxChartView1 do
begin
BeginUpdate();
set_DefaultNodePadding(EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll,4);
with Nodes do
begin
Add('Child <b>1</b>',Nil,'1234',Nil,Nil);
Add('Sub 1<br>','1234','AK1',Nil,Nil).BackgroundExt := '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]])';
Add('Sub 2<br>','1234','AK2',Nil,Nil).BackgroundExt := '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]])';
Add('Sub 3<br>','1234','AK3',Nil,Nil).BackgroundExt := '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]])';
Add('Child <b>2.1</b>',Nil,Nil,Nil,Nil).AddGroup('Child <b>2.2</b>',Nil,Nil);
end;
with Nodes.Item['AK1'] do
begin
BackgroundExtValue[EXORGCHARTLib.IndexExtEnum.exIndexExt3,EXORGCHARTLib.BackgroundExtPropertyEnum.exClientExt] := '25%';
BackgroundExtValue[EXORGCHARTLib.IndexExtEnum.exIndexExt5,EXORGCHARTLib.BackgroundExtPropertyEnum.exTextExt] := BackgroundExtValue[EXORGCHARTLib.IndexExtEnum.exIndexExt3,EXORGCHARTLib.BackgroundExtPropertyEnum.exClientExt];
end;
EndUpdate();
end
|
214
|
Is it possible to show a percent/progress-bar associated with a node (method 1)

with AxChartView1 do
begin
BeginUpdate();
IndentSiblingY := 32;
with Nodes do
begin
Add('Child <b>1</b>',Nil,'1234',Nil,Nil);
Add('Sub 1','1234','AK1',Nil,Nil);
Add('Sub 2','1234','AK2',Nil,Nil);
Add('Sub 3','1234',Nil,Nil,Nil);
Add('Child <b>2.1</b>',Nil,Nil,Nil,Nil).AddGroup('Child <b>2.2</b>',Nil,Nil);
end;
with Frames.Add('AK1') do
begin
Pattern.Type := EXORGCHARTLib.PatternEnum.exPatternEmpty;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingBottom] := 20;
BackgroundExt := '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),t' +
'ext=`50%`]';
f1 := Index;
end;
with Frames.Item[TObject(f1)] do
begin
BackgroundExtValue[EXORGCHARTLib.IndexExtEnum.exIndexExt2,EXORGCHARTLib.BackgroundExtPropertyEnum.exClientExt] := '25%';
BackgroundExtValue[EXORGCHARTLib.IndexExtEnum.exIndexExt4,EXORGCHARTLib.BackgroundExtPropertyEnum.exTextExt] := BackgroundExtValue[EXORGCHARTLib.IndexExtEnum.exIndexExt2,EXORGCHARTLib.BackgroundExtPropertyEnum.exClientExt];
end;
with Frames.Add('AK2') do
begin
Pattern.Type := EXORGCHARTLib.PatternEnum.exPatternEmpty;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingBottom] := 20;
BackgroundExt := '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,22' +
'),text=`50%`]';
f2 := Index;
end;
with Frames.Item[TObject(f2)] do
begin
BackgroundExtValue[EXORGCHARTLib.IndexExtEnum.exIndexExt2,EXORGCHARTLib.BackgroundExtPropertyEnum.exClientExt] := '75%';
BackgroundExtValue[EXORGCHARTLib.IndexExtEnum.exIndexExt2,EXORGCHARTLib.BackgroundExtPropertyEnum.exBackColorExt] := TObject(65280);
BackgroundExtValue[EXORGCHARTLib.IndexExtEnum.exIndexExt4,EXORGCHARTLib.BackgroundExtPropertyEnum.exTextExt] := BackgroundExtValue[EXORGCHARTLib.IndexExtEnum.exIndexExt2,EXORGCHARTLib.BackgroundExtPropertyEnum.exClientExt];
end;
EndUpdate();
end
|
213
|
How can I display the node's caption on multiple lines

with AxChartView1 do
begin
WidthNode := 64;
Root.Caption := 'This is a bit of text that should break the line';
end
|
212
|
Is it possible to show some text/caption on the frame's background

with AxChartView1 do
begin
BeginUpdate();
IndentSiblingY := 32;
VisualAppearance.Add(1,'gBFLBCJwBAEHhEJAADhABWMMACAADACAxRDAMgBQKAAzQFAYawdBgABoGUZ4JhUAIIRZGMIjFDcEwxC6NIpAWCYQDENAxAJCI4DBCAZBwGKPRiASQZUhmHIDTbIEBxfI' +
'MIRLE6PZgjOYZchqRYZSjAdIzUAFFr1J4AKbfKJpfoKBJERrScgxeBUNAZBKlY7paoKSpSGw1CTLNoRAKoYTTBK2bbmWwoap2So1XhAdS0XJcWxfGKRbxmWaZZh+R5mX' +
'pCMjVMAGGQPIa8MLCSwIJBaHqUQLZNixLStAyx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vgaTaPwP4mxdA/CmNQOoWgci5FGJsLAqRYiKE0PgV4TQOh0EIHkQ4xw6DnBMLsb4Hx/AHEAHEdYpwIj2D+JwDwORf' +
'jjE+B0H4dA1ASKcK8UYnxzhXAyOsPQvhfgYDoPEQ4RwMBziqDYXY6g9AmFyCwMomwThxHkH0fA5x/jbHuJ8f4dxxj4D8Ecf41A+j8HMMoUgTBMjGG+Pgf4nx1j/EAFAA' +
'wAggAIAYFQQ4WgEggDIAQgI=');
with Nodes do
begin
Add('Child <b>1</b>',Nil,'1234',Nil,Nil);
Add('Sub 1','1234','AK1',Nil,Nil);
Add('Sub 2','1234','AK2',Nil,Nil);
Add('Sub 3','1234',Nil,Nil,Nil);
Add('Child <b>2.1</b>',Nil,Nil,Nil,Nil).AddGroup('Child <b>2.2</b>',Nil,Nil);
end;
with Frames.Add('AK1,AK2') do
begin
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 8;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingBottom] := 22;
BackColor := $1000000;
Pattern.Type := EXORGCHARTLib.PatternEnum.exPatternEmpty;
BackgroundExt := 'top[4],left[4],right[4],client,bottom[4],bottom[16,back=0x01000000,text=`<sha ;;0>attention`,align=0x11]';
end;
EndUpdate();
end
|
211
|
How can I draw the pattern with no frame

with AxChartView1 do
begin
BeginUpdate();
IndentSiblingY := 32;
with Nodes do
begin
Add('Child <b>1</b>',Nil,'1234',Nil,Nil);
Add('Sub 1','1234','AK1',Nil,Nil);
Add('Sub 2','1234','AK2',Nil,Nil);
Add('Sub 3','1234',Nil,Nil,Nil);
Add('Child <b>2.1</b>',Nil,Nil,Nil,Nil).AddGroup('Child <b>2.2</b>',Nil,Nil);
end;
with Frames.Add('AK1,AK2') do
begin
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 8;
with Pattern do
begin
Type := EXORGCHARTLib.PatternEnum.exPatternCross;
Color := $bebebe;
end;
end;
EndUpdate();
end
|
210
|
How can I show the fr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qbI/g+cR8lSQBwDEYpsBObpBBabAPG6S5yniM4HHKIJB' +
'DiT4TnyKQ6nEbBjBeRhPnKGwYCkMYCgcGAnnGDBSD+RIHhKKJDDmMRSkSbg/nKY58jAOxzCyUIuk0CpMlCKfXAyUwsdIEwMHxZ5TiieoSA6fQjEoLh0hKWxJC0NISksS' +
'QsDSHQaFeUQIAKRJIDuT5DnyQ4tnWfR7GCLZMBqXI+i2S5KlyOvukOfxZDICAylSSg8jWUwyGmXYPnMNhpl6/sLg0gxjNBmNkRIQR3CRHMOQIYlwjBxHQH4T45hSBBGO' +
'/sVgQRkv7EyO4P4mgeC5E+MsTIvBfgWD+PFBIFgvgaTaPwP4mxdA/CmNQOoWgci5FGJsLAqRYiKE0PgV4TQOh0EIHkQ4xw6DnBMLsb4Hx/AHEAHEdYpwIj2D+JwDwORf' +
'jjE+B0H4dA1ASKcK8UYnxzhXAyOsPQvhfgYDoPEQ4RwMBziqDYXY6g9AmFyCwMomwThxHkH0fA5x/jbHuJ8f4dxxj4D8Ecf41A+j8HMMoUgTBMjGG+Pgf4nx1j/EAFAA' +
'wAggAIAYFQQ4WgEggDIAQgI=');
with Nodes do
begin
Add('Child <b>1</b>',Nil,'1234',Nil,Nil);
Add('Sub 1','1234','AK1',Nil,Nil);
Add('Sub 2','1234','AK2',Nil,Nil);
Add('Sub 3','1234',Nil,Nil,Nil);
Add('Child <b>2.1</b>',Nil,Nil,Nil,Nil).AddGroup('Child <b>2.2</b>',Nil,Nil);
end;
with Frames.Add('AK1,AK2') do
begin
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 8;
BackColor := $1000000;
Pattern.Type := EXORGCHARTLib.PatternEnum.exPatternEmpty;
end;
EndUpdate();
end
|
209
|
How can I show the frame with an EBN color

with AxChartView1 do
begin
BeginUpdate();
IndentSiblingY := 32;
VisualAppearance.Add(1,'gBFLBCJwBAEHhEJAADhABDYGg6AADACAxRDAMgBQKAAzQFAYawdBgABoGUZ4JhUAIIRZGM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hhcHEKAEIphAjQC0AUII6' +
'ASgIFANQE04hdAdCEKgQoDROBTHwDAZKDQMBnHEDwBYoQ2AtnEMYDA6B6ggFGPQQ1YgdBNCQKkIoJRSg0E8JUKQ2gshLGGB0DYCw6BYCIEIGIEhg4JCoAoQIeAXCFG0H' +
'kJ4qR2g/FQFUAwosfiNCgOoHoRRUgVBcKUKg0BdhOCEKMAoexxAmAiMAGIogaCCDhccQIXAVCFCgLEK4ah+heFYBURwsQrBaGGFkdYJQ0CsGqKYWwVhdDLCuAIVoWQEi' +
'DCcKsYwBBA1zEmAkA4wB6AeEIGARQEQ1j1EAK8ewBhhBYB2A0MArEzixBsB4YoWBtgZDGMIFoewDi1L0EAEggBNhHEgIkWYQwkiBCEAUZANQ2D9FCBoWwghojaBWEkNI' +
'7QaipFoLYVw1AtDLCqGsIwrAQCzEGEIZoCBNgwCoJ0EArRbCwAUN4LY2w+hvHcAUYIuArgOHEEAFYaw3BKEgOsG4oAACAEAQEA==');
with Nodes do
begin
Add('Child <b>1</b>',Nil,'1234',Nil,Nil);
Add('Sub 1','1234','AK1',Nil,Nil);
Add('Sub 2','1234','AK2',Nil,Nil);
Add('Sub 3','1234',Nil,Nil,Nil);
Add('Child <b>2.1</b>',Nil,Nil,Nil,Nil).AddGroup('Child <b>2.2</b>',Nil,Nil);
end;
with Frames.Add('AK1,AK2') do
begin
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 8;
BackColor := $1000000;
Pattern.Type := EXORGCHARTLib.PatternEnum.exPatternEmpty;
end;
EndUpdate();
end
|
208
|
How can I show the frame with a solid color

with AxChartView1 do
begin
BeginUpdate();
with Nodes do
begin
Add('Child <b>1</b>',Nil,'1234',Nil,Nil);
Add('Sub 1','1234','AK1',Nil,Nil);
Add('Sub 2','1234','AK2',Nil,Nil);
Add('Sub 3','1234',Nil,Nil,Nil);
Add('Child <b>2.1</b>',Nil,Nil,Nil,Nil).AddGroup('Child <b>2.2</b>',Nil,Nil);
end;
with Frames.Add('AK1,AK2') do
begin
BackColor := $ff;
Pattern.Type := EXORGCHARTLib.PatternEnum.exPatternEmpty;
end;
EndUpdate();
end
|
207
|
Is it possible to enlarge/shrink the frame

with AxChartView1 do
begin
BeginUpdate();
with Nodes do
begin
Add('Child <b>1</b>',Nil,'1234',Nil,Nil);
Add('Sub 1','1234','AK1',Nil,Nil);
Add('Sub 2','1234','AK2',Nil,Nil);
Add('Sub 3','1234',Nil,Nil,Nil);
Add('Child <b>2.1</b>',Nil,Nil,Nil,Nil).AddGroup('Child <b>2.2</b>',Nil,Nil);
end;
with Frames.Add('AK1,AK2') do
begin
ShowOnBackground := False;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := -4;
with Pattern do
begin
Type := Integer(EXORGCHARTLib.PatternEnum.exPatternFrame) Or Integer(EXORGCHARTLib.PatternEnum.exPatternFDiagonal);
Color := $bebebe;
FrameColor := $808080;
end;
end;
EndUpdate();
end
|
206
|
Is it possible to draw the frame in front, rather than showing it on the control's background

with AxChartView1 do
begin
BeginUpdate();
with Nodes do
begin
Add('Child <b>1</b>',Nil,'1234',Nil,Nil);
Add('Sub 1','1234','AK1',Nil,Nil);
Add('Sub 2','1234','AK2',Nil,Nil);
Add('Sub 3','1234',Nil,Nil,Nil);
Add('Child <b>2.1</b>',Nil,Nil,Nil,Nil).AddGroup('Child <b>2.2</b>',Nil,Nil);
end;
with Frames.Add('AK1,AK2') do
begin
ShowOnBackground := False;
with Pattern do
begin
Type := Integer(EXORGCHARTLib.PatternEnum.exPatternFrame) Or Integer(EXORGCHARTLib.PatternEnum.exPatternFDiagonal);
Color := $bebebe;
FrameColor := $808080;
end;
end;
EndUpdate();
end
|
205
|
How do I show or hide a frame

with AxChartView1 do
begin
BeginUpdate();
with Nodes do
begin
Add('Child <b>1</b>',Nil,'1234',Nil,Nil);
Add('Sub 1','1234','AK1',Nil,Nil);
Add('Sub 2','1234','AK2',Nil,Nil);
Add('Sub 3','1234',Nil,Nil,Nil);
Add('Child <b>2.1</b>',Nil,Nil,Nil,Nil).AddGroup('Child <b>2.2</b>',Nil,Nil);
end;
with Frames.Add('AK1,AK2') do
begin
Visible := True;
with Pattern do
begin
Type := Integer(EXORGCHARTLib.PatternEnum.exPatternFrame) Or Integer(EXORGCHARTLib.PatternEnum.exPatternFDiagonal);
Color := $bebebe;
FrameColor := $808080;
end;
end;
EndUpdate();
end
|
204
|
How can I display the frame arround the node itself

with AxChartView1 do
begin
BeginUpdate();
with Root do
begin
AddAssistant('Assistant 1',Nil,Nil);
AddAssistant('Assistant 2',Nil,Nil);
end;
with Nodes do
begin
Add('Child <b>1</b>',Nil,'1234',Nil,Nil);
Add('Sub 1','1234','AK1',Nil,Nil);
Add('Sub 2','1234','AK2',Nil,Nil);
Add('Sub 3','1234',Nil,Nil,Nil);
Add('Child <b>2.1</b>',Nil,'GR1',Nil,Nil).AddGroup('Child <b>2.2</b>',Nil,Nil).Key := 'GR2';
end;
with Frames.Add('1234') do
begin
with Pattern do
begin
Type := Integer(EXORGCHARTLib.PatternEnum.exPatternFrame) Or Integer(EXORGCHARTLib.PatternEnum.exPatternFDiagonal);
Color := $bebebe;
FrameColor := $808080;
end;
end;
with Frames.Add('GR2') do
begin
with Pattern do
begin
Type := Integer(EXORGCHARTLib.PatternEnum.exPatternFrame) Or Integer(EXORGCHARTLib.PatternEnum.exPatternFDiagonal);
Color := $bebebe;
FrameColor := $808080;
end;
end;
EndUpdate();
end
|
203
|
How can I display the frame arround group nodes only

with AxChartView1 do
begin
BeginUpdate();
with Root do
begin
AddAssistant('Assistant 1',Nil,Nil);
AddAssistant('Assistant 2',Nil,Nil);
end;
with Nodes do
begin
Add('Child <b>1</b>',Nil,'1234',Nil,Nil);
Add('Sub 1','1234','AK1',Nil,Nil);
Add('Sub 2','1234','AK2',Nil,Nil);
Add('Sub 3','1234',Nil,Nil,Nil);
Add('Child <b>2.1</b>',Nil,'GR1',Nil,Nil).AddGroup('Child <b>2.2</b>',Nil,Nil).Key := 'GR2';
end;
with Frames.Add('root') do
begin
Nodes := 'GR1(group)';
with Pattern do
begin
Type := Integer(EXORGCHARTLib.PatternEnum.exPatternFrame) Or Integer(EXORGCHARTLib.PatternEnum.exPatternFDiagonal);
Color := $bebebe;
FrameColor := $808080;
end;
end;
EndUpdate();
end
|
202
|
How can I display the frame arround assistant nodes only

with AxChartView1 do
begin
BeginUpdate();
with Root do
begin
AddAssistant('Assistant 1',Nil,Nil);
AddAssistant('Assistant 2',Nil,Nil);
end;
with Nodes do
begin
Add('Child <b>1</b>',Nil,'1234',Nil,Nil);
Add('Sub 1','1234','AK1',Nil,Nil);
Add('Sub 2','1234','AK2',Nil,Nil);
Add('Sub 3','1234',Nil,Nil,Nil);
Add('Child <b>2.1</b>',Nil,Nil,Nil,Nil).AddGroup('Child <b>2.2</b>',Nil,Nil);
end;
with Frames.Add('root') do
begin
Nodes := 'root(assistant)';
with Pattern do
begin
Type := Integer(EXORGCHARTLib.PatternEnum.exPatternFrame) Or Integer(EXORGCHARTLib.PatternEnum.exPatternFDiagonal);
Color := $bebebe;
FrameColor := $808080;
end;
end;
EndUpdate();
end
|
201
|
How can I display the frame arround child nodes only

with AxChartView1 do
begin
BeginUpdate();
with Root do
begin
AddAssistant('Assistant 1',Nil,Nil);
AddAssistant('Assistant 2',Nil,Nil);
end;
with Nodes do
begin
Add('Child <b>1</b>',Nil,'1234',Nil,Nil);
Add('Sub 1','1234','AK1',Nil,Nil);
Add('Sub 2','1234','AK2',Nil,Nil);
Add('Sub 3','1234',Nil,Nil,Nil);
Add('Child <b>2.1</b>',Nil,Nil,Nil,Nil).AddGroup('Child <b>2.2</b>',Nil,Nil);
end;
with Frames.Add('root') do
begin
Nodes := 'root(child)';
with Pattern do
begin
Type := Integer(EXORGCHARTLib.PatternEnum.exPatternFrame) Or Integer(EXORGCHARTLib.PatternEnum.exPatternFDiagonal);
Color := $bebebe;
FrameColor := $808080;
end;
end;
EndUpdate();
end
|
200
|
How can I show the frame arround all child, assistant, group nodes

with AxChartView1 do
begin
BeginUpdate();
with Root do
begin
AddAssistant('Assistant 1',Nil,Nil);
AddAssistant('Assistant 2',Nil,Nil);
end;
with Nodes do
begin
Add('Child <b>1</b>',Nil,'1234',Nil,Nil);
Add('Sub 1','1234','AK1',Nil,Nil);
Add('Sub 2','1234','AK2',Nil,Nil);
Add('Sub 3','1234',Nil,Nil,Nil);
Add('Child <b>2.1</b>',Nil,Nil,Nil,Nil).AddGroup('Child <b>2.2</b>',Nil,Nil);
end;
with Frames.Add('root') do
begin
Nodes := 'root(all)';
with Pattern do
begin
Type := Integer(EXORGCHARTLib.PatternEnum.exPatternFrame) Or Integer(EXORGCHARTLib.PatternEnum.exPatternFDiagonal);
Color := $bebebe;
FrameColor := $808080;
end;
end;
EndUpdate();
end
|
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

with AxChartView1 do
begin
BeginUpdate();
with Root do
begin
AddAssistant('Assistant 1',Nil,Nil);
AddAssistant('Assistant 2',Nil,Nil);
end;
with Nodes do
begin
Add('Child <b>1</b>',Nil,'1234',Nil,Nil);
Add('Sub 1','1234','AK1',Nil,Nil);
Add('Sub 2','1234','AK2',Nil,Nil);
Add('Sub 3','1234',Nil,Nil,Nil);
Add('Child <b>2.1</b>',Nil,Nil,Nil,Nil).AddGroup('Child <b>2.2</b>',Nil,Nil);
end;
with Frames.Add('AK1,AK2').Pattern do
begin
Type := Integer(EXORGCHARTLib.PatternEnum.exPatternFrame) Or Integer(EXORGCHARTLib.PatternEnum.exPatternFDiagonal);
Color := $bebebe;
FrameColor := $808080;
end;
EndUpdate();
end
|
198
|
How can I draw a pattern on a node

with AxChartView1 do
begin
IndentSiblingY := 30;
ShowLinksDir := True;
PenWidthLink := 2;
LinkColor := Color.FromArgb(0,0,0);
AntiAliasing := True;
with Nodes do
begin
Add('L1_A',Nil,'LA',Nil,Nil).ShowLinkDir := False;
Add('L1_B',Nil,'LB',Nil,Nil);
Add('L2_A','LA','LA2',Nil,Nil);
Add('L2_B','LB','LB2',Nil,Nil);
end;
with Frames.Add('LB') do
begin
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := -2;
with Pattern do
begin
Type := EXORGCHARTLib.PatternEnum.exPatternBDiagonal;
Color := $808080;
end;
ShowOnBackground := False;
end;
end
|
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 )

with AxChartView1 do
begin
BeginUpdate();
with VisualAppearance do
begin
Add(1,'gBFLBCJwBAEHhEJAADhABdQFg6AADACAxRDAMgBQKAAzQFAYawdBgABoGUZ4JhUAIIRZGMIjFDcEwxC6NIpAWCYQDENQwSSMMJwSKYYBiASEYJASQZUhmHIDTbIEBxfI' +
'MIRLE6PZbmEYYfgeNY6TQCcIgVD0ExhAZ2Q4EQAKRpOFY/DBQNLgAKNCQ3LaQY7BaKgZouTYDVrVNSVFC0IBkGoSbauCIJHrGCZ1RBYMI0VDNRwHJiMbRtSyqXjGJ4pS' +
'rAcq0FAgYRHI6jZxnGL5chqPqGVjMNZ1bQuKwzT0Ld5wTYsdydBK1MIkTKKaoORZgRpYUI6FAeSgBWyPcCqPSoDrKdo4XLdYwbeAFcSPD6+NBhG7tXm/NarNTgTB6DBt' +
'hsGJbgYYw9AQVxBoOch2hEbh+nAARYkQdZ7CMPYGH+FxmlqbJ5lqDAdjMC5AmIW54hwaBvA4IQ8D+T8IFscgenAAZMHiEgWiWdRZlSAAhAkFAGq6dAdEcIYVF4QJKCAH' +
'QDBCBJYGUGQNhCEIhiSCJaGAYQWBsIYmEEFgJAGQ42CyC4iliPgygsT4olSXg3g2Qwwk0MpMiMLJIg8Y54niTYOmPPJMDMDIonSSU7jMJJbDaTYjlYUoMmMCRWFQAAlE' +
'kZgtDgTgjgCJQpEoIgkgkIQHnIAB7CACARnIaIaiaGYuG6GxmhmFB7CGSICAyHwoAmQxQlQNIlikWgthYIwaAYVQvAuQpsg0IxIhKTIzCwToTiiaYACkChGhKJJpEOQo' +
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3,'gBFLBCJwBAEHhEJAADhABI8IQAAYAQGKIYBkAKBQAGaAoDDWDoMAANAyjPBMKgBBCLIxhEYobgmGIXRpFMbxAKQahLEiTIklBI8ExXFqMQCkGKocgONYgTLOMZOXCEEw' +
'CgI=');
end;
AntiAliasing := True;
IndentSiblingY := 4;
ShowRoundLink := True;
PenLink := EXORGCHARTLib.PenTypeEnum.exPenSolid;
SelColor := Color.FromArgb(255,255,0);
HasButtons := EXORGCHARTLib.ExpandButtonEnum.exPlus;
set_DefaultNodePadding(EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll,6);
with Root do
begin
Caption := 'Constuction of a House';
BackColor := $1000000;
ForeColor := $ffffff;
with AddAssistant('<font ;6>Work:<r>100.00%<br>Budget:<r>$215,500.00',Nil,Nil) do
begin
Left := False;
ShowLinks := False;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
FixedWidth := 72;
BackColor := $2000000;
end;
end;
with Nodes do
begin
with Add('1. Internal','Root','Internal',Nil,Nil) do
begin
ArrangeSiblingNodesAs := EXORGCHARTLib.ArrangeSiblingEnum.exTree;
ShowRoundLink := False;
BackColor := $1ff0000;
ForeColor := $ffffff;
with AddAssistant('<font ;6>Work:<r>45.60%<br>Budget:<r>$86,500.00',Nil,Nil) do
begin
Left := False;
ShowLinks := False;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
FixedWidth := 72;
BackColor := $2000000;
end;
end;
with Add('1.1 Electrical','Internal','Electrical',Nil,Nil) do
begin
ShowRoundLink := False;
BackColor := $100ff00;
ForeColor := $ffffff;
with AddAssistant('<font ;6>Work:<r>11.80%<br>Budget:<r>$25,000.00',Nil,Nil) do
begin
Left := False;
ShowLinks := False;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
FixedWidth := 72;
BackColor := $2000000;
end;
end;
with Add('1.1.1 Rough-in electrical','Electrical','RoughElectrical',Nil,Nil) do
begin
BackColor := $3000000;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
with AddAssistant('<font ;6>Work:<r>2.80%<br>Budget:<r>$5,000.00',Nil,Nil) do
begin
Left := False;
ShowLinks := False;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
FixedWidth := 72;
BackColor := $2000000;
end;
end;
with Add('1.1.2 Install and Terminate','Electrical','InstallTerminate',Nil,Nil) do
begin
BackColor := $3000000;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
with AddAssistant('<font ;6>Work:<r>1.90%<br>Budget:<r>$5,000.00',Nil,Nil) do
begin
Left := False;
ShowLinks := False;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
FixedWidth := 72;
BackColor := $2000000;
end;
end;
with Add('1.1.3 HVAC Equipment','Electrical','HVAC',Nil,Nil) do
begin
BackColor := $3000000;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
with AddAssistant('<font ;6>Work:<r>7.10%<br>Budget:<r>$15,000.00',Nil,Nil) do
begin
Left := False;
ShowLinks := False;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
FixedWidth := 72;
BackColor := $2000000;
end;
end;
with Add('1.2 Plumbing','Internal','Plumbing',Nil,Nil) do
begin
ShowRoundLink := False;
BackColor := $100ff00;
ForeColor := $ffffff;
with AddAssistant('<font ;6>Work:<r>33.80%<br>Budget:<r>$61,000.00',Nil,Nil) do
begin
Left := False;
ShowLinks := False;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
FixedWidth := 72;
BackColor := $2000000;
end;
end;
with Add('1.2.1 Rough-in plumbing','Plumbing','RoughPlumbing',Nil,Nil) do
begin
BackColor := $3000000;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
with AddAssistant('<font ;6>Work:<r>11.30%<br>Budget:<r>$22,000.00',Nil,Nil) do
begin
Left := False;
ShowLinks := False;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
FixedWidth := 72;
BackColor := $2000000;
end;
end;
with Add('1.2.2 Set plumbing fixtures and trim','Plumbing','PlumbingFixtures',Nil,Nil) do
begin
Width := 256;
BackColor := $3000000;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
with AddAssistant('<font ;6>Work:<r>13.20%<br>Budget:<r>$31,000.00',Nil,Nil) do
begin
Left := False;
ShowLinks := False;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
FixedWidth := 72;
BackColor := $2000000;
end;
end;
with Add('1.2.3 Test and clean','Plumbing','PlumbingTest',Nil,Nil) do
begin
BackColor := $3000000;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
with AddAssistant('<font ;6>Work:<r>9.30%<br>Budget:<r>$8,000.00',Nil,Nil) do
begin
Left := False;
ShowLinks := False;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
FixedWidth := 72;
BackColor := $2000000;
end;
end;
with Add('2. Foundation','Root','Foundation',Nil,Nil) do
begin
ArrangeSiblingNodesAs := EXORGCHARTLib.ArrangeSiblingEnum.exTree;
ShowRoundLink := False;
BackColor := $1ff0000;
ForeColor := $ffffff;
with AddAssistant('<font ;6>Work:<r>24.00%<br>Budget:<r>$46,000.00',Nil,Nil) do
begin
Left := False;
ShowLinks := False;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
FixedWidth := 72;
BackColor := $2000000;
end;
end;
with Add('2.1 Excavate','Foundation','Excavate',Nil,Nil) do
begin
ShowRoundLink := False;
BackColor := $100ff00;
ForeColor := $ffffff;
with AddAssistant('<font ;6>Work:<r>24.00%<br>Budget:<r>$46,000.00',Nil,Nil) do
begin
Left := False;
ShowLinks := False;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
FixedWidth := 72;
BackColor := $2000000;
end;
end;
with Add('2.1.1 Pour Concrete','Excavate','Concrete',Nil,Nil) do
begin
BackColor := $3000000;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
with AddAssistant('<font ;6>Work:<r>7.90%<br>Budget:<r>$30,000.00',Nil,Nil) do
begin
Left := False;
ShowLinks := False;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
FixedWidth := 72;
BackColor := $2000000;
end;
end;
with Add('2.1.2 Cure & Strip Forms','Excavate','CureForms',Nil,Nil) do
begin
BackColor := $3000000;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
with AddAssistant('<font ;6>Work:<r>10.30%<br>Budget:<r>$70,000.00',Nil,Nil) do
begin
Left := False;
ShowLinks := False;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
FixedWidth := 72;
BackColor := $2000000;
end;
end;
with Add('2.2 Steel Erection','Foundation','Steel',Nil,Nil) do
begin
ShowRoundLink := False;
BackColor := $100ff00;
ForeColor := $ffffff;
with AddAssistant('<font ;6>Work:<r>5.00%<br>Budget:<r>$9,000.00',Nil,Nil) do
begin
Left := False;
ShowLinks := False;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
FixedWidth := 72;
BackColor := $2000000;
end;
end;
with Add('2.2.1 Steel Columns','Steel','SteelColumns',Nil,Nil) do
begin
BackColor := $3000000;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
with AddAssistant('<font ;6>Work:<r>2.80%<br>Budget:<r>$50,000.00',Nil,Nil) do
begin
Left := False;
ShowLinks := False;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
FixedWidth := 72;
BackColor := $2000000;
end;
end;
with Add('2.2.2 Beams','Steel','Beams',Nil,Nil) do
begin
Width := 256;
BackColor := $3000000;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
with AddAssistant('<font ;6>Work:<r>1.90%<br>Budget:<r>$2,000.00',Nil,Nil) do
begin
Left := False;
ShowLinks := False;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
FixedWidth := 72;
BackColor := $2000000;
end;
end;
with Add('2.2.3 Joist','Steel','Joist',Nil,Nil) do
begin
BackColor := $3000000;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
with AddAssistant('<font ;6>Work:<r>1.10%<br>Budget:<r>$2,000.00',Nil,Nil) do
begin
Left := False;
ShowLinks := False;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
FixedWidth := 72;
BackColor := $2000000;
end;
end;
with Add('3. External','Root','External',Nil,Nil) do
begin
ArrangeSiblingNodesAs := EXORGCHARTLib.ArrangeSiblingEnum.exTree;
ShowRoundLink := False;
BackColor := $1ff0000;
ForeColor := $ffffff;
with AddAssistant('<font ;6>Work:<r>30.40%<br>Budget:<r>$83,500.00',Nil,Nil) do
begin
Left := False;
ShowLinks := False;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
FixedWidth := 72;
BackColor := $2000000;
end;
end;
with Add('3.1 Masonry Work','External','Masonry',Nil,Nil) do
begin
ShowRoundLink := False;
BackColor := $100ff00;
ForeColor := $ffffff;
with AddAssistant('<font ;6>Work:<r>16.20%<br>Budget:<r>$16,000.00',Nil,Nil) do
begin
Left := False;
ShowLinks := False;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
FixedWidth := 72;
BackColor := $2000000;
end;
end;
with Add('3.1.1 Lay Masonry','Masonry','LayMasonry',Nil,Nil) do
begin
BackColor := $3000000;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
with AddAssistant('<font ;6>Work:<r>9.00%<br>Budget:<r>$35,000.00',Nil,Nil) do
begin
Left := False;
ShowLinks := False;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
FixedWidth := 72;
BackColor := $2000000;
end;
end;
with Add('3.1.2 Install roof drains','Masonry','RoofDrains',Nil,Nil) do
begin
BackColor := $3000000;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
with AddAssistant('<font ;6>Work:<r>3.10%<br>Budget:<r>$2,000.00',Nil,Nil) do
begin
Left := False;
ShowLinks := False;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
FixedWidth := 72;
BackColor := $2000000;
end;
end;
with Add('3.1.3 Install tile in toilet rooms','Masonry','TileToiles',Nil,Nil) do
begin
BackColor := $3000000;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
with AddAssistant('<font ;6>Work:<r>1.30%<br>Budget:<r>$10,000.00',Nil,Nil) do
begin
Left := False;
ShowLinks := False;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
FixedWidth := 72;
BackColor := $2000000;
end;
end;
with Add('3.1.4 Roofing','Masonry','Roofing',Nil,Nil) do
begin
BackColor := $3000000;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
with AddAssistant('<font ;6>Work:<r>2.80%<br>Budget:<r>$15,000.00',Nil,Nil) do
begin
Left := False;
ShowLinks := False;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
FixedWidth := 72;
BackColor := $2000000;
end;
end;
with Add('3.2 Building Finishes','External','Building',Nil,Nil) do
begin
ShowRoundLink := False;
BackColor := $100ff00;
ForeColor := $ffffff;
with AddAssistant('<font ;6>Work:<r>14.20%<br>Budget:<r>$21,500.00',Nil,Nil) do
begin
Left := False;
ShowLinks := False;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
FixedWidth := 72;
BackColor := $2000000;
end;
end;
with Add('3.2.1 Paint Walls','Building','Paint',Nil,Nil) do
begin
BackColor := $3000000;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
with AddAssistant('<font ;6>Work:<r>4.00%<br>Budget:<r>$8,000.00',Nil,Nil) do
begin
Left := False;
ShowLinks := False;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
FixedWidth := 72;
BackColor := $2000000;
end;
end;
with Add('3.2.2 Ceiling Tiles','Building','CeilingTiles',Nil,Nil) do
begin
Width := 256;
BackColor := $3000000;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
with AddAssistant('<font ;6>Work:<r>3.60%<br>Budget:<r>$4,000.00',Nil,Nil) do
begin
Left := False;
ShowLinks := False;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
FixedWidth := 72;
BackColor := $2000000;
end;
end;
with Add('3.2.3 Hang Wallpaper','Building','Wallpaper',Nil,Nil) do
begin
BackColor := $3000000;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
with AddAssistant('<font ;6>Work:<r>2.30%<br>Budget:<r>$1,500.00',Nil,Nil) do
begin
Left := False;
ShowLinks := False;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
FixedWidth := 72;
BackColor := $2000000;
end;
end;
with Add('3.2.4 Carpet','Building','Carpet',Nil,Nil) do
begin
BackColor := $3000000;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
with AddAssistant('<font ;6>Work:<r>1.80%<br>Budget:<r>$6,000.00',Nil,Nil) do
begin
Left := False;
ShowLinks := False;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
FixedWidth := 72;
BackColor := $2000000;
end;
end;
with Add('3.2.5 Hardware','Building','Hardware',Nil,Nil) do
begin
BackColor := $3000000;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
with AddAssistant('<font ;6>Work:<r>2.50%<br>Budget:<r>$2,000.00',Nil,Nil) do
begin
Left := False;
ShowLinks := False;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 0;
FixedWidth := 72;
BackColor := $2000000;
end;
end;
end;
EndUpdate();
end
|
196
|
Does your control support padding (padding properties are used to generate space around content)

with AxChartView1 do
begin
BeginUpdate();
IndentSiblingY := 30;
ShowLinksDir := True;
PenWidthLink := 2;
LinkColor := Color.FromArgb(0,0,0);
AntiAliasing := True;
with Nodes do
begin
with Add('L1 A1',Nil,'LA',Nil,Nil) do
begin
BackColor := $ff;
Padding[EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll] := 16;
end;
Add('L1 B1',Nil,'LB',Nil,Nil);
Add('L2 A1','LA','LA2',Nil,Nil);
Add('L2 B2','LB','LB2',Nil,Nil);
end;
Nodes.Item['root'].Caption := 'Ls As';
EndUpdate();
end
|
195
|
Does your control support padding (padding properties are used to generate space around content)

with AxChartView1 do
begin
BeginUpdate();
set_DefaultNodePadding(EXORGCHARTLib.PaddingEdgeEnum.exPaddingAll,8);
IndentSiblingY := 30;
ShowLinksDir := True;
PenWidthLink := 2;
LinkColor := Color.FromArgb(0,0,0);
AntiAliasing := True;
with Nodes do
begin
Add('L1 A1',Nil,'LA',Nil,Nil);
Add('L1 B1',Nil,'LB',Nil,Nil);
Add('L2 A1','LA','LA2',Nil,Nil);
Add('L2 B2','LB','LB2',Nil,Nil);
end;
Nodes.Item['root'].Caption := 'Ls As';
EndUpdate();
end
|
194
|
How do I programmatically edit a node

with AxChartView1 do
begin
Nodes.Add('Text',Nil,'1234',Nil,Nil);
EditNode('1234');
end
|
193
|
WidthNode does not seem to do anything. What this property is for

with AxChartView1 do
begin
WidthNode := 16;
IndentSiblingY := 30;
ShowLinksDir := True;
PenWidthLink := 2;
LinkColor := Color.FromArgb(0,0,0);
AntiAliasing := True;
with Nodes do
begin
Add('L1 A1',Nil,'LA',Nil,Nil);
Add('L1 B1',Nil,'LB',Nil,Nil);
Add('L2 A1','LA','LA2',Nil,Nil);
Add('L2 B2','LB','LB2',Nil,Nil);
end;
Nodes.Item['root'].Caption := 'Ls As';
end
|
192
|
Does your control support Print and Print-Preview, such as Fit-To-Page

with AxChartView1 do
begin
FixedWidthNode := 512;
IndentSiblingY := 30;
ShowLinksDir := True;
PenWidthLink := 2;
LinkColor := Color.FromArgb(0,0,0);
AntiAliasing := True;
with Nodes do
begin
Add('L1_A',Nil,'LA',Nil,Nil).ShowLinkDir := False;
Add('L1_B',Nil,'LB',Nil,Nil);
Add('L2_A','LA','LA2',Nil,Nil);
Add('L2_B','LB','LB2',Nil,Nil);
end;
with (ComObj.CreateComObject(ComObj.ProgIDToClassID('Exontrol.Print')) as EXPRINTLib.Print) do
begin
Options := 'FitToPage = On';
PrintExt := (AxChartView1.GetOcx() as EXORGCHARTLib.ChartView).DefaultDispatch;
Preview();
end;
end
|
191
|
Does your control support Print and Print-Preview

with AxChartView1 do
begin
IndentSiblingY := 30;
ShowLinksDir := True;
PenWidthLink := 2;
LinkColor := Color.FromArgb(0,0,0);
AntiAliasing := True;
with Nodes do
begin
Add('L1_A',Nil,'LA',Nil,Nil).ShowLinkDir := False;
Add('L1_B',Nil,'LB',Nil,Nil);
Add('L2_A','LA','LA2',Nil,Nil);
Add('L2_B','LB','LB2',Nil,Nil);
end;
with (ComObj.CreateComObject(ComObj.ProgIDToClassID('Exontrol.Print')) as EXPRINTLib.Print) do
begin
PrintExts := (AxChartView1.GetOcx() as EXORGCHARTLib.ChartView);
Preview();
end;
end
|
190
|
Does your control support subscript or superscript, in HTML captions

with AxChartView1 do
begin
AntiAliasing := True;
with Nodes do
begin
Add('<sha ;;0>Event <b><font ;6><off 4>1',Nil,'LA',Nil,Nil).ShowLinkDir := False;
Add('<sha ;;0>Event <b><font ;6><off 4>2',Nil,'LB',Nil,Nil);
Add('<sha ;;0>Event <b><font ;6><off -6>2<off 4>3<off 4>1','LA','LA2',Nil,Nil);
Add('Event','LB','LB2',Nil,Nil);
end;
end
|
189
|
Is it possible to move a node by a simple click rather than SHIFT + Click

with AxChartView1 do
begin
AllowMoveChart := EXORGCHARTLib.AllowKeysEnum.exDisallow;
AllowMoveNode := EXORGCHARTLib.AllowKeysEnum.exLeftClick;
AntiAliasing := True;
with Nodes do
begin
Add('L1_A',Nil,'LA',Nil,Nil).ShowLinkDir := False;
Add('L1_B',Nil,'LB',Nil,Nil);
Add('L2_A','LA','LA2',Nil,Nil);
Add('L2_B','LB','LB2',Nil,Nil);
end;
end
|
188
|
How can I disable moving the nodes at runtime
with AxChartView1 do
begin
AllowMoveNode := EXORGCHARTLib.AllowKeysEnum.exDisallow;
end
|
187
|
How can I disable resizing the chart using the middle mouse button
with AxChartView1 do
begin
AllowResizeChart := EXORGCHARTLib.AllowKeysEnum.exDisallow;
end
|
186
|
How can I disable inline editing
with AxChartView1 do
begin
AllowEdit := EXORGCHARTLib.AllowKeysEnum.exDisallow;
end
|
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.
procedure TWinForm1.AxChartView1_MouseUpEvent(sender: System.Object; e: AxEXORGCHARTLib._IChartViewEvents_MouseUpEvent);
begin
// Items.Add(Me.NodeFromPoint(-1,-1).Caption,0,1234)
with AxChartView1 do
begin
with (ComObj.CreateComObject(ComObj.ProgIDToClassID('Exontrol.ExPopupMenu')) as EXPOPUPMENULib.PopupMenu) do
begin
OutputDebugString( ShowAtCursor );
end;
end
end;
with AxChartView1 do
begin
IndentSiblingY := 30;
ShowLinksDir := True;
PenWidthLink := 2;
LinkColor := Color.FromArgb(0,0,0);
AntiAliasing := True;
with Nodes do
begin
Add('L1_A',Nil,'LA',Nil,Nil).ShowLinkDir := False;
Add('L1_B',Nil,'LB',Nil,Nil);
Add('L2_A','LA','LA2',Nil,Nil);
Add('L2_B','LB','LB2',Nil,Nil);
end;
end
|
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.
procedure TWinForm1.AxChartView1_AnchorClick(sender: System.Object; e: AxEXORGCHARTLib._IChartViewEvents_AnchorClickEvent);
begin
with AxChartView1 do
begin
OutputDebugString( e.options );
end
end;
with AxChartView1 do
begin
Root.Image := 0;
with Nodes do
begin
Add('<a;http://www.exontrol.com>exontrol</a>',Nil,'1234',Nil,Nil);
end;
end
|
183
|
Is it possible to put a caption on the regular links

with AxChartView1 do
begin
IndentSiblingY := 30;
ShowLinksDir := True;
PenWidthLink := 2;
LinkColor := Color.FromArgb(0,0,0);
AntiAliasing := True;
with Nodes do
begin
Add('L1_A',Nil,'LA',Nil,Nil).LinkCaption := '<fgcolor=FF0000><font ;6>caption<br><c><bgcolor=FFFFFF><a>link';
Add('L1_B',Nil,'LB',Nil,Nil);
Add('L2_A','LA','LA2',Nil,Nil);
Add('L2_B','LB','LB2',Nil,Nil);
end;
end
|
182
|
Is it possible to hide directions for specific links

with AxChartView1 do
begin
IndentSiblingY := 30;
ShowLinksDir := True;
PenWidthLink := 2;
LinkColor := Color.FromArgb(0,0,0);
AntiAliasing := True;
with Nodes do
begin
Add('L1_A',Nil,'LA',Nil,Nil).ShowLinkDir := False;
Add('L1_B',Nil,'LB',Nil,Nil);
Add('L2_A','LA','LA2',Nil,Nil);
Add('L2_B','LB','LB2',Nil,Nil);
end;
end
|
181
|
Does your control supports multiple lines tooltip

with AxChartView1 do
begin
set_HTMLPicture('pic1','c:\exontrol\images\zipdisk.gif');
ToolTipDelay := 1;
Root.ToolTip := '<br><font Tahoma;10>This</font> is a <b>multi-lines</b> tooltip assigned to a column. The tooltip supports built-in HTML tags, i' +
'cons and pictures.<br><br><br><img>pic1</img> picture ... <br><br>';
end
|
180
|
Can I change the border's node, using your EBN technology, including specifying a color

with AxChartView1 do
begin
VisualAppearance.Add(1,'c:\exontrol\images\hot.ebn');
with Nodes do
begin
Add('Child',Nil,'1234',Nil,Nil);
with Add('Sub 1','1234',Nil,Nil,Nil) do
begin
Caption := 'This is a bit of long text that should break the line.<br>-using no color';
BackColor := $1000000;
end;
with Add('Sub 2','1234',Nil,Nil,Nil) do
begin
Caption := 'This is a bit of long text that should break the line.<br>-using a color';
BackColor := $100ff00;
end;
end;
end
|
179
|
Can the chart be arranged from the left to right (LTR)

with AxChartView1 do
begin
BeginUpdate();
Layout := EXORGCHARTLib.ChartLayoutEnum.exLayoutLTR;
ShowLinksDir := True;
IndentSiblingX := 32;
with Nodes do
begin
Add('Child1',Nil,'1234',Nil,Nil);
Add('Child2',Nil,'1235',Nil,Nil);
Add('Sub 1','1234',Nil,Nil,Nil);
Add('Sub 2','1234',Nil,Nil,Nil).Caption := 'This is a bit of long text that should break the line.';
end;
EndUpdate();
end
|
178
|
Is there any property to keep the aspect ratio for all pictures, but still keep the size of nodes

with AxChartView1 do
begin
BeginUpdate();
PictureHeightNode := 48;
PictureAspectRatioNode := EXORGCHARTLib.AspectRatioEnum.exAspectRatioHeight;
FixedWidthNode := 82;
with Nodes do
begin
with Add('PNG <b>1',Nil,'0',Nil,Nil) do
begin
Picture := 'c:\exontrol\images\card.png';
Alignment := EXORGCHARTLib.AlignmentEnum.CenterAlignment;
end;
with Add('PNG <b>2',Nil,'1',Nil,Nil) do
begin
Picture := 'c:\exontrol\images\diary.png';
Alignment := EXORGCHARTLib.AlignmentEnum.CenterAlignment;
end;
with Add('PNG <b>3',Nil,'2',Nil,Nil) do
begin
Picture := 'c:\exontrol\images\sun.png';
Alignment := EXORGCHARTLib.AlignmentEnum.CenterAlignment;
end;
end;
Root.Alignment := EXORGCHARTLib.AlignmentEnum.CenterAlignment;
EndUpdate();
end
|
177
|
Is there any property to keep the aspect ratio for all pictures

with AxChartView1 do
begin
BeginUpdate();
PictureHeightNode := 48;
PictureAspectRatioNode := EXORGCHARTLib.AspectRatioEnum.exAspectRatioHeight;
with Nodes do
begin
with Add('PNG <b>1',Nil,'0',Nil,Nil) do
begin
Picture := 'c:\exontrol\images\card.png';
end;
with Add('PNG <b>2',Nil,'1',Nil,Nil) do
begin
Picture := 'c:\exontrol\images\diary.png';
end;
with Add('PNG <b>3',Nil,'2',Nil,Nil) do
begin
Picture := 'c:\exontrol\images\sun.png';
end;
end;
EndUpdate();
end
|
176
|
Is there any property to keep the aspect ratio for all pictures

with AxChartView1 do
begin
BeginUpdate();
PictureWidthNode := 48;
PictureAspectRatioNode := EXORGCHARTLib.AspectRatioEnum.exAspectRatioWidth;
with Nodes do
begin
with Add('PNG <b>1',Nil,'0',Nil,Nil) do
begin
Picture := 'c:\exontrol\images\card.png';
end;
with Add('PNG <b>2',Nil,'1',Nil,Nil) do
begin
Picture := 'c:\exontrol\images\diary.png';
end;
with Add('PNG <b>3',Nil,'2',Nil,Nil) do
begin
Picture := 'c:\exontrol\images\sun.png';
end;
end;
EndUpdate();
end
|
175
|
Is there any property to keep the aspect ratio for displayed picture

with AxChartView1 do
begin
BeginUpdate();
with Nodes do
begin
with Add('Ratio/None',Nil,'0',Nil,Nil) do
begin
Picture := 'c:\exontrol\images\card.png';
PictureWidth := 48;
PictureHeight := 48;
end;
with Add('Ratio/Width',Nil,'1',Nil,Nil) do
begin
Picture := 'c:\exontrol\images\card.png';
PictureWidth := 48;
PictureAspectRatio := EXORGCHARTLib.AspectRatioEnum.exAspectRatioWidth;
end;
with Add('Ratio/Height',Nil,'2',Nil,Nil) do
begin
Picture := 'c:\exontrol\images\card.png';
PictureHeight := 48;
PictureAspectRatio := EXORGCHARTLib.AspectRatioEnum.exAspectRatioHeight;
end;
end;
EndUpdate();
end
|
174
|
Is is possible to show the round an arbitrary link

with AxChartView1 do
begin
AntiAliasing := True;
ShowLinksDir := False;
PenWidthLink := 1;
LinkColor := Color.FromArgb(0,0,0);
with Nodes do
begin
Add('L1_A',Nil,'LA',Nil,Nil).LinkTo := 'LB';
Add('L1_B<br><br>Cust',Nil,'LB',Nil,Nil);
with Add('L2_A','LA','LA2',Nil,Nil) do
begin
LinkTo := 'LB,LB22';
LinkToColor['LB'] := $ff;
LinkToWidth['LB'] := 2;
LinkToPen['LB'] := EXORGCHARTLib.PenTypeEnum.exPenDot;
LinkToShowDir['LB'] := True;
LinkToRound['LB'] := True;
LinkToRound['LB22'] := True;
LinkToShowDir['LB22'] := True;
LinkToColor['LB22'] := $80;
LinkToWidth['LB22'] := 2;
end;
Add('L2_B1','LB','LB21',Nil,Nil);
Add('L2_B2','LB','LB22',Nil,Nil);
Add('L2_B3','LB','LB23',Nil,Nil);
end;
end
|
173
|
Is is possible to show the round an arbitrary link

with AxChartView1 do
begin
AntiAliasing := True;
ShowLinksDir := False;
PenWidthLink := 1;
LinkColor := Color.FromArgb(0,0,0);
with Nodes do
begin
Add('L1_A',Nil,'LA',Nil,Nil).LinkTo := 'LB';
Add('L1_B<br><br>Cust',Nil,'LB',Nil,Nil);
with Add('L2_A','LA','LA2',Nil,Nil) do
begin
LinkTo := 'LB';
LinkToColor['LB'] := $ff;
LinkToWidth['LB'] := 2;
LinkToPen['LB'] := EXORGCHARTLib.PenTypeEnum.exPenDot;
LinkToShowDir['LB'] := True;
LinkToRound['LB'] := True;
end;
Add('L2_B1','LB','LB21',Nil,Nil);
Add('L2_B2','LB','LB22',Nil,Nil);
Add('L2_B3','LB','LB23',Nil,Nil);
end;
end
|
172
|
Is is possible to show the direction for a linktoline, even if the ShowLinksDir is False

with AxChartView1 do
begin
ShowLinksDir := False;
PenWidthLink := 2;
LinkColor := Color.FromArgb(0,0,0);
AntiAliasing := True;
with Nodes do
begin
Add('L1_A',Nil,'LA',Nil,Nil).LinkTo := 'LB';
with Add('L1_B<br><br>Cust',Nil,'LB',Nil,Nil) do
begin
LinkTo := 'LA2';
LinkToColor['LA2'] := $ff;
LinkToWidth['LA2'] := 2;
LinkToPen['LA2'] := EXORGCHARTLib.PenTypeEnum.exPenDashDot;
LinkToShowDir['LA2'] := True;
end;
Add('L2_A','LA','LA2',Nil,Nil);
Add('L2_B1','LB','LB21',Nil,Nil);
Add('L2_B2','LB','LB22',Nil,Nil);
Add('L2_B3','LB','LB23',Nil,Nil);
end;
end
|
171
|
Is is possible to change the width for a specified linkto line

with AxChartView1 do
begin
PenWidthLink := 2;
LinkColor := Color.FromArgb(0,0,0);
AntiAliasing := True;
with Nodes do
begin
Add('L1_A',Nil,'LA',Nil,Nil).LinkTo := 'LB';
with Add('L1_B<br><br>Cust',Nil,'LB',Nil,Nil) do
begin
LinkTo := 'LA2';
LinkToColor['LA2'] := $ff;
LinkToWidth['LA2'] := 4;
LinkToPen['LA2'] := EXORGCHARTLib.PenTypeEnum.exPenSolid;
LinkToCaption['LA2'] := 'L2A-L1B';
end;
Add('L2_A','LA','LA2',Nil,Nil);
Add('L2_B1','LB','LB21',Nil,Nil);
Add('L2_B2','LB','LB22',Nil,Nil);
Add('L2_B3','LB','LB23',Nil,Nil);
end;
end
|
170
|
Is is possible to change the width for a specified linkto line

with AxChartView1 do
begin
PenWidthLink := 2;
LinkColor := Color.FromArgb(0,0,0);
with Nodes do
begin
Add('L1_A',Nil,'LA',Nil,Nil).LinkTo := 'LB';
with Add('L1_B<br><br>Cust',Nil,'LB',Nil,Nil) do
begin
LinkTo := 'LA2';
LinkToColor['LA2'] := $ff;
LinkToWidth['LA2'] := 2;
end;
Add('L2_A','LA','LA2',Nil,Nil);
Add('L2_B1','LB','LB21',Nil,Nil);
Add('L2_B2','LB','LB22',Nil,Nil);
Add('L2_B3','LB','LB23',Nil,Nil);
end;
end
|
169
|
Is is possible to change the color for a specified linkto line

with AxChartView1 do
begin
PenWidthLink := 2;
LinkColor := Color.FromArgb(0,0,0);
with Nodes do
begin
Add('L1_A',Nil,'LA',Nil,Nil).LinkTo := 'LB';
with Add('L1_B<br><br>Cust',Nil,'LB',Nil,Nil) do
begin
LinkTo := 'LA2';
LinkToColor['LA2'] := $ff;
LinkToWidth['LA2'] := 2;
end;
Add('L2_A','LA','LA2',Nil,Nil);
Add('L2_B1','LB','LB21',Nil,Nil);
Add('L2_B2','LB','LB22',Nil,Nil);
Add('L2_B3','LB','LB23',Nil,Nil);
end;
end
|
168
|
How can I specify the size for a picture being shown in a specified node only

with AxChartView1 do
begin
with Nodes do
begin
with Add('Child 1',Nil,'1',Nil,Nil) do
begin
Picture := 'c:\exontrol\images\zipdisk.gif';
PictureWidth := 64;
PictureHeight := 64;
end;
Add('Child 2',Nil,'2',Nil,Nil).Picture := 'c:\exontrol\images\auction.gif';
end;
end
|
167
|
How can I resize the pictures being shown in the nodes

with AxChartView1 do
begin
PictureHeightNode := 24;
PictureWidthNode := 24;
with Nodes do
begin
Add('Child 1',Nil,'1',Nil,Nil).Picture := 'c:\exontrol\images\zipdisk.gif';
Add('Child 2',Nil,'2',Nil,Nil).Picture := 'c:\exontrol\images\auction.gif';
end;
end
|
166
|
Can I change the width of the node's border

with AxChartView1 do
begin
with Nodes do
begin
with Add('Child 1',Nil,'1',Nil,Nil) do
begin
BorderWidth := 3;
DrawRoundNode := False;
end;
Add('Child 2',Nil,'2',Nil,Nil);
end;
end
|
165
|
Can I change the visual appearance of the node

with AxChartView1 do
begin
VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
with Nodes do
begin
Add('Child 1',Nil,'1',Nil,Nil).BackColor := $1000000;
Add('Child 2',Nil,'2',Nil,Nil);
end;
end
|
164
|
Can I specify a different color for node's border

with AxChartView1 do
begin
with Nodes do
begin
Add('Child 1',Nil,'1',Nil,Nil).BorderColor := $ff;
Add('Child 2',Nil,'2',Nil,Nil);
end;
end
|
163
|
Can I display my image on my links

with AxChartView1 do
begin
set_HTMLPicture('pic1','c:\exontrol\images\colorize.gif');
AntiAliasing := True;
IndentSiblingY := 30;
IndentSiblingX := 60;
ShowLinksDir := True;
PenWidthLink := 2;
LinkColor := Color.FromArgb(0,0,0);
with Nodes do
begin
Add('L1_A',Nil,'LA',Nil,Nil);
with Add('L1_B',Nil,'LB',Nil,Nil) do
begin
LinkTo := 'LA2';
LinkToCaption['LA2'] := '<img>pic1</img> text';
end;
Add('L2_A','LA','LA2',Nil,Nil);
Add('L2_B','LB','LB2',Nil,Nil);
end;
end
|
162
|
How can I show a caption on my link

with AxChartView1 do
begin
AntiAliasing := True;
IndentSiblingY := 30;
ShowLinksDir := True;
PenWidthLink := 2;
LinkColor := Color.FromArgb(0,0,0);
with Nodes do
begin
Add('L1_A',Nil,'LA',Nil,Nil);
with Add('L1_B',Nil,'LB',Nil,Nil) do
begin
LinkTo := 'LA2';
LinkToCaption['LA2'] := 'text';
end;
Add('L2_A','LA','LA2',Nil,Nil);
Add('L2_B','LB','LB2',Nil,Nil);
end;
end
|
161
|
How can I show smootly the arrows

with AxChartView1 do
begin
AntiAliasing := True;
IndentSiblingY := 30;
ShowLinksDir := True;
PenWidthLink := 2;
LinkColor := Color.FromArgb(0,0,0);
with Nodes do
begin
Add('L1_A',Nil,'LA',Nil,Nil);
Add('L1_B',Nil,'LB',Nil,Nil).LinkTo := 'LA2';
Add('L2_A','LA','LA2',Nil,Nil).LinkTo := 'LB';
Add('L2_B','LB','LB2',Nil,Nil);
end;
end
|
160
|
How can I show direction on my links

with AxChartView1 do
begin
IndentSiblingY := 30;
ShowLinksDir := True;
PenWidthLink := 2;
LinkColor := Color.FromArgb(0,0,0);
AntiAliasing := True;
with Nodes do
begin
Add('L1_A',Nil,'LA',Nil,Nil);
Add('L1_B',Nil,'LB',Nil,Nil).LinkTo := 'LA2';
Add('L2_A','LA','LA2',Nil,Nil).LinkTo := 'LB';
Add('L2_B','LB','LB2',Nil,Nil);
end;
end
|
159
|
How can I add a doubled direction link

with AxChartView1 do
begin
PenWidthLink := 2;
LinkColor := Color.FromArgb(0,0,0);
with Nodes do
begin
Add('L1_A',Nil,'LA',Nil,Nil);
Add('L1_B',Nil,'LB',Nil,Nil).LinkTo := 'LA2';
Add('L2_A','LA','LA2',Nil,Nil).LinkTo := 'LB';
Add('L2_B','LB','LB2',Nil,Nil);
end;
end
|
158
|
How can I add arbitrary links

with AxChartView1 do
begin
PenWidthLink := 2;
LinkColor := Color.FromArgb(0,0,0);
with Nodes do
begin
Add('L1_A',Nil,'LA',Nil,Nil);
Add('L1_B',Nil,'LB',Nil,Nil).LinkTo := 'LA2';
Add('L2_A','LA','LA2',Nil,Nil);
Add('L2_B','LB','LB2',Nil,Nil);
end;
end
|
157
|
How can I add multiple parents

with AxChartView1 do
begin
PenWidthLink := 2;
LinkColor := Color.FromArgb(0,0,0);
with Nodes do
begin
Add('L1_A',Nil,'L1',Nil,Nil).AddGroup('L1_B',Nil,Nil);
Add('L_A','L1',Nil,Nil,Nil);
Add('L_B','L1',Nil,Nil,Nil);
Add('L_C','L1',Nil,Nil,Nil);
end;
end
|
156
|
How can I add multiple parents or roots

with AxChartView1 do
begin
BeginUpdate();
HasButtons := EXORGCHARTLib.ExpandButtonEnum.exWPlus;
ButtonsAlign := EXORGCHARTLib.PictureDisplayEnum.UpperCenter;
PenWidthLink := 3;
IndentChild := 32;
with Root do
begin
HasButton := False;
Caption := '<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';
Image := 0;
AddGroup('<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',Nil,Nil);
AddGroup('<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',Nil,Nil);
AddAssistant('<b>Assistant</b> <a1>node 1</a>',Nil,Nil).Key := 'A';
with AddAssistant('<b>Assistant</b> <a2>node 2</a>',Nil,Nil) do
begin
Left := True;
ShowLinks := False;
LinkTo := 'A';
end;
end;
with Nodes do
begin
with Add('Parent <b>1</b>',Nil,'Key1',Nil,Nil) do
begin
HasButton := False;
ArrangeSiblingNodesAs := EXORGCHARTLib.ArrangeSiblingEnum.exTree;
ShowRoundLink := True;
AddGroup('Parent <b>2</b>',Nil,Nil);
AddGroup('Parent <b>3</b>',Nil,Nil);
end;
Add('SubItem 1','Key1','S1',Nil,Nil).HasButton := False;
Add('SubItem 1.1','S1','S111',Nil,Nil);
Add('SubItem 1.2','S1','S112',Nil,Nil);
Add('SubItem 2','Key1',Nil,Nil,Nil);
Add('Item 2',Nil,'Key2',Nil,Nil).Expanded := False;
Add('SubItem 1','Key2',Nil,Nil,Nil);
Add('SubItem 2','Key2',Nil,Nil,Nil);
end;
EndUpdate();
end
|
155
|
How can I align the text/caption on the scroll bar

with AxChartView1 do
begin
set_ScrollPartCaption(EXORGCHARTLib.ScrollBarEnum.exHScroll,EXORGCHARTLib.ScrollPartEnum.exLowerBackPart,'left');
set_ScrollPartCaptionAlignment(EXORGCHARTLib.ScrollBarEnum.exHScroll,EXORGCHARTLib.ScrollPartEnum.exLowerBackPart,EXORGCHARTLib.AlignmentEnum.LeftAlignment);
set_ScrollPartCaption(EXORGCHARTLib.ScrollBarEnum.exHScroll,EXORGCHARTLib.ScrollPartEnum.exUpperBackPart,'right');
set_ScrollPartCaptionAlignment(EXORGCHARTLib.ScrollBarEnum.exHScroll,EXORGCHARTLib.ScrollPartEnum.exUpperBackPart,EXORGCHARTLib.AlignmentEnum.RightAlignment);
FixedWidthNode := 320;
end
|
154
|
How can I show round links

with AxChartView1 do
begin
ShowRoundLink := True;
Root.Image := 0;
IndentSiblingX := 32;
IndentSiblingY := 64;
with Nodes do
begin
Add('Child <b>1</b>',Nil,'1234',Nil,Nil).ArrangeSiblingNodesAs := EXORGCHARTLib.ArrangeSiblingEnum.exHorizontally;
Add('Sub 1','1234',Nil,Nil,Nil);
Add('Sub 2','1234',Nil,Nil,Nil);
Add('Sub 3','1234',Nil,Nil,Nil);
Add('Child <b>2</b>',Nil,Nil,Nil,Nil);
end;
end
|
153
|
How do I access a node by its key

with AxChartView1 do
begin
with Nodes do
begin
Add('Child 1',Nil,'C1',Nil,Nil);
Add('Sub Child 1','C1','SC1',Nil,Nil);
Add('Sub Sub Shild 1','SC1',Nil,Nil,Nil);
end;
Nodes.Item['SC1'].BackColor := $ff;
end
|
152
|
How can I get the number of nodes

with AxChartView1 do
begin
HasButtons := EXORGCHARTLib.ExpandButtonEnum.exPlus;
Root.ArrangeSiblingNodesAs := EXORGCHARTLib.ArrangeSiblingEnum.exTree;
with Nodes do
begin
Add('Child 1',Nil,'C1',Nil,Nil);
Add('Sub Child 1','C1','SC1',Nil,Nil);
Add('Sub Sub Shild 1','SC1',Nil,Nil,Nil);
Remove(TObject(3));
end;
end
|
151
|
How can I remove all nodes in the chart
with AxChartView1 do
begin
Nodes.Clear();
end
|
150
|
How can I clear the chart
with AxChartView1 do
begin
Nodes.Clear();
end
|
149
|
How can I get the number of nodes

with AxChartView1 do
begin
HasButtons := EXORGCHARTLib.ExpandButtonEnum.exPlus;
Root.ArrangeSiblingNodesAs := EXORGCHARTLib.ArrangeSiblingEnum.exTree;
with Nodes do
begin
Add('Child 1',Nil,'C1',Nil,Nil);
Add('Sub Child 1','C1','SC1',Nil,Nil);
Add('Sub Sub Shild 1','SC1',Nil,Nil,Nil);
Add(Count,Nil,Nil,Nil,Nil);
end;
end
|
148
|
How can I add a child node

with AxChartView1 do
begin
HasButtons := EXORGCHARTLib.ExpandButtonEnum.exPlus;
Root.ArrangeSiblingNodesAs := EXORGCHARTLib.ArrangeSiblingEnum.exTree;
with Nodes do
begin
Add('Child 1',Nil,'C1',Nil,Nil);
Add('Sub Child 1','C1','SC1',Nil,Nil);
Add('Sub Sub Shild 1','SC1',Nil,Nil,Nil);
end;
end
|
147
|
How can I add a child node

with AxChartView1 do
begin
HasButtons := EXORGCHARTLib.ExpandButtonEnum.exPlus;
with Nodes do
begin
Add('Child 1',Nil,'C1',Nil,Nil);
Add('Child 2',Nil,'C2',Nil,Nil);
Add('Sub Child 1','C1','SC1',Nil,Nil);
Add('Sub Sub Shild 1','SC1',Nil,Nil,Nil);
end;
end
|
146
|
How can I draw link or a line between my own nodes

with AxChartView1 do
begin
HasButtons := EXORGCHARTLib.ExpandButtonEnum.exPlus;
PenLink := EXORGCHARTLib.PenTypeEnum.exPenSolid;
PenWidthLink := 3;
with Root do
begin
Image := 0;
AddAssistant('Assistant 1',Nil,Nil);
AddAssistant('Assistant 2',Nil,Nil);
end;
with Nodes do
begin
Add('Child <b>1</b>',Nil,'1234',Nil,Nil);
Add('Sub 1','1234',Nil,Nil,Nil);
with Add('Sub 2','1234',Nil,Nil,Nil) do
begin
LinkTo := 'AA';
end;
Add('Sub 3','1234',Nil,Nil,Nil);
Add('Child <b>2</b>',Nil,'AA',Nil,Nil);
end;
end
|
145
|
How can I show or hide the link or a line between nodes

with AxChartView1 do
begin
HasButtons := EXORGCHARTLib.ExpandButtonEnum.exPlus;
with Root do
begin
Image := 0;
AddAssistant('Assistant 1',Nil,Nil);
AddAssistant('Assistant 2',Nil,Nil);
end;
with Nodes do
begin
Add('Child <b>1</b>',Nil,'1234',Nil,Nil).ShowLinks := False;
Add('Sub 1','1234',Nil,Nil,Nil);
Add('Sub 2','1234',Nil,Nil,Nil);
Add('Sub 3','1234',Nil,Nil,Nil);
Add('Child <b>2</b>',Nil,Nil,Nil,Nil);
end;
end
|
144
|
How can I hide or show the +/- expand/collapse buttons for a specified node

with AxChartView1 do
begin
HasButtons := EXORGCHARTLib.ExpandButtonEnum.exPlus;
with Root do
begin
Image := 0;
AddAssistant('Assistant 1',Nil,Nil);
AddAssistant('Assistant 2',Nil,Nil);
end;
with Nodes do
begin
Add('Child <b>1</b>',Nil,'1234',Nil,Nil).HasButton := False;
Add('Sub 1','1234',Nil,Nil,Nil);
Add('Sub 2','1234',Nil,Nil,Nil);
Add('Sub 3','1234',Nil,Nil,Nil);
Add('Child <b>2</b>',Nil,Nil,Nil,Nil);
end;
end
|
143
|
How can I expand or collapse a node

with AxChartView1 do
begin
HasButtons := EXORGCHARTLib.ExpandButtonEnum.exPlus;
with Root do
begin
Image := 0;
AddAssistant('Assistant 1',Nil,Nil);
AddAssistant('Assistant 2',Nil,Nil);
end;
with Nodes do
begin
Add('Child <b>1</b>',Nil,'1234',Nil,Nil).Expanded := False;
Add('Sub 1','1234',Nil,Nil,Nil);
Add('Sub 2','1234',Nil,Nil,Nil);
Add('Sub 3','1234',Nil,Nil,Nil);
Add('Child <b>2</b>',Nil,Nil,Nil,Nil);
end;
end
|
142
|
How can I assign an icon to the root node

with AxChartView1 do
begin
Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' +
'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' +
'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' +
'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
Root.Image := 1;
end
|
141
|
How can I access an assistant nodes

with AxChartView1 do
begin
BeginUpdate();
Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' +
'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' +
'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' +
'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
with Root do
begin
Image := 0;
AddAssistant('Assistant 1',Nil,Nil);
AddAssistant('Assistant 2',Nil,Nil);
Assistant[TObject(0)].Image := 1;
end;
with Nodes do
begin
Add('Child <b>1</b>',Nil,'1234',Nil,Nil);
Add('Sub 1','1234',Nil,Nil,Nil);
Add('Sub 2','1234',Nil,Nil,Nil);
Add('Sub 3','1234',Nil,Nil,Nil);
Add('Child <b>2</b>',Nil,Nil,Nil,Nil);
end;
EndUpdate();
end
|
140
|
How can I get the number or count of assistant nodes

with AxChartView1 do
begin
BeginUpdate();
with Root do
begin
Image := 0;
AddAssistant('Assistant 1',Nil,Nil);
AddAssistant('Assistant 2',Nil,Nil);
AddAssistant(CountAssistants,Nil,Nil);
end;
with Nodes do
begin
Add('Child <b>1</b>',Nil,'1234',Nil,Nil);
Add('Sub 1','1234',Nil,Nil,Nil);
Add('Sub 2','1234',Nil,Nil,Nil);
Add('Sub 3','1234',Nil,Nil,Nil);
Add('Child <b>2</b>',Nil,Nil,Nil,Nil);
end;
EndUpdate();
end
|
139
|
How can I display assistant nodes on the right side only

with AxChartView1 do
begin
BeginUpdate();
with Root do
begin
Image := 0;
AddAssistant('Assistant 1',Nil,Nil).Left := False;
AddAssistant('Assistant 2',Nil,Nil).Left := False;
end;
with Nodes do
begin
Add('Child <b>1</b>',Nil,'1234',Nil,Nil);
Add('Sub 1','1234',Nil,Nil,Nil);
Add('Sub 2','1234',Nil,Nil,Nil);
Add('Sub 3','1234',Nil,Nil,Nil);
Add('Child <b>2</b>',Nil,Nil,Nil,Nil);
end;
EndUpdate();
end
|
138
|
How can I display assistant nodes on the left side only

with AxChartView1 do
begin
BeginUpdate();
with Root do
begin
Image := 0;
AddAssistant('Assistant 1',Nil,Nil).Left := True;
AddAssistant('Assistant 2',Nil,Nil).Left := True;
end;
with Nodes do
begin
Add('Child <b>1</b>',Nil,'1234',Nil,Nil);
Add('Sub 1','1234',Nil,Nil,Nil);
Add('Sub 2','1234',Nil,Nil,Nil);
Add('Sub 3','1234',Nil,Nil,Nil);
Add('Child <b>2</b>',Nil,Nil,Nil,Nil);
end;
EndUpdate();
end
|
137
|
How can I clear or remove all assistant nodes

with AxChartView1 do
begin
BeginUpdate();
with Root do
begin
Image := 0;
AddAssistant('Assistant 1',Nil,Nil);
AddAssistant('Assistant 2',Nil,Nil);
ClearAssistants();
end;
with Nodes do
begin
Add('Child <b>1</b>',Nil,'1234',Nil,Nil);
Add('Sub 1','1234',Nil,Nil,Nil);
Add('Sub 2','1234',Nil,Nil,Nil);
Add('Sub 3','1234',Nil,Nil,Nil);
Add('Child <b>2</b>',Nil,Nil,Nil,Nil);
end;
EndUpdate();
end
|
136
|
How can I remove an assistant node

with AxChartView1 do
begin
with Root do
begin
Image := 0;
AddAssistant('Assistant 1',Nil,Nil);
AddAssistant('Assistant 2',Nil,Nil);
RemoveAssistant(TObject(0));
end;
with Nodes do
begin
Add('Child <b>1</b>',Nil,'1234',Nil,Nil);
Add('Sub 1','1234',Nil,Nil,Nil);
Add('Sub 2','1234',Nil,Nil,Nil);
Add('Sub 3','1234',Nil,Nil,Nil);
Add('Child <b>2</b>',Nil,Nil,Nil,Nil);
end;
end
|
135
|
How can I add assistant node

with AxChartView1 do
begin
with Root do
begin
Image := 0;
AddAssistant('Assistant 1',Nil,Nil);
AddAssistant('Assistant 2',Nil,Nil);
end;
with Nodes do
begin
Add('Child <b>1</b>',Nil,'1234',Nil,Nil);
Add('Sub 1','1234',Nil,Nil,Nil);
Add('Sub 2','1234',Nil,Nil,Nil);
Add('Sub 3','1234',Nil,Nil,Nil);
Add('Child <b>2</b>',Nil,Nil,Nil,Nil);
end;
end
|
134
|
Can I change the border's node, using your EBN technology

with AxChartView1 do
begin
VisualAppearance.Add(1,'c:\exontrol\images\hot.ebn');
with Nodes do
begin
Add('Child',Nil,'1234',Nil,Nil);
Add('Sub 1','1234',Nil,Nil,Nil);
with Add('Sub 2','1234',Nil,Nil,Nil) do
begin
Caption := 'This is a bit of long text that should break the line.';
BackColor := $1000000;
end;
end;
end
|
133
|
Can I remove the shadow for a specified node

with AxChartView1 do
begin
with Nodes do
begin
Add('Child',Nil,'1234',Nil,Nil);
Add('Sub 1','1234',Nil,Nil,Nil);
with Add('Sub 2','1234',Nil,Nil,Nil) do
begin
Caption := 'This is a bit of long text that should break the line.';
ShadowNode := False;
end;
end;
end
|
132
|
Can I change the border for a specified node

with AxChartView1 do
begin
with Nodes do
begin
Add('Child',Nil,'1234',Nil,Nil);
Add('Sub 1','1234',Nil,Nil,Nil);
with Add('Sub 2','1234',Nil,Nil,Nil) do
begin
Caption := 'This is a bit of long text that should break the line.';
PenBorderNode := EXORGCHARTLib.PenTypeEnum.exPenDashDotDot;
end;
end;
end
|
131
|
Can I remove the round corner for a specified node

with AxChartView1 do
begin
with Nodes do
begin
Add('Child',Nil,'1234',Nil,Nil);
Add('Sub 1','1234',Nil,Nil,Nil);
with Add('Sub 2','1234',Nil,Nil,Nil) do
begin
Caption := 'This is a bit of long text that should break the line.';
DrawRoundNode := False;
end;
end;
end
|
130
|
How can I disable or enable a node

with AxChartView1 do
begin
with Nodes do
begin
Add('Child',Nil,'1234',Nil,Nil);
Add('Sub 1','1234',Nil,Nil,Nil);
with Add('Sub 2','1234',Nil,Nil,Nil) do
begin
Caption := 'This is a bit of long text that should break the line.';
Enabled := False;
end;
end;
end
|
129
|
How can I specify the height of the node

with AxChartView1 do
begin
with Nodes do
begin
Add('Child',Nil,'1234',Nil,Nil);
Add('Sub 1','1234',Nil,Nil,Nil);
with Add('Sub 2','1234',Nil,Nil,Nil) do
begin
Caption := 'This is a bit of long text that should break the line.';
FixedHeight := 128;
end;
end;
end
|
128
|
How can I specify the width of the node

with AxChartView1 do
begin
with Nodes do
begin
Add('Child',Nil,'1234',Nil,Nil);
Add('Sub 1','1234',Nil,Nil,Nil);
with Add('Sub 2','1234',Nil,Nil,Nil) do
begin
Caption := 'This is a bit of long text that should break the line.';
FixedWidth := 128;
end;
end;
end
|
127
|
How can I specify the width of the node to wrap it's content

with AxChartView1 do
begin
with Nodes do
begin
Add('Child',Nil,'1234',Nil,Nil);
Add('Sub 1','1234',Nil,Nil,Nil);
with Add('Sub 2','1234',Nil,Nil,Nil) do
begin
Caption := 'This is a bit of long text that should break the line.';
Width := 128;
end;
end;
end
|
126
|
How can I change the position of the node

with AxChartView1 do
begin
with Nodes do
begin
Add('Child',Nil,'1234',Nil,Nil);
Add('Sub 1','1234',Nil,Nil,Nil);
Add('Sub 2','1234',Nil,Nil,Nil).Position := 0;
end;
end
|
125
|
How can I count or get the number of child nodes

with AxChartView1 do
begin
with Nodes do
begin
Add('Child',Nil,'1234',Nil,Nil);
Add('Sub 1','1234',Nil,Nil,Nil);
Add('Sub 2','1234',Nil,Nil,Nil);
Add(Item['1234'].NodeCount,Nil,Nil,Nil,Nil);
end;
end
|
124
|
How can I enumerate the child nodes

with AxChartView1 do
begin
with Nodes do
begin
Add('Child',Nil,'1234',Nil,Nil);
Add('Sub 1','1234',Nil,Nil,Nil);
Add('Sub 2','1234',Nil,Nil,Nil);
Add(Item['1234'].FirstNode.Caption,Nil,Nil,Nil,Nil);
Add(Item['1234'].FirstNode.NextNode.Caption,Nil,Nil,Nil,Nil);
end;
end
|
123
|
How can I change the node's parent

with AxChartView1 do
begin
BeginUpdate();
Nodes.Add('Child 1',Nil,'1234',Nil,Nil);
Nodes.Add('Sub 1','1234',Nil,Nil,Nil);
Nodes.Add('Sub 2','1234',Nil,Nil,Nil);
Nodes.Add('Child 2',Nil,'1235',Nil,Nil);
Nodes.Add('Sub 1','1235',Nil,Nil,Nil);
Nodes.Add('To Move','1235','Move',Nil,Nil);
with Nodes.Item['Move'] do
begin
Parent := (AxChartView1.Root as EXORGCHARTLib.Node);
Caption := 'Moved 2 Root from Child 2';
end;
EndUpdate();
end
|
122
|
How can I assign a key to a node

with AxChartView1 do
begin
Nodes.Add('Child',Nil,'1234',Nil,Nil);
Nodes.Add('Sub 1','1234',Nil,Nil,Nil);
Nodes.Add('Sub 2','1234',Nil,Nil,Nil);
end
|
121
|
How can I assign a key to a node

with AxChartView1 do
begin
Nodes.Add('Child',Nil,Nil,Nil,Nil).Key := '1234';
Nodes.Add('Sub 1','1234',Nil,Nil,Nil);
Nodes.Add('Sub 2','1234',Nil,Nil,Nil);
end
|
120
|
How can I change the node's background color

with AxChartView1 do
begin
with Nodes.Add('Child',Nil,Nil,Nil,Nil) do
begin
BackColor := $ff;
ClearBackColor();
end;
end
|
119
|
How can I change the node's background color

with AxChartView1 do
begin
Nodes.Add('Child',Nil,Nil,Nil,Nil).BackColor := $ff;
end
|
118
|
How can I change the node's foreground color

with AxChartView1 do
begin
with Nodes.Add('Child',Nil,Nil,Nil,Nil) do
begin
ForeColor := $ff;
ClearForeColor();
end;
end
|
117
|
How can I change the node's foreground color

with AxChartView1 do
begin
Nodes.Add('Child',Nil,Nil,Nil,Nil).ForeColor := $ff;
end
|
116
|
How can I assign a tooltip to a node

with AxChartView1 do
begin
with Nodes.Add('ToolTip',Nil,Nil,Nil,Nil) do
begin
ToolTip := 'This is a bit of text that''s shown when the cursor hovers this <b>node</b>.';
ToolTipTitle := 'TITLE';
end;
end
|
115
|
How can I assign a different font for the node's tooltip

with AxChartView1 do
begin
Nodes.Add('ToolTip',Nil,Nil,Nil,Nil).ToolTip := '<font Tahoma;12>This is a bit of text that''s shown when the cursor hovers this <b>node</b>.</font>';
end
|
114
|
How can I assign a tooltip to a node

with AxChartView1 do
begin
Nodes.Add('ToolTip',Nil,Nil,Nil,Nil).ToolTip := 'This is a bit of text that''s shown when the cursor hovers this <b>node</b>.';
end
|
113
|
How can I assign any extra data to my node

with AxChartView1 do
begin
Nodes.Add('Child',Nil,Nil,Nil,Nil).UserData := 'your data';
end
|
112
|
How can I assign an icon and a picture to a node

with AxChartView1 do
begin
Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' +
'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' +
'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' +
'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
with Nodes.Add('Child',Nil,Nil,Nil,Nil) do
begin
Image := 1;
Picture := AxChartView1.ExecuteTemplate('loadpicture(`c:\exontrol\images\zipdisk.gif`)');
PictureAlignment := EXORGCHARTLib.ImageAlignmentEnum.exImageBottom;
end;
end
|
111
|
How can I align the picture in the node
with AxChartView1 do
begin
with Nodes.Add('Child',Nil,Nil,Nil,Nil) do
begin
Picture := AxChartView1.ExecuteTemplate('loadpicture(`c:\exontrol\images\zipdisk.gif`)');
PictureAlignment := EXORGCHARTLib.ImageAlignmentEnum.exImageBottom;
end;
end
|
110
|
How can I align the picture in the node

with AxChartView1 do
begin
with Nodes.Add('Child',Nil,Nil,Nil,Nil) do
begin
Picture := AxChartView1.ExecuteTemplate('loadpicture(`c:\exontrol\images\zipdisk.gif`)');
PictureAlignment := EXORGCHARTLib.ImageAlignmentEnum.exImageTop;
end;
end
|
109
|
How can I align the picture in the node

with AxChartView1 do
begin
with Nodes.Add('Child',Nil,Nil,Nil,Nil) do
begin
Picture := AxChartView1.ExecuteTemplate('loadpicture(`c:\exontrol\images\zipdisk.gif`)');
PictureAlignment := EXORGCHARTLib.ImageAlignmentEnum.exImageRight;
end;
end
|
108
|
How can I assign a picture to a node

with AxChartView1 do
begin
Nodes.Add('Child',Nil,Nil,Nil,Nil).Picture := AxChartView1.ExecuteTemplate('loadpicture(`c:\exontrol\images\zipdisk.gif`)');
end
|
107
|
How can I align the icon in the node

with AxChartView1 do
begin
Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' +
'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' +
'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' +
'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
with Nodes.Add('Just a node with an icon',Nil,Nil,Nil,Nil) do
begin
Image := 1;
ImageAlignment := EXORGCHARTLib.ImageAlignmentEnum.exImageRight;
end;
end
|
106
|
How can I align the icon in the node

with AxChartView1 do
begin
Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' +
'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' +
'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' +
'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
with Nodes.Add('Just a node with an icon',Nil,Nil,Nil,Nil) do
begin
Image := 1;
ImageAlignment := EXORGCHARTLib.ImageAlignmentEnum.exImageBottom;
end;
end
|
105
|
How can I align the icon in the node

with AxChartView1 do
begin
Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' +
'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' +
'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' +
'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
with Nodes.Add('Just a node with an icon',Nil,Nil,Nil,Nil) do
begin
Image := 1;
ImageAlignment := EXORGCHARTLib.ImageAlignmentEnum.exImageTop;
end;
end
|
104
|
How can I assign an icon to a node

with AxChartView1 do
begin
Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' +
'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' +
'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' +
'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
Nodes.Add('Child',Nil,Nil,Nil,Nil).Image := 1;
end
|
103
|
How can I change the font for a node

with AxChartView1 do
begin
Nodes.Add('Child',Nil,Nil,Nil,Nil).Caption := '<font Tahoma;12>new</font> caption';
end
|
102
|
How can I add a multiple lines node

with AxChartView1 do
begin
Nodes.Add('',Nil,Nil,Nil,Nil).Caption := 'Line 1<br>Line 2<br>Line3';
end
|
101
|
How can I add a multiple lines node

with AxChartView1 do
begin
Nodes.Add('Line 1<br>Line 2<br>Line3',Nil,Nil,Nil,Nil);
end
|