Gold member
| SAMPLE CODE
-* File pdf-graph -* Default Mode: ResourceLayout COMPOUND LAYOUT UNITS=IN, $ SECTION=section1, LAYOUT=ON, MERGE=OFF, ORIENTATION=LANDSCAPE, PAGESIZE=11 x 17, $ pagelayout=1, name='Layout page 1', $ component='graph1', type=report, position=(0.042 0.042), dimension=(8.000 4.542), $ component='report1', type=report, position=(0.104 4.792), dimension=(16.665 6.040), $ END SET COMPONENT='graph1' -*component_type graph JOIN A1.ATO MULTIPLE A1.B AS J0 END GRAPH FILE A SUM CNT.A2 ACROSS A3 WHERE ( NEWDATE GE '&STRT_TIME.START DATE.' ) AND ( NEWDATE LE '&END_TIME.END DATE.' ); ON GRAPH SET LOOKGRAPH PIEMULTP ON GRAPH SET GRAPHEDIT SERVER ON GRAPH SET BARNUMB OFF ON GRAPH SET 3D OFF ON GRAPH SET VZERO ON ON GRAPH SET GRID ON ON GRAPH SET VAXIS 4.542 ON GRAPH SET HAXIS 8.000 ON GRAPH SET UNITS INCHES ON GRAPH SET GRWIDTH 0 ON GRAPH HOLD AS HOLD FORMAT SVG ON GRAPH SET GRAPHSTYLE * setMarkerDisplay(true); setConnectLineMarkers(false); setConnectScatterMarkers(false); setO1LabelDisplay(true); setO1AxisSide(0); setO1MajorGridDisplay(true); setO1MajorGridStyle(0); setO1MinorGridDisplay(false); setAxisAssignment(0,0); setSeriesType(0,0); setY1LabelDisplay(true); setY1AxisSide(0); setY1MajorGridDisplay(true); setY1MajorGridStyle(0); setY1MinorGridDisplay(false); setTextFormatPreset(getY1Label(),-1); setTextFormatPattern(getY1Label(),"#.##"); setPieFeelerTextDisplay(1); setPieLabelDisplay(0); setTextFormatPreset(getPieSliceLabel(),1); setRiserBorderMode(1); setSeriesDefaultTransparentBorderColor(true); setUseSeriesBorderDefaults(true); setLegendDisplay(true); setFontSizeAbsolute(getY1Title(),true); setFontSizeAbsolute(getY1Label(),true); setFontSizeAbsolute(getY2Title(),true); setFontSizeAbsolute(getY2Label(),true); setFontSizeAbsolute(getO1Title(),true); setPlace(true); 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=HEADING, LINE=1, OBJECT=FIELD, ITEM=1, COLOR='BLACK', $ ENDSTYLE END TABLE FILE T_ORA_TECH_PROB " " BY SEVR_NAME NOPRINT ON TABLE SET PAGE-NUM NOLEAD IF RECORDLIMIT EQ 1 ON TABLE PCHOLD FORMAT PDF ON TABLE SET STYLE * type=HEADING, IMAGE=HOLD.svg, position=(0 0), $ END SET COMPONENT='report1' -*component_type report TABLE FILE A PRINT A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 WHERE ( NEWDATE GE '&STRT_TIME.START DATE.' ) AND ( NEWDATE LE '&END_TIME.END DATE.' ); ON TABLE SET PAGE-NUM OFF ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT PDF ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * UNITS=IN, SQUEEZE=ON, ORIENTATION=PORTRAIT, $ TYPE=REPORT, GRID=OFF, FONT='TIMES NEW ROMAN', SIZE=10, COLOR='BLACK', BACKCOLOR='NONE', STYLE=NORMAL, $ TYPE=REPORT, COLUMN=N2, SQUEEZE=0.805556, $ ENDSTYLE END COMPOUND END |