| Class THAxis (unit Xyhist) |
TPersistent
------------ THAxis, THDimensions, THAppearance ----------------
| Constructors |
| Functions |
function CheckScale: Boolean;
procedure AdjustLabelDecs;
function DoResize: Boolean;
function GetFirstTick: Double;
function GetNextTick(tick: Double): Double;
function GetStep: Double;
function LabelString(tick: Double): String;
procedure SetMinMax;
procedure SetAutoSizing(v: Boolean);
procedure SetAutoStepping(v: Boolean);
procedure SetAxisTitle(v: String);
procedure SetLabelDec(v: Integer);
procedure SetMax(v: Double);
procedure SetMin(v: Double);
procedure SetMinDiff(v: Double);
procedure SetStep(v: Double);| Properties |
property AutoSizing : Boolean
property AutoStepping : Boolean
property LabelDecimals : Integer
property Max : Double
property Min : Double
property MinScaleLength : Double
property StepSize : Double
property Title : String| Events |
| Variables |
FAutoSizing : Boolean;
FAutoStepping : Boolean;
FAxisTitle : String;
FGraph : THistogram;
FIsXAxis : Boolean;
FLabelDec : Integer;
FM : Double;
FMax : Double;
FMin : Double;
FMinScale : Double;
FStep : Double;| Constructors |
| Functions |
function CheckScale: Boolean;
procedure AdjustLabelDecs;eg: OneSigFigDecs(0.1)->1; (100)-> -2
function DoResize: Boolean;
function GetFirstTick: Double;
function GetNextTick(tick: Double): Double;
function GetStep: Double;-------------------------------------------------------------------- #2a. THAxis - scaling routines --------------------------------------------------------------------} { step size chosen in a 1,2,5,10 squence depending not only on the characteristic, but also the mantissa, of the range
function LabelString(tick: Double): String;DrawYTickMarks
procedure SetMinMax;--------- DoResize helper functions -------
procedure SetAutoSizing(v: Boolean);
procedure SetAutoStepping(v: Boolean);
procedure SetAxisTitle(v: String);-------------------------------------------------------------------- #2b. THAxis - property servers --------------------------------------------------------------------
procedure SetLabelDec(v: Integer);
procedure SetMax(v: Double);
procedure SetMin(v: Double);
procedure SetMinDiff(v: Double);
procedure SetStep(v: Double);| Properties |
property AutoSizing : Booleanthese 2 properties must come last to override the other properties' effects on the values at load time:
property AutoStepping : Boolean
property LabelDecimals : Integer
property Max : Double
property Min : Double
property MinScaleLength : Double
property StepSize : Double
property Title : String| Events |
| Variables |
FAutoSizing : Boolean;
FAutoStepping : Boolean;
FAxisTitle : String;
FGraph : THistogram;
FIsXAxis : Boolean;
FLabelDec : Integer;
FM : Double;
FMax : Double;
FMin : Double;
FMinScale : Double;
FStep : Double;