RAD Studio
ContentsIndex
PreviousUpNext
Using Decision Graphs

The decision graph component, TDecisionGraph, displays fields from the decision source TDecisionSource as a dynamic graph that changes when data dimensions are opened, closed, dragged and dropped, or rearranged with the decision pivot TDecisionPivot. 

Graphed data comes from a specially formatted dataset such as TDecisionQuery. For an overview of how the decision support components handle and arrange this data, see Using Decision Support Components. 

By default, the first row dimension appears as the x-axis and the first column dimension appears as the y-axis. 

You can use decision graphs instead of or in addition to decision grids, which present cross-tabulated data in tabular form. Decision grids and decision graphs that are bound to the same decision source present the same data dimensions. To show different summary data for the same dimensions, you can bind more than one decision graph to the same decision source. To show different dimensions, bind decision graphs to different decision sources. 

For example, in the following figure the first decision pivot and graph are bound to the first decision source and the second decision pivot and graph are bound to the second. So, each graph can show different dimensions. 

 

For more information about what appears in a decision graph, see the next section, The Decision Graph Display. 

To create a decision graph, see the previous section, Creating Decision Graphs. 

For a discussion of decision graph properties and how to change the appearance and behavior of decision graphs, see Customizing Decision Graphs.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!