GRAPH FILE AAA SUM BBB BY CCC ON GRAPH SET LOOKGRAPH PIEMULTI ON GRAPH SET GRAPHEDIT OFF ON GRAPH SET GRAPHSTYLE * setUserToolTip("VALUE IS :[R] [SL]:[YV] "); setSelectionEnable(0); ENDSTYLE ON GRAPH SET STYLE * PAGESIZE='Letter', LEFTMARGIN=0.250000, RIGHTMARGIN=0.250000, TOPMARGIN=0.250000, BOTTOMMARGIN=0.250000, SQUEEZE=ON, ORIENTATION=PORTRAIT, $ TYPE=REPORT, GRID=OFF, FONT='TIMES NEW ROMAN', SIZE=10, BACKCOLOR='NONE', STYLE=NORMAL, $ TYPE=DATA, COLUMN=N2, FOCEXEC=invest06 , $ ENDSTYLE END -****************************-
THIS GRAPH CAN NOT BE DRILL.... CAN NOT BE CLICK...This message has been edited. Last edited by: Kerry,
Webfocus 7.1.3 Windows 2003 Server Excel, HTML , JavaScript Tomcat
April 22, 2009, 01:19 AM
Waz
Try changing GRAPHEDIT OFF to GRAPHEDIT SERVER
Waz...
Prod:
WebFOCUS 7.6.10/8.1.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
April 22, 2009, 02:08 AM
rain
if i changing GRAPHEDIT OFF to GRAPHEDIT SERVER,then i can't use ToolTip. thanks!
i want to use ToolTip and drill at the same time.This message has been edited. Last edited by: rain,
Webfocus 7.1.3 Windows 2003 Server Excel, HTML , JavaScript Tomcat
April 22, 2009, 12:49 PM
VLozovsky
Drill downs are allowed in applet-based graphs. The issue you are seeing here is due to call setSelectionEnable(0); in your procedure, which disables any selection of the graph objects, hence inability to click and drill down. Here is more info on setSelectionEnable(); call:
SelectionEnable This property defines the user's ability to select objects in a graph and the operations that can be performed when one or more objects are selected. When setSelectionEnable(1) is used, the user can select individual objects (risers, markers, labels, and so on) in a graph. The graphing engine highlights each object that is selected. When setSelectionEnable(2) is used, the user can only select data-related objects (bars, legends, and son on). The graphing engine will highlight the selected data objects and all related objects. When setSelectionEnable(3) is used, the user cannot select individual objects. When one object is selected, all related objects will also be selected and highlighted. When setSelectionEnable(4) is used, the user can click on a single point and have the graph zoom at the rate of 50% on both axes with the selected point used as the center of the zoom rectangle. When setSelectionEnable(5) is used, it allows the user to drag out a rectangle and zoom in on the data within the rectangle area. When this mode is used, a single mouse click will back up one data-zoom level. Double click will restore the original zoomed data state. Note that user interface-based zooming and scrolling is mutually exclusive with selecting graph items. When setSelectionEnable(5) is used, graph objects cannot be selected. Syntax: setSelectionEnable(value); where: value Can be one of the following: 0 for no selection. 1 selects a single element, only one object is highlighted. 2 selects only data related objects (bar, legend) and select all related objects when clicking on one. 3 selects all related objects when one is clicked. 3 is the default value. 4 selects 50% data zooming on user-selected object. 5 selects drill-down/data zooming mode.
Try options 1-3 inclusive to get the drill downs working.
April 26, 2009, 09:39 PM
rain
thanks for you answer!
Webfocus 7.1.3 Windows 2003 Server Excel, HTML , JavaScript Tomcat