Class TDataEntry (unit BWGraphs)

Inherits from

TObject

Constructors


constructor Create;



Functions

procedure AddValue (value:integer);


procedure CalcMinMax(var Min, Max, Avg : integer ) ;

Calculates Min, Max and Average values for the data array

SetMaxGrid } { Calculates Min, Max and Average values for the data array


destructor Destroy;


function GetValue (index: integer) : integer;


function GetLimit : integer;


function GetValueCount:integer;

CalcMinMax

procedure SetColor (value: TColor);


procedure SetLimit( newValue : Integer ) ;


procedure SetMaxGrid( newValue : Integer ) ;

SetMinGrid

procedure SetMinGrid( newValue : Integer ) ;


procedure SetName (value: string);


procedure SetVisible(value:boolean);

TBWGraph

Properties

property AutoGrid : boolean

Public } {Change the min and max bounds of the entries when the new value is added

property Color : TColor


property Limit : Integer

Maximum entries count

property MaxGrid : Integer

Public

property MinGrid : Integer


property Name : String


property Owner : TBWGraph

Public

property Value : integer


property ValueCount : integer


property Values : TBWQueue


property Visible : boolean

Public

Events

Variables

FAutoGrid : boolean;


FColor : TColor;


FMaxGrid : integer;


FMinGrid : integer;

for legend

FName : string;


FOwner : TBWGraph;

for legend and fraph

FValues : TBWQueue;


FVisible : boolean;



Constructors


constructor Create;


Functions


procedure AddValue (value:integer);


procedure CalcMinMax(var Min, Max, Avg : integer ) ;

Calculates Min, Max and Average values for the data array

SetMaxGrid } { Calculates Min, Max and Average values for the data array


destructor Destroy;


function GetValue (index: integer) : integer;


function GetLimit : integer;


function GetValueCount:integer;

CalcMinMax


procedure SetColor (value: TColor);


procedure SetLimit( newValue : Integer ) ;


procedure SetMaxGrid( newValue : Integer ) ;

SetMinGrid


procedure SetMinGrid( newValue : Integer ) ;


procedure SetName (value: string);


procedure SetVisible(value:boolean);

TBWGraph


Properties


property AutoGrid : boolean

Public } {Change the min and max bounds of the entries when the new value is added


property Color : TColor


property Limit : Integer

Maximum entries count


property MaxGrid : Integer

Public


property MinGrid : Integer


property Name : String


property Owner : TBWGraph

Public


property Value : integer


property ValueCount : integer


property Values : TBWQueue


property Visible : boolean

Public


Events


Variables


FAutoGrid : boolean;


FColor : TColor;


FMaxGrid : integer;


FMinGrid : integer;

for legend


FName : string;


FOwner : TBWGraph;

for legend and fraph


FValues : TBWQueue;


FVisible : boolean;