How to: |
In this section of the tutorial, you will complete the following:
In this procedure, you create the new HTML page using the HTML/Document Wizard. You can also create a new HTML page from the Application menu, Quick Access Toolbar, or the Environments Tree panel.
The HTML/Document Wizard opens.
The following open:
In this procedure, you will add the salesreport.fex procedure, that you created earlier in this tutorial, to the HTML page.
This changes the placement of the report container on your HTML page.
The Open File dialog box opens.
The New Parameters dialog box opens. Use this dialog box to chain the controls for COUNTRY_NAME and STATE_PROV_NAME, as shown in the following image.
You can select the check box next to the control, in the Chain control column, or you can select the Auto chain controls in above specified order check box.
The salesreport.fex and a form object that contains controls open on the HTML page, as shown in the following image.
In this procedure, you add a pie chart to the HTML page. You add one dimension (Product Category) and multiple measures (Product Cost, Revenue) to the Y Axis.
The chart uses the same parameters as the report, so controls (Where=Region, Where=State) govern both the report and the chart procedure. Therefore, the New Parameters dialog box does not open when you save the chart back to the HTML page.
By the end of this section in the tutorial, you will have created two controls, a report and a chart, and you have chained the COUNTRY_NAME field to the STATE_PROV_NAME field.
The Open File dialog box opens.
A blank canvas, named HtmlPage1_chart1, opens.
The Chart Wizard - Select a master file pane opens, as shown in the following image.
The Chart canvas opens, previewing a sample chart, as shown in the following image.
The Templates - Browse predefined template files dialog box opens.
The chart is displayed on the HTML page, as shown in the following image.
In this procedure, you add styling to the HTML page using the Properties panel.
Note: You can sort the display of properties in the Properties panel by category or in alphabetical order. If you cannot locate a property in your display, select a different sorting option from the Properties panel toolbar.
Note: The first selected component is the component whose size will change. The size will change to that of the second selected component, as shown in the following image.
An arrow appears.
The Color Picker dialog box opens.
An arrow appears.
An arrow appears.
The Color Picker dialog box opens.
Your HTML page will now have a report and chart that are the same size, a large yellow title, and a navy blue background, as shown in the following image.
The Save As dialog box opens.
Note: App Studio automatically replaces each space with an underscore, since file names cannot contain spaces.
WebFOCUS |