Charting for WinForms Programmer's Guide
LinearScale Members
Constructors Fields Properties Methods Events
 


Represents a linear scale.

The following tables list the members exposed by the LinearScale type.

 Public Constructors

  Name Description

LinearScale

Initializes a new instance of the LinearScale class.

 Public Fields

  Name Description

DesiredSize

The desired size of this element. (Inherited from VisualElement.)

RelativeCoordinates

A value indicating whether the metrics of this element are expressed as relative or absolute quantities. (Inherited from VisualElement.)

RelativeStroke

A value indicating whether the stroke thickness of this element is expressed as relative or absolute quantity. (Inherited from VisualElement.)

 Protected Fields

  Name Description

filling

The cached outline of a sealed path figure. (Inherited from VisualElement.)

outline

The cached outline of a sealed path figure. (Inherited from VisualElement.)

 Public Properties

  Name Description

Bounds

Gets or sets the bounding rectangle of this element. (Inherited from VisualElement.)

CustomFunction

Gets or sets the function to be used for distribution of values along the scale when FunctionType is set to Custom. (Inherited from BaseScale.)

EndWidth

Gets or sets the width of the scale bar at its end. (Inherited from BaseScale.)

Fill

Gets or sets the fill of this element. (Inherited from VisualElement.)

FunctionArgument

Gets or sets the argument passed to custom functions. (Inherited from BaseScale.)

FunctionType

Gets or sets the type of the function used to calculate the distribution of values along the scale. (Inherited from BaseScale.)

Height

Gets or sets the normalized height of this element. (Inherited from VisualElement.)

Left

Gets or sets the distance between the left of this scale and the left of its container.

LogarithmBase

Gets or sets the logarithm base when FunctionType is set to Logarithmic. (Inherited from BaseScale.)

MajorTickSettings

Gets or sets the settings for the major ticks and their associated labels. (Inherited from BaseScale.)

Margin

Gets or sets the margin of this element. (Inherited from VisualElement.)

MaxValue

Gets or sets the maximal value displayed by the scale. (Inherited from BaseScale.)

MiddleTickSettings

Gets or sets the settings for the middle ticks and their associated labels. (Inherited from BaseScale.)

MinorTickSettings

Gets or sets the settings for the minor ticks and their associated labels. (Inherited from BaseScale.)

MinValue

Gets or sets the minimal value displayed by the scale. (Inherited from BaseScale.)

Name

Gets or sets the name of this element. (Inherited from VisualElement.)

Orientation

Gets or sets the orientation of the scale.

Pointers

Gets or sets a collection with the pointers displayed in the scale. (Inherited from BaseScale.)

Ranges

Gets or sets a collection with the ranges displayed in the scale. (Inherited from BaseScale.)

RenderSize

Gets or sets the rendering size of the element. (Inherited from VisualElement.)

ReversedCustomFunction

Gets or sets the reversed version of the function specified through CustomFunction. (Inherited from BaseScale.)

ScaleAlignment

Gets or sets the alignment of the scale.

ScaleChildren

Gets or sets a collection with elements displayed in the scale. (Inherited from BaseScale.)

ScaleLength

Gets or sets the length of the scale.

Size

Gets or sets the size of this element. (Inherited from VisualElement.)

StartWidth

Gets or sets the width of the scale bar at its beginning. (Inherited from BaseScale.)

Stroke

Gets or sets the stroke of this element. (Inherited from VisualElement.)

Top

Gets or sets the distance between the top of the scale and the top of its container.

X

Gets or sets the normalized x position of this element, relative to its parent. (Inherited from VisualElement.)

Y

Gets or sets the normalized y position of this element, relative to its parent. (Inherited from VisualElement.)

 Public Methods

  Name Description

BeginInit

ISupportInitialize.BeginInit override. (Inherited from BaseScale.)

Dispose

IDisposable.Dispose implementation. (Inherited from VisualElement.)

EndInit

ISupportInitialize.EndInit override. (Inherited from BaseScale.)

GetValueFromPoint

BaseScale.GetValueFromPoint override.

HitTestObj

VisualElement.HitTestObj override. (Inherited from VisualElementContainer.)

ToString

Object.ToString override. (Inherited from VisualElement.)

 Protected Methods

  Name Description

ArrangeOverride

BaseScale.ArrangeOverride override.

MeasureOverride

VisualElementContainer.MeasureOverride override.

OnClicked

Raises the Clicked event. (Inherited from ScaleElement.)

OnPointerClicked

Raises the PointerClicked event. (Inherited from BaseScale.)

OnQueryLabelValue

Raises the QueryLabelValue event. (Inherited from BaseScale.)

OnRangeClicked

Raises the RangeClicked event. (Inherited from BaseScale.)

OnRenderSizeChanged

VisualElement.OnRenderSizeChanged override. (Inherited from BaseScale.)

OnScaleGeometryClicked

Raises the ScaleGeometryClicked event. (Inherited from BaseScale.)

OnTickClicked

Raises the TickClicked event. (Inherited from BaseScale.)

 Public Events

  Name Description

Clicked

Raised when the user clicks this element with the mouse. (Inherited from ScaleElement.)

PointerClicked

Occurs when a pointer within the scale is clicked with the mouse. (Inherited from BaseScale.)

QueryLabelValue

Occurs when the labels in the scale are being generated in order to associate custom values with them. (Inherited from BaseScale.)

ScaleGeometryClicked

Occurs when the scale geometry is clicked with the mouse. (Inherited from BaseScale.)

 See Also

LinearScale Class
MindFusion.Gauges Namespace