dotnetCHARTING Send comments on this topic.
SmartLabelLine Property
See Also  Example
dotnetCHARTING Namespace > Chart Class : SmartLabelLine Property


See Chart.DefaultSeries.DefaultElement.SmartLabel.Line.

Syntax

Visual Basic (Declaration) 
Public Property SmartLabelLine As Line
Visual Basic (Usage)Copy Code
Dim instance As Chart
Dim value As Line
 
instance.SmartLabelLine = value
 
value = instance.SmartLabelLine
C# 
public Line SmartLabelLine {get; set;}

Example

C#Copy Code
//Import Drawing2D namespace: <%@ Import Namespace="System.Drawing.Drawing2D" %> 
Line LineObj = new Line(Color.Red); 
LineObj.DashStyle = DashStyle.DashDot; 
LineObj.EndCap = LineCap.ArrowAnchor; 
Chart.SmartLabelLine = LineObj; 
    
Visual BasicCopy Code
'Import Drawing2D namespace: <%@ Import Namespace="System.Drawing.Drawing2D" %>
Dim LineObj As Line = new Line(Color.Red)
LineObj.DashStyle = DashStyle.DashDot
LineObj.EndCap = LineCap.ArrowAnchor
Chart.SmartLabelLine = LineObj

See Also