You will need
- - skills in Delphi environment.
Use to create graphics in Delphi TChart component. It is a container of objects (the data series that are characterized by different display styles). Place this component on the form or use the wizard to make a graph in Delphi.
Run the wizard with the command "File" – "New" – "Other" in the window that appears, select the Business tab on it select the "chart Wizard". Next, select whether to use the database.
Define the chart appearance, whether it is two or three dimensional. Then set the check box "Show legend", "Display labels". The diagram in Delphi completed.
Click the "finish" button in the form designer there will be a new form will appear on it, the Chart object. If the schedule was built without using a database, then it will be filled with randomly generated values. In the future they may be replaced with the necessary information.
Double-click the preset with the mouse, you will move to the "graphics Editor". Here set the properties of the chart and its series. In the editor the graphics its contents are presented in a tabulated notebook.
Set the desired chart options in the tabs of the pages Chart. In the tab "Series" select series graphics (set of points). Volume graphics, zoom, margins, borders are set in the General tab. In the tab "Axis" set their properties.
Next, set the scale values in the corresponding tab. Either select "Automatically" so that the scaling happens automatically. In the tab "Title" is the text of the axis titles, the location angles of the workpiece, and the title font. The axis labels are set in the tab "Label". There is also the opportunity to make a three-dimensional graph in Delphi, to establish a "wall" and multi-page graphics.
Advice 2 : How to draw a graph in Delphi
Delphi (Delphi) is a development environment of programs, which have become a common tool for many users, not only those who are seriously involved in programming. This program is easy to learn and has extensible functionality.
To create graphics in Delphi use the TChart component. It is a container of objects (data series characterized by different display styles). Place this component on the form Il use the chart wizard.
The wizard starts with the following command: "File" – "New" – "Other". Next, select in the window Business tab, then "chart Wizard". Select whether the used database.
Think over the appearance of the chart – it will be a two - or three-dimensional. As needed, select the check boxes for "Display labels" and "Show legend". The diagram in Delphi ends here.
Click on the "finish" button. You will see in the form designer a new form, it will be the Chart object. The schedule will be filled with randomly generated values (in the case if you built it without using a database). Then you can replace them by others at their discretion.
Double click with the left mouse button on blank – you will be moved in the Editor " graphics". Set the properties of the series. In the editor, its content is presented in a tabulated notebook.
In the tabs of the pages Chart the options you want graphics. Select in the tab "Series" series graphics. In the tab "General" you can set volume graphics, margins, borders, zoom. Well, in the Axes tab, need to set their properties.
Then you need to install on the corresponding tab in the scale of values. Can also set the checkbox on "Automatically", so that the scaling was automatic. Set the tab Title text of the axis titles, fonts, and angles the location of the workpiece. In the tab Label, set the axis labels. Can also make three-dimensional graph, set multi-page graphics, a "wall".