The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



ScaleX


Unit: SDL_rchart
Class: TContourPlot
Declaration: property ScaleX: TScalePropsHoriz;

The property ScaleX defines the form and layout of the horizontal scale. It contains the following published sub-properties, most of them being directly related to the TScale class (which actually displays the scale):

Caption: string; Caption of the scale
CaptionPosX: integer; horizontal offset of the caption
CaptionPosY: integer; vertical offset of the caption
CaptionAlignment: TAlignment; alignment of the caption text
CaptionAnchor: TScaleUnitAnchor; anchor of caption text
Center: double; returns the center of the scale
ColorScale: TColor; color of the scale
DateFormat: TDTLabel; format of date and time labels
DecPlaces: integer; number of decimal places used for scale labels
Font: TFont; font of scale labels
Logarithmic: boolean; scale is logarithmic if set TRUE
LabelType: TFigType; kind of label
MinTicks: integer; minimum number of tick marks
MinRange: double; defines the minimum range the x-axis has to span. This property can be used to prevent users from zooming too much into the data. MinRange is set to 10-10, by default.
MouseAction: TMouseActMode; facilitates interactive zooming and panning of the scale. This property may take one of the following values: maNone, maPan, maZoom and maZoomDrag. For details, see TScale.MouseAction.
RangeLow: double; left or bottom value of the scale. If the new value of RangeLow would result in an axis which covers a range smaller than MinRange, RangeHigh is automatically adjusted to span the minimum range as defined by MinRange.
RangeHigh: double; right or top value of the scale. If the new value of RangeHigh would result in an axis which covers a range smaller than MinRange, RangeLow is automatically adjusted to span the minimum range as defined by MinRange.
ShortTicks: boolean; displays short tick marks between scale ticks
ScaleInscript: string; extra text for each text label
property ScaleLocation: TScaleLocationHoriz; controls the location of the scale: slTop displays the scale at the top of the chart, slBottom displays it at the bottom.
ScalePos: integer; distance of the scale axis from the plot margin. A number greater than zero moves the entire scale away from the plot margin (independent of the location of the scale).
UserTickText: string; user defined scale labels
Visible: boolean; controls the visibility of the scale



Last Update: 2023-Dec-13