Nevron .NET Vision
Nevron.Chart Namespace / NSeriesBase Class / InflateMargins Property
Example


In This Topic
    InflateMargins Property
    In This Topic
    Inflates the margins of the series to fit the chart area.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("General")>
    <System.ComponentModel.DescriptionAttribute("Inflates the margins of the series to fit the chart area.")>
    <System.ComponentModel.DefaultValueAttribute(False)>
    <System.Xml.Serialization.XmlAttributeAttribute()>
    Public Property InflateMargins As System.Boolean
    'Usage
     
    
    Dim instance As NSeriesBase
    Dim value As System.Boolean
     
    instance.InflateMargins = value
     
    value = instance.InflateMargins
    [System.ComponentModel.Category("General")]
    [System.ComponentModel.Description("Inflates the margins of the series to fit the chart area.")]
    [System.ComponentModel.DefaultValue(false)]
    [System.Xml.Serialization.XmlAttribute()]
    public System.bool InflateMargins {get; set;}
    Remarks
    This can be very useful if your series has data points which are displayed outside the chart area.
    Example
    The following code inflates the margins of a bubble series and thus fits all bubbles inside the chart area.
    bubble.InflateMargins = True
    bubble.InflateMargins = true;
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also