Charting for WinForms Programmer's Guide
AxisRenderer Members
Constructors Properties Methods
 


A base class for components that render Axis ranges.

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

 Protected Constructors

  Name Description

AxisRenderer

Initializes a new instance of the AxisRenderer class.

 Public Properties

  Name Description

ActualHeight

A double value specifying the component's assigned height. Valid only after calling Arrange. (Inherited from Component.)

ActualWidth

A double value specifying the component's assigned width. Valid only after calling Arrange. (Inherited from Component.)

Axis

The Axis that will be drawn by this object.

AxisStroke

Gets or sets the Brush that should be used to draw axis lines.

AxisStrokeDashStyle

Gets or sets the dash style axis lines should be stroked with.

AxisStrokeThickness

Gets or sets the thickness axis lines should be stroked with.

DesiredHeight

A nullable double value specifying the component's desired height. Valid only after calling Measure. (Inherited from Component.)

DesiredWidth

A nullable double value specifying the component's desired width. Valid only after calling Measure. (Inherited from Component.)

GridColumn

Gets or sets the column index of this component when placed inside a GridPanel. (Inherited from Component.)

GridRow

Gets or sets the row index of this component when placed inside a GridPanel. (Inherited from Component.)

Height

Gets or sets a fixed height for this component. (Inherited from Component.)

HitTestVisibility

Gets or sets the hit-test visibility of this component. (Inherited from Component.)

HorizontalAlignment

Gets or sets the horizontal alignment of this component inside the layout rectangle allocated by its parent panel. (Inherited from Component.)

LabelBrush

Gets or sets the Brush that should be used to draw axis labels.

LabelFontName

Gets or sets the name of font that should be used to draw axis labels.

LabelFontSize

Gets or sets the size of font that should be used to draw axis labels.

LabelFontStyle

Gets or sets the style of font that should be used to draw axis labels.

LabelPadding

Gets or sets the padding space between the axis line and coordinate labels.

LabelRotationAngle

Gets or sets the rotation angle of data labels.

LabelsSource

Gets or sets the object whose Series labels should be rendered along this axis.

Margin

Gets or sets the margin space around this component relative to the layout rectangle allocated by its parent panel. (Inherited from Component.)

PinLabels

Gets or sets a value indicating whether coordinate labels should be pinned in place or scroll together with the plot when users pan it.

RectInParent

Gets the boundaries of this component relative to its parent. (Inherited from Component.)

ShowCoordinates

Gets or sets a value indicating whether this AxisRenderer should draw axis coordinates.

ShowSeriesLabels

Gets or sets a value indicating whether this AxisRenderer should draw data labels.

ShowTicks

Gets or sets a value indicating whether this AxisRenderer should draw axis ticks.

TickLength

Gets or sets the length of the axis ticks.

TitleBrush

Gets or sets the Brush that should be used to draw the axis Title.

TitleFontName

Gets or sets the name of font that should be used to draw the axis Title.

TitleFontSize

Gets or sets the size of font that should be used to draw the axis Title.

TitleFontStyle

Gets or sets the style of font that should be used to draw the axis Title.

ToolTip

Gets or sets the component's tooltip text. (Inherited from Component.)

VerticalAlignment

Gets or sets the vertical alignment of this component inside the layout rectangle allocated by its parent panel. (Inherited from Component.)

Visibility

Gets or sets the visibility of this component. (Inherited from Component.)

Width

Gets or sets a fixed width for this component. (Inherited from Component.)

XInParent

A double value specifying the component's horizontal position relative to its parent. (Inherited from Component.)

YInParent

A double value specifying the component's vertical position relative to its parent. (Inherited from Component.)

 Public Methods

  Name Description

Arrange

Sets the location and size of this component relatively to its parent. (Inherited from Component.)

CreateController

Returns a ComponentController used to interact with this component. (Inherited from Component.)

Draw

Draws this component in specified RenderContext. (Inherited from Component.)

GetCursorHint

Invoked while the mouse is moved to let your application set the mouse cursor. (Inherited from Component.)

HitTest

Returns the component containing specified point. (Inherited from Component.)

Invalidate

Overloaded.   (Inherited from Component.)

InvalidateLayout

Invalidates the current layout and runs a new layout pass before next draw operation. (Inherited from Component.)

LocalToRoot

Transforms the specified point to the coordinate system of the root panel. (Inherited from Component.)

Measure

Measures the desired size of this component. (Inherited from Component.)

RootToLocal

Transforms the specified point to the coordinate system of this component. (Inherited from Component.)

Visit

Implements the visitor design pattern. (Inherited from Component.)

 Protected Methods

  Name Description

Add

Sums specified nullable double values. (Inherited from Component.)

ArrangeInRect

Arranges a child component in specified layout rectangle. (Inherited from Component.)

EffectiveAxis

Gets the effective Axis in current context, getting one from Plot2D or chart control if there's no local Axis associated with this renderer.

EffectiveAxisDashStyle

Gets the dash style of axis line strokes.

EffectiveAxisStroke

Gets the Brush that should be used to stroke axis lines.

EffectiveAxisStrokeThickness

Gets the thickness of axis line strokes.

EffectiveLabelBrush

Gets the Brush that should be used to draw axis labels.

EffectiveLabelFont

Gets the Font that should be used to draw axis labels.

EffectivePen

Gets the Pen that should be used to draw axis lines.

EffectiveTitleBrush

Gets the Brush that should be used to draw the axis Title.

EffectiveTitleFont

Gets the Font that should be used to draw the axis Title.

Max

Returns the larger of specified values. (Inherited from Component.)

 See Also

AxisRenderer Class
MindFusion.Charting Namespace