Frequently Asked Component Specific Questions
Options |
Display all FAQ items |
Displaying items 1 to 1 of 1, page 1 of 1
<< previous next >>
TMS VCL Chart
Adding and removing a Pane
Adding and removing a Pane
Open the Pane Editor dialog and click on the - icon to remove the selected pane. Click on the + icon to add a new pane. Below is a sample code snippet to add a pane:
procedure TForm1.AddNewPane; var p: TAdvChartPane; begin p := AdvChartView.Panes.Add; // set properties of Pane here end;
procedure TForm1.AddNewPane; var p: TAdvGDIPChartPane; begin p := AdvGDIPChartView.Panes.Add; // set properties of GDI+ Pane here end;
procedure TForm1.RemovePane; begin AdvChartView.Panes[0].Free; end;