Xceed Chart for WinForms v4.4 Documentation
InflateMargins Property
Example 


Xceed.Chart.Core.v4.4 Assembly > Xceed.Chart.Core Namespace > SeriesBase Class : InflateMargins Property
Inflates the margins of the series to fit the chart area.
Syntax
'Declaration
 
<DescriptionAttribute("Inflates the margins of the series to fit the chart area.")>

<CategoryAttribute("General")>

<DefaultValueAttribute()>

Public Property InflateMargins As Boolean
'Usage
 
Dim instance As SeriesBase

Dim value As Boolean

 

instance.InflateMargins = value

 

value = instance.InflateMargins
[Description("Inflates the margins of the series to fit the chart area.")]

[Category("General")]

[DefaultValue()]

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

Reference

SeriesBase Class
SeriesBase Members