Dundas Chart for Windows Forms
Zoomable Property
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > AxisDataView Class : Zoomable Property


Gets or sets a boolean that determines if the end-user can zoom in on the data.


Indicates that data view zooming UI interface enabled.

Syntax

Visual Basic (Declaration)  
Public Property Zoomable As Boolean
Visual Basic (Usage) Copy Code
Dim instance As AxisDataView
Dim value As Boolean
 
instance.Zoomable = value
 
value = instance.Zoomable
C#  
public bool Zoomable {get; set;}

Return Value

If true (the default) zooming is enabled, if false it is not.

Remarks

To be able to zoom in both vertical and horizontal directions set this property to true for the X and Y axes.

To allow the end-user to zoom the UserSelection property of the CursorX and/or CursorY objects must also be set to true (by default UserSelection, which enables range selection, is set to false). If the Zoomable property is also true then zooming occurs immediately after a range has been selected.

IMPORTANT: To fix the position of scrollbars the plotting area position of a chart area must not be set to "Auto". To explicitly set the plotting area position use the InnerPlotPosition property.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.