DesignForms
TGraph Class Reference

Graph object More...

Inherits IVisualComponent.

Public Member Functions

void AddData (object O)
 Add new data object to the graph More...
 
void AddData (object O, string Description)
 Add new data object to the graph More...
 
void AddData (object O, Pen Pen)
 Add new data object to the graph More...
 
void AddData (object O, string Description, Pen Pen)
 Add new data object to the graph More...
 
void AddData (object P, Pen Pen, ePointStyle PointStyle)
 Add new data object to the graph More...
 
IVisualComponent Draw (double Width, double Height)
 Draw the graph to the layout More...
 

Public Attributes

TGraph_Axis XAxis
 X-axis of the graph More...
 
TGraph_Axis YAxis
 Y-axis of the graph More...
 
TGraph_Grid XGrid
 Horizontal line grid More...
 
TGraph_Grid YGrid
 Vertical line grid More...
 
TGraph_Caption Caption
 Graph caption More...
 
TGraph_Legend Legend
 Graph legend More...
 

Detailed Description

Graph object

Member Function Documentation

void AddData ( object  O)

Add new data object to the graph

Parameters
OPoint or list of points
void AddData ( object  O,
string  Description 
)

Add new data object to the graph

Parameters
OPoint or list of points
DescriptionDescription of the point/dataset - will be used in graph legend
void AddData ( object  O,
Pen  Pen 
)

Add new data object to the graph

Parameters
OPoint or list of points
PenPen used to render the point in the graph
void AddData ( object  O,
string  Description,
Pen  Pen 
)

Add new data object to the graph

Parameters
OPoint or list of points
DescriptionDescription of the point/dataset - will be used in graph legend
PenPen used to render the point in the graph
void AddData ( object  P,
Pen  Pen,
ePointStyle  PointStyle 
)

Add new data object to the graph

Parameters
PPoint to be added to the graph
PenPen used to render the point in the graph
PointStylePointStyle used for the point
IVisualComponent Draw ( double  Width,
double  Height 
)

Draw the graph to the layout

Parameters
WidthWidth in pixels
HeightHeight in pixels
Returns

Member Data Documentation

TGraph_Caption Caption

Graph caption

TGraph_Legend Legend

Graph legend

TGraph_Axis XAxis

X-axis of the graph

TGraph_Grid XGrid

Horizontal line grid

TGraph_Axis YAxis

Y-axis of the graph

TGraph_Grid YGrid

Vertical line grid