Xceed Chart for WinForms v4.4 Documentation
UseOrigin Property (AreaSeries)
Example 


Xceed.Chart.Core.v4.4 Assembly > Xceed.Chart.Core Namespace > AreaSeries Class : UseOrigin Property
Specifies whether a custom area origin must be used.
Syntax
'Declaration
 
<DescriptionAttribute("Specifies whether a custom area origin must be used.")>
<DefaultValueAttribute()>
<CategoryAttribute("Options")>
Public Property UseOrigin As Boolean
'Usage
 
Dim instance As AreaSeries
Dim value As Boolean
 
instance.UseOrigin = value
 
value = instance.UseOrigin
[Description("Specifies whether a custom area origin must be used.")]
[DefaultValue()]
[Category("Options")]
public bool UseOrigin {get; set;}
Remarks
When set to true the area is displayed with the origin specified by the Origin property.

When set to false the area is displayed with the maximal possible origin value.

By default this property is set to true.

Example
The following code displays an area with origin value 20.
area.UseOrigin = True
area.Origin = 20
area.UseOrigin = true;
area.Origin = 20;
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

AreaSeries Class
AreaSeries Members