Navigator > Setup > Form Designer > Layout tab > Component Editor > Properties tab
See also Form Designer Component Properties for properties common to different component types.
Graph component displays series of numeric data in graphical format. Accredo provides Bar, Line or Pie graph styles.
Double-click a graph, or right-click and select Graph Editor from the context menu, to display the Graph Editor, which allows selection and customisation of fields in the graph.
The following properties are available for Graph Components:
BackWall |
When True, the back wall is displayed. |
BackWallColor |
The colour to fill the back wall of the graph. Click |
BackWallStyle |
The style to fill the back wall of the graph.
|
BackgroundColor |
The colour to fill the background of the graph. Click |
BarOrientation |
For Bar Graphs, select the orientation of the graph.
|
BottomAxis |
When True, the bottom axis is displayed. |
BottomAxisPosition |
The position of the bottom axis relative to the bottom of the chart, specified as a percentage. For example, 50 will position the bottom axis in the middle of the chart, half way up. |
BottomAxisValuesFormat |
Format applied to the values displayed on the bottom axis. e.g. graphGraph1.BottomAxisValuesFormat = "Amount;Amount;""" |
BottomWall |
When True, the bottom wall is displayed. Only apparent in 3D mode. |
GradientDirection |
The gradient direction used to fill the back wall of the graph, when the BackWallStyle is bsGradient.
|
Hint |
The Hint text to be displayed when the mouse hovers over the component. |
KeyCalloutLength |
The length of the space between the top of each bar and the bottom of the key border, if keys are shown (selected in FD Graph Editor). This is only applicable to Bar Graphs. |
LabelsAngle |
The degrees to rotate the X-axis labels. To display labels at a 90 degree angle, enter 90. |
LeftAxis |
When True, the left axis is displayed. |
LeftAxisPosition |
The position of the left axis relative to the left hand side of the chart, specified as a percentage. For example, 50 will position the left axis in the middle of the chart, half way in from the left. |
LeftAxisValuesFormat |
Format applied to the values displayed on the left axis. e.g. graphGraph1.LeftaxisValuesFormat = "Amount;Amount;""" |
LeftWall |
When True, the left hand wall is displayed. Only applies when View3D is True. |
RightWall |
When True, the right side wall is displayed. Only applies when View3D is True. |
ShowAverage |
When True, displays the average amounts across the graph. This is only applicable to Bar Graphs and Line Graphs. |
ShowGridLines |
When True, displays gridlines on the back wall of the graph. This is only applicable to Bar Graphs and Line Graphs. |
ShowLegend |
When True, displays the legend underneath the graph. |
Style |
Determines the type of graph.
|
Table |
The table containing the data to display in the graph. |
View3D |
When True, displays the graph in 3D. |
xDataFieldName |
The field that will be used to populate the data on the X Axis of the graph. |
xLabelFieldName |
The field that will be displayed as a label on the X Axis of the graph. |
Note: You can change the colours in a Pie Graph by using the AddPieColor and ResetPieColors methods.