LabelStyle LabelStyle LabelStyle LabelStyle Class


Provides properties that define the visual appearance of the axis labels.

public ref class LabelStyle : System::Web::UI::DataVisualization::Charting::ChartElement
public class LabelStyle : System.Web.UI.DataVisualization.Charting.ChartElement
type LabelStyle = class
    inherit ChartElement
Public Class LabelStyle
Inherits ChartElement


Members of this class are also used to calculate the intervals and positions of the axis labels, and to draw them.


LabelStyle() LabelStyle() LabelStyle() LabelStyle()

Initializes a new instance of the LabelStyle class.


Angle Angle Angle Angle

Gets or sets a value that represents the angle at which the font is drawn.

Enabled Enabled Enabled Enabled

Gets or sets a flag that indicates whether the label is enabled.

Font Font Font Font

Gets or sets the font of the label.

ForeColor ForeColor ForeColor ForeColor

Gets or sets the color of the label.

Format Format Format Format

Gets or sets the formatting string for the label text.

Interval Interval Interval Interval

Gets or sets the size of the label interval.

IntervalOffset IntervalOffset IntervalOffset IntervalOffset

Gets or sets the offset of the label interval.

IntervalOffsetType IntervalOffsetType IntervalOffsetType IntervalOffsetType

Gets or sets the unit of measurement of the label interval offset.

IntervalType IntervalType IntervalType IntervalType

Gets or sets the unit of measurement for the size of a label interval.

IsEndLabelVisible IsEndLabelVisible IsEndLabelVisible IsEndLabelVisible

Gets or sets a flag that determines whether the labels are shown at axis ends.

IsStaggered IsStaggered IsStaggered IsStaggered

Gets or sets a flag that determines whether the labels are shown with an offset.

Tag Tag Tag Tag

Gets or sets an object associated with this chart element.

(Inherited from ChartElement)
TruncatedLabels TruncatedLabels TruncatedLabels TruncatedLabels

Gets or sets a flag that determines whether the labels can be truncated.


Dispose() Dispose() Dispose() Dispose()

Releases the resources used by the ChartElement.

(Inherited from ChartElement)
Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

Releases the unmanaged resources used by the LabelStyle and optionally releases the managed resources.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified Object is equal to the current ChartElement.

(Inherited from ChartElement)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Returns a hash function for a particular type.

(Inherited from ChartElement)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current Object.

(Inherited from ChartElement)

Applies to