Description | Hierarchy | Fields | Methods | Properties |
type TDiagramDataListModel = class(TAbstractDiagramModel)
This is the abstract model class which stores the data to be shown If you want full customization you can use it as base class, but in most cases a TDiagramDataListModel is easier
![]() |
constructor create; |
![]() |
destructor destroy; override; |
![]() |
procedure deleteLists; virtual; |
![]() |
procedure setDataRows(c:longint); |
![]() |
procedure deleteDataRow(i: longint); |
![]() |
function addDataList:TDataList; |
![]() |
function dataRows: longint; override; |
![]() |
function dataTitle(i:longint):string; override; |
![]() |
procedure setupCanvasForData(i:longint; c: TCanvas); override; |
![]() |
function dataPoints(i:longint): longint; override; |
![]() |
procedure data(i,j:longint; out x,y:float); override; |
![]() |
function setData(i,j:longint; const x,y:float):integer; override; |
![]() |
function addData(i:longint; const x,y:float):integer; override; |
![]() |
procedure removeData(i,j:longint); override; |
![]() |
function minX(i:longint):float; override; overload; |
![]() |
function maxX(i:longint):float; override; overload; |
![]() |
function minY(i:longint):float; override; overload; |
![]() |
function maxY(i:longint):float; override; overload; |
![]() |
function GetFlags: TModelFlags; override; |
![]() |
function getRowFlags(i:longint): TModelRowFlags; override; |
![]() |
function getRowLineStyle(i:longint):TLineStyle; override; |
![]() |
function getRowPointStyle(i:longint):TPointStyle; override; |
![]() |
property lists[i:Integer]: TDataList read getDataList; |
![]() |
property Flags: TModelFlags read GetFlags write SetFlags; |
![]() |
constructor create; |
![]() |
destructor destroy; override; |
![]() |
procedure deleteLists; virtual; |
delete all lists |
![]() |
procedure setDataRows(c:longint); |
![]() |
procedure deleteDataRow(i: longint); |
![]() |
function addDataList:TDataList; |
![]() |
function dataRows: longint; override; |
![]() |
function dataTitle(i:longint):string; override; |
This returns the title of every data list for the legend |
![]() |
procedure setupCanvasForData(i:longint; c: TCanvas); override; |
This set the color to the data list color |
![]() |
function dataPoints(i:longint): longint; override; |
![]() |
procedure data(i,j:longint; out x,y:float); override; |
This returns the actual |
![]() |
function setData(i,j:longint; const x,y:float):integer; override; |
Set the data point (only accept changes if flags contains mfEditable, use lists[i].setPoint in other cases) |
![]() |
function addData(i:longint; const x,y:float):integer; override; |
Add a data point to an existing row and returns the new index (only accept changes if flags contains mfEditable, use lists[i].addPoint in other cases) |
![]() |
procedure removeData(i,j:longint); override; |
removes the data point (only accept changes if flags contains mfEditable, use lists[i].removePoint in other cases) |
![]() |
function minX(i:longint):float; override; overload; |
returns the minimum x |
![]() |
function maxX(i:longint):float; override; overload; |
returns the maximum x |
![]() |
function minY(i:longint):float; override; overload; |
returns the minimum value (O(1)) |
![]() |
function maxY(i:longint):float; override; overload; |
returns the maximum value (O(1)) |
![]() |
function GetFlags: TModelFlags; override; |
![]() |
function getRowFlags(i:longint): TModelRowFlags; override; |
![]() |
function getRowLineStyle(i:longint):TLineStyle; override; |
![]() |
function getRowPointStyle(i:longint):TPointStyle; override; |
![]() |
property lists[i:Integer]: TDataList read getDataList; |
![]() |
property Flags: TModelFlags read GetFlags write SetFlags; |