Scale

TScale= Class(TPersistent);

THorzScale= class(TScale);

TVertScale= class(TScale);

{Defined in UNIT SGraph.}


Scale objects encapsulate parameters such as min and max values. Separate X and Y scale objects are defines since the Paint and conversions to pixel coordinates differ. Each graph has a HorzScale and a VertScale property that can be set. You may create additional scales in your program and then equate your scale to the graph.horzscale if you wish to quickly switch from one scale to another.

See also VertScale and HorzScale.