Export (0) Print
Expand All

LabelStyle Class

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

System.Object
  System.Web.UI.DataVisualization.Charting.ChartElement
    System.Web.UI.DataVisualization.Charting.LabelStyle

Namespace:  System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public class LabelStyle : ChartElement

The LabelStyle type exposes the following members.

  NameDescription
Public methodLabelStyleInitializes a new instance of the LabelStyle class.
Top

  NameDescription
Public propertyAngleGets or sets a value that represents the angle at which the font is drawn.
Public propertyEnabledGets or sets a flag that indicates whether the label is enabled.
Public propertyFontGets or sets the font of the label.
Public propertyForeColorGets or sets the color of the label.
Public propertyFormatGets or sets the formatting string for the label text.
Public propertyIntervalGets or sets the size of the label interval.
Public propertyIntervalOffsetGets or sets the offset of the label interval.
Public propertyIntervalOffsetTypeGets or sets the unit of measurement of the label interval offset.
Public propertyIntervalTypeGets or sets the unit of measurement for the size of a label interval.
Public propertyIsEndLabelVisibleGets or sets a flag that determines whether the labels are shown at axis ends.
Public propertyIsStaggeredGets or sets a flag that determines whether the labels are shown with an offset.
Public propertyTagGets or sets an object associated with this chart element. (Inherited from ChartElement.)
Public propertyTruncatedLabelsGets or sets a flag that determines whether the labels can be truncated.
Top

  NameDescription
Public methodDispose()Releases the resources used by the ChartElement. (Inherited from ChartElement.)
Protected methodDispose(Boolean)Releases the unmanaged resources used by the LabelStyle and optionally releases the managed resources. (Overrides ChartElement.Dispose(Boolean).)
Public methodEqualsDetermines whether the specified Object is equal to the current ChartElement. (Inherited from ChartElement.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeReturns a hash function for a particular type. (Inherited from ChartElement.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current Object. (Inherited from ChartElement.)
Top

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

.NET Framework

Supported in: 4.6, 4.5, 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft