Xceed Chart for WinForms v4.4 Documentation
Zoom Property
Example 


Xceed.Chart.Standard.v4.4 Assembly > Xceed.Chart.Standard Namespace > View Class : Zoom Property
The zooming factor applied to the chart camera in percents.
Syntax
'Declaration
 
<CategoryAttribute("General")>
<DefaultValueAttribute()>
<DescriptionAttribute("The zooming factor applied to the chart camera in percents.")>
Public Property Zoom As Single
'Usage
 
Dim instance As View
Dim value As Single
 
instance.Zoom = value
 
value = instance.Zoom
[Category("General")]
[DefaultValue()]
[Description("The zooming factor applied to the chart camera in percents.")]
public float Zoom {get; set;}
Remarks
The default value of this property is 100. In order to zoom the scene twice for example you'll have to modify the value of this property to 200.
Example
The following example modifies the zoom applied on the chart camera:
Dim chartView As View = (CType(ChartControl.Charts(0), Chart)).View 
chartView.Zoom = 200 ' zoom the chart twice
View chartView = ((NChart)NChartControl.Charts[0]).View;
chartView.Zoom = 200; // zoom the chart twice
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

View Class
View Members