Class ttrace

Unit

Declaration

type ttrace = class(townedeventpersistent, iimagelistinfo, iframe, iface)

Description

No description available, ancestor townedeventpersistent description follows
No description available, ancestor tlinkedpersistent description follows
No description available, ancestor tnullinterfacedpersistent description follows
No description available, ancestor tvirtualpersistent description follows

Hierarchy

Overview

Fields

Protected fstate: tracestatesty;
Protected ftraces: ttraces;
Protected fcurfont: tfont;
Protected flnxstart: real;
Protected flnxrange: real;
Protected flnystart: real;
Protected flnyrange: real;

Methods

Protected procedure setkind(const avalue: tracekindty); virtual;
Protected procedure setoptions(const avalue: charttraceoptionsty); virtual;
Protected function getxitempo(const aindex: integer): preal;
Protected function getyitempo(const aindex: integer): preal;
Protected procedure getdatapo(out xpo,ypo: preal; out xcount,ycount,xstep,ystep: integer);
Protected procedure checkgraphic;
Protected procedure clip2(const acanvas: tcanvas);
Protected procedure paint(const acanvas: tcanvas);
Protected procedure paint1(const acanvas: tcanvas; const imagesize: sizety; const imagealignment: alignmentsty);
Protected procedure paint2(const acanvas: tcanvas);
Protected procedure defineproperties(filer: tfiler); override;
Protected function hintx: msestring;
Protected function hinty: msestring;
Protected procedure setframeinstance(instance: tcustomframe);
Protected procedure setstaticframe(value: boolean);
Protected function getstaticframe: boolean;
Protected procedure scrollwidgets(const dist: pointty);
Protected procedure clientrectchanged;
Protected function getcomponentstate: tcomponentstate;
Protected function getmsecomponentstate: msecomponentstatesty;
Protected procedure invalidate;
Protected procedure invalidatewidget;
Protected procedure invalidaterect(const rect: rectty; const org: originty = org_client; const noclip: boolean = false);
Protected function getwidget: twidget;
Protected function getwidgetrect: rectty;
Protected function getframestateflags: framestateflagsty;
Protected function translatecolor(const acolor: colorty): colorty;
Protected function getclientrect: rectty;
Protected procedure setlinkedvar(const source: tmsecomponent; var dest: tmsecomponent; const linkintf: iobjectlink = nil);
Protected procedure widgetregioninvalid;
Protected procedure forcexyarray;
Public constructor create(aowner: tobject); override;
Public destructor destroy; override;
Public procedure createbar_frame;
Public procedure createbar_face;
Public procedure createfont;
Public procedure clear;
Public procedure deletedata(const aindex: integer); overload;
Public procedure deletedata(const aindexar: integerarty); overload;
Public procedure addxydata(const xy: complexty); overload;
Public procedure addxydata(const x: real; const y: real); overload;
Public procedure addxseriesdata(const avalue: real);
Public procedure insertxseriesdata(const avalue: xseriesdataty);
Public procedure assign(source: tpersistent); override;
Public procedure minmaxx(out amin,amax: real);
Public procedure minmaxx1(var amin,amax: real);
Public procedure minmaxy(out amin,amax: real);
Public procedure minmaxy1(var amin,amax: real);
Public procedure autoscalex(const astartmargin: real = 0; const aendmargin: real = 0);
Public procedure autoscaley(const astartmargin: real = 0; const aendmargin: real = 0);

Properties

