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


Gets or sets the top margin of the chart image.

Syntax

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

Example

C#Copy Code
Chart.MarginTop = 20;
    
Visual BasicCopy Code
Chart.MarginTop = 20

Remarks

Negative values are allowed.

See Also

© 2010 All Rights Reserved.