Editar

Compartilhar via


LabelStyle Class

Definition

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
Inheritance
LabelStyle

Remarks

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

Constructors

LabelStyle()

Initializes a new instance of the LabelStyle class.

Properties

Angle

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

Enabled

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

Font

Gets or sets the font of the label.

ForeColor

Gets or sets the color of the label.

Format

Gets or sets the formatting string for the label text.

Interval

Gets or sets the size of the label interval.

IntervalOffset

Gets or sets the offset of the label interval.

IntervalOffsetType

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

IntervalType

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

IsEndLabelVisible

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

IsStaggered

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

Tag

Gets or sets an object associated with this chart element.

(Inherited from ChartElement)
TruncatedLabels

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

Methods

Dispose()

Releases the resources used by the ChartElement.

(Inherited from ChartElement)
Dispose(Boolean)

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

Equals(Object)

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

(Inherited from ChartElement)
GetHashCode()

Returns a hash function for a particular type.

(Inherited from ChartElement)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current Object.

(Inherited from ChartElement)

Applies to