Previous Topic

Next Topic

Book Contents

Book Index

Form Designer Graph Properties

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 Open Color Dialog (F2) to select the colour.

BackWallStyle

The style to fill the back wall of the graph.

  • bsPlain - Fill with the BackWallColor.
  • bsGradient - Fill with gradually changing colour, from white to the BackWallColor, in the direction selected in GradientDirection.

BackgroundColor

The colour to fill the background of the graph. Click Open Color Dialog (F2) to select the colour.

BarOrientation

For Bar Graphs, select the orientation of the graph.

  • gboVertical - The bars will be displayed vertically.
  • gboHorizontal - The bars will be displayed horizontally.

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.

  • gdTopBottom - fill with the selected colour at the top of the graph, gradually changing to white at the bottom.
  • gdBottomTop - fill with the selected colour at the bottom of the graph, gradually changing to white at the top.
  • gdLeftRight - fill with the selected colour at the left of the graph, gradually changing to white on the right.
  • gdRightLeft - fill with the selected colour at the right of the graph, gradually changing to white on the left.
  • gdFromCenter - fill with white at the center, gradually changing to the selected colour at the corners.
  • gdFromTopLeft - fill with the selected colour at the top left of the graph, gradually changing to white at the bottom right.
  • gdFromBottomLeft - fill with the selected colour at the bottom left of the graph, gradually changing to white at the top right.
  • gdRadial - fill with white at the center, gradually changing to the selected colour at the corners in a circular transition.
  • gdDiagonalUp - fill with the selected colour at the top right of the graph, gradually changing to white at the bottom left.
  • gdDiagonalDown - fill with the selected colour at the bottom right of the graph, gradually changing to white at the top left.

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.

  • csBar - Bar Graph.
  • csLine - Line Graph.
  • csPie - Pie 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.