Intersoft.Client.UI.DataVisualization Namespace > UXChart Class : InitialZoomPoint Property |
<CategoryAttribute("Common Properties")> Public Property InitialZoomPoint As Point
Dim instance As UXChart Dim value As Point instance.InitialZoomPoint = value value = instance.InitialZoomPoint
[CategoryAttribute("Common Properties")] public Point InitialZoomPoint {get; set;}
[CategoryAttribute("Common Properties")] public: property Point InitialZoomPoint { Point get(); void set ( Point value); }
There are times when you want to display a chart that already initially zoomed in to certain position without gesture input from users.
To achieve this configuration, simply set the initial zoom by setting the InitialZoomLevel property, and set the InitialZoomPoint property to determine where the zoom will be centered. Note that the value of initial point should be percentage of the screen real estate where 0,0 is the top left most and 1,1 is the bottom right most.
XAML |
Copy Code
|
---|---|
<Intersoft:UXChart InitialZoomLevel="2,2" InitialZoomPoint="0.5,1" /> |
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