home *** CD-ROM | disk | FTP | other *** search
- '***********************************************************************
- ' ZoomIn.rlz
- '
- ' Realizer Reference Guide : Chapter 14
- '
- ' Copyright ⌐ 1991-1992 Computer Associates International, Inc.
- ' All rights reserved.
- '
- '***********************************************************************
-
- PROC ChartProcZoomIn(params)
- ChartSelect(params[_ItemNum], params[_FormNum])
- SELECT CASE params[_Invoke]
- CASE _Click
- Width = Width / 2
- Pt = ChartQPtInfo(params[_XPos], params[_YPos])
- ChartSetXView(Pt[1] - Width/2, Pt[1] + Width/2)
- END SELECT
- END PROC
-
- ChartNew(10)
- ChartLine(sin(index(360) * (3.1415/180)))
- ChartControl(_Show)
- ChartSetProc(ChartProcZoomIn)
- Width = 360