Web DataWindow – PB Docs 125
Web DataWindow The Web DataWindow is a thin-client DataWindow implementation for Web applications. It provides most of the data manipulation, presentation, and scripting capabilities of the PowerBuilder DataWindow without requiring any PowerBuilder DLLs on the client. Functionality The Web DataWindow supports a subset of the PowerBuilder DataWindow events and methods, including dynamic modification of the…
Using point and click – PB Docs 125
Using point and click Users can click graphs during execution. The DataWindow control provides a method called ObjectAtPointer that stores information about what was clicked. You can use this method in a number of ways in mouse events. For example, with the ObjectAtPointer information, you can call other graph methods to report to the user…
Using nested reports – PB Docs 125
Using nested reports When designing a DataWindow object for a report, you can choose to nest other reports (which are also DataWindow objects) within it. The basic steps for using nested reports in an application are the same ones you follow for the other report types. There are, however, some additional topics concerning nested reports…
Using graphs – PB Docs 125
Using graphs Supported environments PowerBuilder and Web ActiveX Graphs are supported. Because you can print DataStores, PowerBuilder provides some events and functions for DataStores that pertain to the visual presentation of the data. However, graph functions such as CategoryCount, CategoryName, GetData, SeriesCount, and so forth depend on the visual graph control, which is not created…
Saving graph data – PB Docs 125
Saving graph data PowerBuilder The following methods allow you to save data from the graph: Table 5-3: PowerBuilder methods for saving data from a graph Method Action Clipboard Copies a bitmap image of the specified graph to the clipboard SaveAs Saves the data in the underlying graph to the clipboard or to a file in…
Modifying graph properties – PB Docs 125
Modifying graph properties When you define a graph in the DataWindow painter, you specify its behavior and appearance. For example, you might define a graph as a column graph with a certain title, divide its Value axis into four major divisions, and so on. Each of these entries corresponds to a property of a graph….
Modifying colors, fill patterns, and other data – PB Docs 125
Modifying colors, fill patterns, and other data PowerBuilder The following methods allow you to modify the appearance of data in a graph: Table 5-5: PowerBuilder methods for modifying the appearance of data Method Action ResetDataColors Resets the color for a specific data point SetDataLabelling Specifies the display setting for a data label in a DirectX…
How parts of a graph are represented – PB Docs 125
How parts of a graph are represented Graphs consist of parts: a title, a legend, and axes. Each of these parts has a set of display properties. These display properties are themselves stored as properties in a subobject (structure) of Graph called grDispAttr. For example, graphs have a Title property, which specifies the text for…
Header section – PB Docs 125
Header section The Header section can contain the items listed in Table 6-12. Only the root XHTML <form> element is required: Table 6-12: Items permitted in the Header section of an XHTML document Item Details Root <form> element (start tag) The XHTML <form> element is the root element of the XHTML template. See “Root element”….
Getting information about the data – PB Docs 125
Getting information about the data There are quite a few methods for getting information about data in a graph in a DataWindow control at execution time. For all methods, you provide the name of the graph within the DataWindow as the first argument. You can provide your own name for graph controls when you insert…