Tuto WINDEV 25
232 Part 4: Full application with data 8. We are now going to define the data source. • For the labels (values displayed at the bottom of chart, the years in our example): • the source corresponds to: "Browsing a file or a query", • the data corresponds to the Year item in the QRY_SalesEvolutions query. • For the series (values displayed in the Chart control): the Chart control will display a single series corresponding to the total IOT calculated by the QRY_SalesEvolutions query. • Double-click the "Sources of series" table. • Type the caption: "Series 1". • The source corresponds to: "Browsing a file or a query", • The data corresponds to the "sum_TotalIOT" item in the QRY_SalesEvolutions query. Go to the next step. 9. No background image will be associated with the Chart control. Go to the next step. 10. Give a name to the Chart control: "CHART_SalesEvolutions" and validate the wizard. 11. The Chart control is automatically created in the editor. 12. Click to run the window test.
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==