SDL Component Suite - Scale

The class TScale is a component for displaying scales in various forms. All usual kinds of scales can be displayed (linear, logarithmic, date and time, horizontal, vertical, etc.) - for more details please have a look at the online help pages.

TScale can be used either as a stand-alone component for displaying scales, or as a helper component within other components. Thus you may use TScale to add axes to your own components. At left you see a few examples of scales displayed by the TScale component. The pointers and the colored regions have been added by the user application.

The unit SCALE is part of the SDL Component Suite.

Free Sample Program

ScaleMeter This example application shows the usage of the unit SCALE to create a simple gauge by using the events OnBeforeScaleRendered and OnAfterScaleRendered.
(266 kB)

What's new:

  • Release 10.7   [Aug-24, 2020]
    • no changes

  • Release 10.6   [Mar-09, 2018]
    • property MouseAction implemented
    • the new OnZoomPan event is triggered if any zooming or panning occurs

  • Release 10.5   [Oct-10, 2016]
    • no changes

  • Release 10.4   [Jun-02, 2015]
    • the method ResetComp resets the scale to its default values

  • Release 10.3   [Oct-06, 2014]
    • none

  • Release 10.2   [May-30, 2013]
    • no changes

  • Release 10.1   [Oct-29, 2012]
  • Release 10.0   [Oct-4, 2011]
    • no changes

  • Release 9.7   [May-31, 2010]
    • no changes

  • Release 9.51   [Dec-01, 2008]
    • no changes

  • Release 9.5   [Oct-31, 2008]
    • new property Center implemented
    • setting the property MinTicks to zero forces tick marks to be displayed at every integer value along the axis

  • Release 9.0   [May-28, 2007]
    • ConvertPixelToScale implemented
    • SetBounds implemented
    • SetRange implemented
    • improvement: numeric labels are suppressed on non-integer tick marks if number of decimal places is set to zero

  • Release 8.5   [Feb-18, 2006]
    • no changes

  • Release 8.2   [Nov-03, 2004]
    • DateTime scales are now affected by the property ShortTicks and display proper short ticks
    • bug fix: subdivision of (ftDateTime) month scale does no longer use 8-month interval

  • Release 8.1   [Aug-29, 2004]
    • available for Delphi™ 8 for .NET

  • Release 8.0   [Apr-15, 2004]
    • first release to the public