Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Core.v4.4 Assembly / Xceed.Chart.Core Namespace / SeriesBase 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
     
    <CategoryAttribute("General")>
    <DescriptionAttribute("Inflates the margins of the series to fit the chart area.")>
    <DefaultValueAttribute(False)>
    Public Property InflateMargins As Boolean
    'Usage
     
    Dim instance As SeriesBase
    Dim value As Boolean
     
    instance.InflateMargins = value
     
    value = instance.InflateMargins
    [Category("General")]
    [Description("Inflates the margins of the series to fit the chart area.")]
    [DefaultValue(false)]
    public 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