Public property xdata: realarty read finfo.xdata write setxdata;
Public property ydata: realarty read finfo.ydata write setydata;
Public property xydata: complexarty read finfo.xydata write setxydata;
Public property breaks: integerarty read fbreaks write setbreaks;
Public property xvalue[constindex:integer]: real read getxvalue write setxvalue;
Public property yvalue[constindex:integer]: real read getyvalue write setyvalue;
Public property xyvalue[constindex:integer]: complexty read getxyvalue write setxyvalue;
Public property xdatapo: preal read getxdatapo;
Public property ydatapo: preal read getydatapo;
Public property xydatapo: pcomplexty read getxydatapo;
Public property count: integer read getcount;
Public property logx: boolean read getlogx write setlogx;
Public property logy: boolean read getlogy write setlogy;
Public property visible: boolean read getvisible write setvisible;
Public property smooth: boolean read getsmooth write setsmooth;
Published property xdatalist: trealdatalist read getxdatalist write setxdatalist;
Published property ydatalist: trealdatalist read getydatalist write setydatalist;
Published property color: colorty read finfo.color write setcolor default cl_black;
Published property colorimage: colorty read finfo.colorimage write setcolorimage default cl_default;
Published property widthmm: real read finfo.widthmm write setwidthmm;
Published property dashes: string read finfo.dashes write setdashes;
Published property xserrange: real read finfo.xserrange write setxserrange;
Published property xserstart: real read finfo.xserstart write setxserstart;
Published property xrange: real read finfo.xrange write setxrange;
Published property xstart: real read finfo.xstart write setxstart;
Published property yrange: real read finfo.yrange write setyrange;
Published property ystart: real read finfo.ystart write setystart;
Published property kind: tracekindty read finfo.kind write setkind default trk_xseries;
Published property start: integer read finfo.start write setstart default 0;
Published property maxcount: integer read finfo.maxcount write setmaxcount default 0;
Published property chartkind: tracechartkindty read finfo.chartkind write setchartkind default tck_line;
Published property options: charttraceoptionsty read finfo.options write setoptions default [];
Published property bar_offset: integer read finfo.bar_offset write setbar_offset default 0;
Published property bar_width: integer read finfo.bar_width write setbar_width default 0;
Published property bar_frame: tframe read getbar_frame write setbar_frame;
Published property bar_face: tface read getbar_face write setbar_face;
Published property bar_ref: barrefty read finfo.bar_ref write setbar_ref default br_zero;
Published property imagenr: imagenrty read finfo.imagenr write setimagenr default -1;
Published property name: string read finfo.name write finfo.name;
Published property legend_caption: msestring read finfo.legend write setlegend_caption;
Published property legend_font: ttracefont read getlegend_font write setlegend_font stored isfontstored;
Published property hint_captionx: msestring read fhint_captionx write fhint_captionx;
Published property hint_captiony: msestring read fhint_captiony write fhint_captiony;

Description

Fields

Protected fstate: tracestatesty;
 
Protected ftraces: ttraces;
 
Protected fcurfont: tfont;
 
Protected flnxstart: real;
 
Protected flnxrange: real;
 
Protected flnystart: real;
 
Protected flnyrange: real;
 

Methods

Protected procedure setkind(const avalue: tracekindty); virtual;
 
Protected procedure setoptions(const avalue: charttraceoptionsty); virtual;
 
Protected function getxitempo(const aindex: integer): preal;
 
Protected function getyitempo(const aindex: integer): preal;
 
Protected procedure getdatapo(out xpo,ypo: preal; out xcount,ycount,xstep,ystep: integer);
 
Protected procedure checkgraphic;
 
Protected procedure clip2(const acanvas: tcanvas);
 
Protected procedure paint(const acanvas: tcanvas);
 
Protected procedure paint1(const acanvas: tcanvas; const imagesize: sizety; const imagealignment: alignmentsty);
 
Protected procedure paint2(const acanvas: tcanvas);
 
Protected procedure defineproperties(filer: tfiler); override;
 
Protected function hintx: msestring;
 
Protected function hinty: msestring;
 
Protected procedure setframeinstance(instance: tcustomframe);
 
Protected procedure setstaticframe(value: boolean);
 
Protected function getstaticframe: boolean;
 
Protected procedure scrollwidgets(const dist: pointty);
 
Protected procedure clientrectchanged;
 
Protected function getcomponentstate: tcomponentstate;
 
Protected function getmsecomponentstate: msecomponentstatesty;
 
Protected procedure invalidate;
 
Protected procedure invalidatewidget;
 
Protected procedure invalidaterect(const rect: rectty; const org: originty = org_client; const noclip: boolean = false);
 
Protected function getwidget: twidget;
 
Protected function getwidgetrect: rectty;
 
Protected function getframestateflags: framestateflagsty;
 
Protected function translatecolor(const acolor: colorty): colorty;
 
Protected function getclientrect: rectty;
 
Protected procedure setlinkedvar(const source: tmsecomponent; var dest: tmsecomponent; const linkintf: iobjectlink = nil);
 
Protected procedure widgetregioninvalid;
 
Protected procedure forcexyarray;
 
