You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: controls/htmlchart/functionality/panning-zooming.md
+90-4Lines changed: 90 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,17 +9,97 @@ position: 7
9
9
---
10
10
11
11
# Panning and Zooming
12
-
As of **Q1 2016**, **RadHtmlChart** exposes **Pan** and **Zoom**features for category and numeric series. These features help the end-user to navigate and zoom the chart.
12
+
**Pan** and **Zoom**help end-user to navigate through and zoom in/out the **RadHtmlChart**. You can find here more details how to configure and adjust these features.
13
13
14
-
>caption Figure 1: Chart that can be panned to all directions.
14
+
**Pan** and **Zoom** are supported in **RadHtmlChart** as of **Q1 2016**.
15
+
16
+
>caption Figure 1: Chart that can be panned to all directions (the result from the configuration in Example 1).
15
17
16
18

17
19
18
-
>caption Figure 2: Chart that is zoomed using Selection, where selection is locked for Y axis.
You can find the full list of the available **Pan** and **Zoom** properties in the following sections.
23
103
24
104
## Pan
25
105
@@ -63,6 +143,12 @@ If **Selection** is enabled without a modifier key (or if **ModifierKey** proper
63
143
*_X_—X axis is locked, i.e., user can zoom only by Y axis.
64
144
*_Y_—Y axis is locked. i.e., user can zoom only by X axis (**Figure 2**).
65
145
146
+
## Controlling Initial View
147
+
148
+
In order to render the chart with some initial zoom level, you can use the min (**MinValue** property) and max (**MaxValue** property) values of the axis to be zoomed.
149
+
150
+
In examples **1** and **2** you can see how defining initially the min and max values actually zoom accordingly into X and Y axis. Thus, enabling the end user to either zoom or pan the chart.
151
+
66
152
## See Also
67
153
68
154
*[Demo: Panning and Zooming](http://demos.telerik.com/aspnet-ajax/HtmlChart/Examples/Functionality/Panning-Zooming/DefaultCS.aspx)
0 commit comments