ComponentOne Chart for WPF and Silverlight
C1.WPF.C1Chart Namespace / ChartView Class / Margin Property


In This Topic
    Margin Property
    In This Topic
    Gets or sets the margin of the plot area from the control edges.
    Syntax
    'Declaration
     
    
    Public Property Margin As Thickness
    'Usage
     
    
    Dim instance As ChartView
    Dim value As Thickness
     
    instance.Margin = value
     
    value = instance.Margin
    public Thickness Margin {get; set;}
    Remarks
    By default the margin is calculated automatically to provide enough space for axes. Set this property if the plot area should be placed at the fixed position on the control surface. For example when several charts should have their plot areas arranged vertically or horizontally.
    See Also