Let's create this application step by step:
- Create a new FireMonkey desktop application.
- Drop a TPanel component onto the form. In the TPanel component, put a TPath component and set its Align property to alClient. Now, the TPath component should fit into the TPanel component.
- Drop another TPath component onto the first one and again set its Align property to alClient.
- Now, you should have TPanel with two nested TPath components inside it.
- Show the structure of the form (Shift + Alt + F11).
- Name the first TPath component PathValues and the second TPath component PathAxis.
- Drop a TTimer component on the form and double-click on it. In the OnTimer event handler, write the following code:
procedure TMainForm.Timer1Timer(Sender: ...