How to: |
The Visual Discovery design-time and run-time environments provide online help for the user interface and the JavaScript API. The JavaScript API online help includes full documentation on all controls and their properties, methods, and expected behavior.
This procedure describes how to access online help for the user interface, and then navigate to information on the JavaScript API.
For specific steps on using online help to set colors, see the example that follows this general procedure.
In the run-time environment, right-click the control and select Properties from the pop-up menu.
The Visual Discovery Properties dialog box for the selected control opens.
The Common Property Pages window opens. It provides information on all the tabs for the control. These common tabs are the same for many controls.
Online help information explains what the fields on the tab allow you to do.
A new pane opens on the right, displaying the selected topic.
You can set the color of the various parts of a control, for instance, the background, the axis titles, the chart title, and so on. This example shows how to access online help for information on the Colors tab of the user interface, and then navigate to information on setting colors through the JavaScript API.
This example uses an HTML page with a bar chart. It accesses online help from the design-time environment.
The Visual Discovery Bar Chart Properties dialog box opens.
The Common Property Pages window opens. It provides information on all the tabs for the bar chart.
Online help information explains what the fields on the tab allow you to do, for example, apply a color to a control element, such as background.
On the Search tab in the left pane, in the field labeled Type in the keyword to find, enter Background Color and click List Topics.
The VzView4 window opens in the right pane, with details on the standard JavaScript API for all Visual Discovery controls, including properties and methods.
Instances of the keyword you entered in the search pane are highlighted ("background color" and "color").
Tables describing hexadecimal color codes are available on many websites.
WebFOCUS |