Creates ChartLabel object with specified property values

Namespace:  am.Charts
Assembly:  am.Charts (in am.Charts.dll)
Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public ChartLabel(
	string text,
	Unit left,
	Unit top,
	bool rotate,
	Unit width,
	LabelAlignments align,
	Color textColor,
	Nullable<int> textSize
)
Visual Basic (Declaration)
Public Sub New ( _
	text As String, _
	left As Unit, _
	top As Unit, _
	rotate As Boolean, _
	width As Unit, _
	align As LabelAlignments, _
	textColor As Color, _
	textSize As Nullable(Of Integer) _
)
Visual C++
public:
ChartLabel(
	String^ text, 
	Unit left, 
	Unit top, 
	bool rotate, 
	Unit width, 
	LabelAlignments align, 
	Color textColor, 
	Nullable<int> textSize
)

Parameters

text
Type: System..::.String
Label text
left
Type: System.Web.UI.WebControls..::.Unit
Label X coordinate
top
Type: System.Web.UI.WebControls..::.Unit
Label Y coordinate
rotate
Type: System..::.Boolean
If set to true label is displayed vertically
width
Type: System.Web.UI.WebControls..::.Unit
Label width (if null is passed, the width is set to flash object width)
align
Type: am.Charts..::.LabelAlignments
Text alignment (left, center, right)
textColor
Type: System.Drawing..::.Color
Text color
textSize
Type: System..::.Nullable<(Of <(Int32>)>)
Text size

See Also