Delphi is an environment for software development, it has long become a part of the lives of many users, even those who do not seriously program. It is one of the most popular languages as it is easy to learn and has extensible functionality.
Necessary
skills in the Delphi environment
Instructions
Step 1
Use the TChart component to create a chart in Delphi. It is a container of objects (series of data that are characterized by different display styles). Place this component on the form or use the wizard to create a graph in Delphi.
Step 2
Start the wizard using the command "File" - "New" - "Other", in the window that appears, select the Business tab, on it select "Chart Wizard". Next, choose whether to use the database.
Step 3
Determine the appearance of the chart, whether it is 2D or 3D. Then check the boxes "Show legend", "Show labels" if necessary. This completes the construction of the diagram in Delphi.
Step 4
Click on the "Finish" button, a new form will appear in the form designer, a Chart object will appear on it. If the graph was built without using a database, then it will be filled with randomly generated values. In the future, they can be replaced with the necessary information.
Step 5
Double click on the preset with the mouse, you will be taken to the "Graph Editor". Here, set the properties of the chart, as well as its series. In the graph editor, its contents are presented as a tabbed notepad.
Step 6
Set the desired chart parameters in the tabs of the Chart page. In the "Series" tab, set the series of the graph (set of points). The volume of the chart, the possibility of increasing, the indents from the borders are set in the "General" tab. Set their properties in the "Axes" tab.
Step 7
Next, set the scale of values in the appropriate tab. Alternatively, select the Automatic checkbox to automatically scale. In the “Title” tab, the text of the axis titles, the angles of the workpiece location, and the title font are set. Axis labels are set in the Label tab. It is also possible to make a three-dimensional chart in Delphi, set a "wall", and multi-page charts.