DrawGraph Control Reference 14.1
Properties

Variables

OLE_COLOR BackColor
 Determines the back color of the DrawGraph object. More...
 
double BorderMaxY
 Determines the maximum buffer value which is displayed in Y-direction when the GraphScaling property is set to MINMAXLINEARY or MINMAXLINEARLABELY. With this property it is possible to view only a portion of the values in a data buffer. More...
 
double BorderMinY
 Determines the minimum buffer value which is displayed in Y-direction when the GraphScaling property is set to MINMAXLINEARY or MINMAXLINEARLABELY. With this property it is possible to view only a portion of the values in a data buffer. More...
 
__int3264 DGSList
 Determines the DGSList of an image. The DrawGraph Control generates a DGSList data structure (Draw Graph Structure List). This simplifies the connection to another DrawGraph Control enormously. The DrawGraph Control generates a DGS structure for all data buffers attached. All together build a DGSList. To draw the results (data buffers) of a DrawGraph Control simply connect the DGSList with the ConnectDGSList method of the DrawGraph Control to another tool. More...
 
TD_GRAPH_CALCULATION GraphCalculation
 Determines the calculation method of the graph. If a buffer is drawn by the DrawGraph Control the tool can use different methods to calculate the graph. Depending on the selected method the shape of the graph changes. The calculation method is valid for all graphs within a DrawGraph Control. More...
 
TD_GRAPH_SCALING GraphScaling
 Determines the scaling of the graph. If a buffer is drawn by the DrawGraph Control the tool scales the buffer entries to fit into the draw window. The scaling is valid for all graphs within a DrawGraph Control. More...
 
TD_GRAPH_STYLE GraphStyle
 Determines the style of the graph. The DrawGraph Control can draw a graph in several styles. The style is valid for all graphs within a DrawGraph Control. More...
 
OLE_COLOR GridColor
 Determines the grid color. More...
 
long GridScaleX
 Specifies how many grid lines are valid in X-direction. If the value is 0 no grid line will be painted in X-direction.
More...
 
long GridScaleY
 Specifies how many grid lines are valid in Y-direction. If the value is 0 no grid line will be painted in Y-direction.
More...
 
IFontDisp * LabelFont
 Determines the font of the label used in MINMAXLINEARLABELY scaling mode. More...
 
TD_LABELTEXT_FORMAT LabelTextYFormat
 Determines the format of the label used in MINMAXLINEARLABELY scaling mode. More...
 
boolean ShowTestGraph
 Enables the drawing of a test graph. More...
 

Detailed Description

Variable Documentation

◆ BackColor

OLE_COLOR BackColor

Determines the back color of the DrawGraph object.

Parameters
[in,out]BackColorRGB value e.g. RGB(255,0,0).
Returns
RGB value for back color.
Supported platforms:
Win32
Win64

◆ BorderMaxY

double BorderMaxY

Determines the maximum buffer value which is displayed in Y-direction when the GraphScaling property is set to MINMAXLINEARY or MINMAXLINEARLABELY. With this property it is possible to view only a portion of the values in a data buffer.

Parameters
[in,out]BorderMaxYMaximum buffer value to display in Y-direction.
Returns
Maximum buffer value to display in Y-direction.
Supported platforms:
Win32
Win64

◆ BorderMinY

double BorderMinY

Determines the minimum buffer value which is displayed in Y-direction when the GraphScaling property is set to MINMAXLINEARY or MINMAXLINEARLABELY. With this property it is possible to view only a portion of the values in a data buffer.

Parameters
[in,out]BorderMinYMinimum buffer value to display in Y-direction.
Returns
Minimum buffer value to display in Y-direction.
Supported platforms:
Win32
Win64

◆ DGSList

__int3264 DGSList
readonly

Determines the DGSList of an image. The DrawGraph Control generates a DGSList data structure (Draw Graph Structure List). This simplifies the connection to another DrawGraph Control enormously. The DrawGraph Control generates a DGS structure for all data buffers attached. All together build a DGSList. To draw the results (data buffers) of a DrawGraph Control simply connect the DGSList with the ConnectDGSList method of the DrawGraph Control to another tool.

Parameters
[out]DGSListHandle of the DGSList object.
Returns
Handle of the DGSList object.
Supported platforms:
Win32
Win64

◆ GraphCalculation

TD_GRAPH_CALCULATION GraphCalculation

Determines the calculation method of the graph. If a buffer is drawn by the DrawGraph Control the tool can use different methods to calculate the graph. Depending on the selected method the shape of the graph changes. The calculation method is valid for all graphs within a DrawGraph Control.

Parameters
[in,out]GraphCalculationCalculation method (see TD_GRAPH_CALCULATION for more information).
Returns
Calculation method of the graph.
Supported platforms:
Win32
Win64

◆ GraphScaling

TD_GRAPH_SCALING GraphScaling

Determines the scaling of the graph. If a buffer is drawn by the DrawGraph Control the tool scales the buffer entries to fit into the draw window. The scaling is valid for all graphs within a DrawGraph Control.

Parameters
[in,out]GraphScalingScaling method (see TD_GRAPH_SCALING for more information).
Returns
Scaling method .
Supported platforms:
Win32
Win64

◆ GraphStyle

TD_GRAPH_STYLE GraphStyle

Determines the style of the graph. The DrawGraph Control can draw a graph in several styles. The style is valid for all graphs within a DrawGraph Control.

Parameters
[in,out]GraphStyleStyle of the graph (see TD_GRAPH_STYLE for more information).
Returns
Style of the graph.
Supported platforms:
Win32
Win64

◆ GridColor

OLE_COLOR GridColor

Determines the grid color.

Parameters
[in,out]GridColorRGB value e.g. RGB(255,0,0).
Returns
RGB value for grid color.
Supported platforms:
Win32
Win64

◆ GridScaleX

long GridScaleX

Specifies how many grid lines are valid in X-direction. If the value is 0 no grid line will be painted in X-direction.

Parameters
[in,out]GridScaleXNumber of lines in X-direction.
Returns
Number of lines in X-direction.
Supported platforms:
Win32
Win64

◆ GridScaleY

long GridScaleY

Specifies how many grid lines are valid in Y-direction. If the value is 0 no grid line will be painted in Y-direction.

Parameters
[in,out]GridScaleYNumber of lines in Y-direction.
Returns
Number of lines in Y-direction.
Supported platforms:
Win32
Win64

◆ LabelFont

IFontDisp* LabelFont

Determines the font of the label used in MINMAXLINEARLABELY scaling mode.

Parameters
[in,out]LabelFontFont type selected with a standard font dialog.
Returns
Font type.
Supported platforms:
Win32
Win64

◆ LabelTextYFormat

TD_LABELTEXT_FORMAT LabelTextYFormat

Determines the format of the label used in MINMAXLINEARLABELY scaling mode.

Parameters
[in,out]LabelTextYFormatFormat of the label (see TD_LABELTEXT_FORMAT for more information).
Returns
Format of the label.
Supported platforms:
Win32
Win64

◆ ShowTestGraph

boolean ShowTestGraph

Enables the drawing of a test graph.

Parameters
[in,out]ShowTestGraphTRUE indicates that the test graph is enabled, FALSE otherwise the test graph is disabled.
Returns
TRUE specifies that the test graph will be drawn, FALSE otherwise.
Supported platforms:
Win32
Win64