Public constructor create(aowner: tobject); override;
 
Public destructor destroy; override;
 
Public procedure createbar_frame;
 
Public procedure createbar_face;
 
Public procedure createfont;
 
Public procedure clear;
 
Public procedure deletedata(const aindex: integer); overload;
 
Public procedure deletedata(const aindexar: integerarty); overload;
 
Public procedure addxydata(const xy: complexty); overload;
 
Public procedure addxydata(const x: real; const y: real); overload;
 
Public procedure addxseriesdata(const avalue: real);
 
Public procedure insertxseriesdata(const avalue: xseriesdataty);
 
Public procedure assign(source: tpersistent); override;
 
Public procedure minmaxx(out amin,amax: real);
 
Public procedure minmaxx1(var amin,amax: real);
 
Public procedure minmaxy(out amin,amax: real);
 
Public procedure minmaxy1(var amin,amax: real);
 
Public procedure autoscalex(const astartmargin: real = 0; const aendmargin: real = 0);
 
Public procedure autoscaley(const astartmargin: real = 0; const aendmargin: real = 0);
 

Properties

Public property xdata: realarty read finfo.xdata write setxdata;
 
Public property ydata: realarty read finfo.ydata write setydata;
 
Public property xydata: complexarty read finfo.xydata write setxydata;
 
Public property breaks: integerarty read fbreaks write setbreaks;
 
Public property xvalue[constindex:integer]: real read getxvalue write setxvalue;
 
Public property yvalue[constindex:integer]: real read getyvalue write setyvalue;
 
Public property xyvalue[constindex:integer]: complexty read getxyvalue write setxyvalue;
 
Public property xdatapo: preal read getxdatapo;
 
Public property ydatapo: preal read getydatapo;
 
Public property xydatapo: pcomplexty read getxydatapo;
 
Public property count: integer read getcount;
 
Public property logx: boolean read getlogx write setlogx;
 
Public property logy: boolean read getlogy write setlogy;
 
Public property visible: boolean read getvisible write setvisible;
 
Public property smooth: boolean read getsmooth write setsmooth;
 
Published property xdatalist: trealdatalist read getxdatalist write setxdatalist;
 
Published property ydatalist: trealdatalist read getydatalist write setydatalist;
 
Published property color: colorty read finfo.color write setcolor default cl_black;
 
Published property colorimage: colorty read finfo.colorimage write setcolorimage default cl_default;
 
Published property widthmm: real read finfo.widthmm write setwidthmm;
 
Published property dashes: string read finfo.dashes write setdashes;
 
Published property xserrange: real read finfo.xserrange write setxserrange;
 
Published property xserstart: real read finfo.xserstart write setxserstart;
 
Published property xrange: real read finfo.xrange write setxrange;
 
Published property xstart: real read finfo.xstart write setxstart;
 
Published property yrange: real read finfo.yrange write setyrange;
 
Published property ystart: real read finfo.ystart write setystart;
 
Published property kind: tracekindty read finfo.kind write setkind default trk_xseries;
 
Published property start: integer read finfo.start write setstart default 0;
 
Published property maxcount: integer read finfo.maxcount write setmaxcount default 0;
 
Published property chartkind: tracechartkindty read finfo.chartkind write setchartkind default tck_line;
 
Published property options: charttraceoptionsty read finfo.options write setoptions default [];
 
Published property bar_offset: integer read finfo.bar_offset write setbar_offset default 0;
 
Published property bar_width: integer read finfo.bar_width write setbar_width default 0;
 
Published property bar_frame: tframe read getbar_frame write setbar_frame;
 
Published property bar_face: tface read getbar_face write setbar_face;
 
Published property bar_ref: barrefty read finfo.bar_ref write setbar_ref default br_zero;
 
Published property imagenr: imagenrty read finfo.imagenr write setimagenr default -1;
 
Published property name: string read finfo.name write finfo.name;
 
Published property legend_caption: msestring read finfo.legend write setlegend_caption;
 
Published property legend_font: ttracefont read getlegend_font write setlegend_font stored isfontstored;
 
Published property hint_captionx: msestring read fhint_captionx write fhint_captionx;
 
Published property hint_captiony: msestring read fhint_captiony write fhint_captiony;
 

Generated by PasDoc 0.16.0.