Set the AnimatedZoomSteps property to the desired number of intermediate zooms: :=7 This code activates animated zoom: :=True This makes an “animated” zoom effect, which helps to identify better the zoomed area. You can control if TeeChart will calculate zoom positions immediately or it will be calculating zoom in short “steps” until reaching the desired zoom window. You can decide which mouse button and / or keys must be pressed to draw the zoomed area rectangle (degault is Left Mousebutton): := mbMiddle Īs soon as users release the mouse button, TeeChart repaints to show the zoomed area. Dragging in the opposite direction resets axis scales ( no zoom ). Users can zoom drawing a rectangle around the Chart area they want to see in detail.ĭragging should be done from top / left to bottom down. The Chart Zoom.Allow property controls if users can apply zoom (default is True): :=True You can control Pie dimensions using Chart margins or Pie custom radius properties.Ĭharts can be zoomed programmatically or by user interaction with mouse dragging. Note: Pie Series can’t be scrolled or zoomed. After zooming or scrolling a Chart, all Series will repaint their points in their new positions. Scrolling and Zooming a Chart is simply setting its Axis scales to the desired values.
0 Comments
Leave a Reply. |