Focal Point
[SOLVED] Object behind Graph Decument Compound

This topic can be found at:
http://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/3027061196

March 07, 2019, 04:09 AM
jenni
[SOLVED] Object behind Graph Decument Compound
Hi,

I Need to add an object=string into my Graph in a Document

The Problem:
object appears behind Graph

Example:

ENGINE INT CACHE SET ON
SET PAGE-NUM=NOLEAD
SET SQUEEZE=ON
-DEFAULTH &WF_HTMLENCODE=ON;
SET HTMLENCODE=&WF_HTMLENCODE

SET HTMLCSS=ON
SET ARGRAPHENGINE=JSCHART
-DEFAULTH &WF_EMPTYREPORT=ON;
SET EMPTYREPORT=&WF_EMPTYREPORT

SET EMBEDHEADING=ON
SET GRAPHDEFAULT=OFF

COMPOUND LAYOUT PCHOLD FORMAT PDF
SECTION=Section_1, LAYOUT=ON, PAGESIZE=A4, ORIENTATION=PORTRAIT, SHOW_GLOBALFILTER=OFF, $
PAGELAYOUT=1, NAME='Seite 1', TEXT='Seite 1', LEFTMARGIN=0.25, RIGHTMARGIN=0.25, TOPMARGIN=0.25, BOTTOMMARGIN=0.25, $
COMPONENT=TableChart_1, COMPONENT-TYPE=GRAPH, POSITION=(1.041666 1.041666), DIMENSION=(5.0 3.5), ARREPORTSIZE=DIMENSION, METADATA='VERSION:1.0', $
OBJECT=STRING, NAME=Text_1, POSITION=(2.208333 2.25), MARKUP=ON, TEXT='blabla', FONT=ARIAL, SIZE=12, COLOR=RGB(0 0 0), WRAP=ON, DIMENSION=(1.520833 0.354166), $
END

SET COMPONENT=TableChart_1
-*component_type graph
-DEFAULTH &WF_TITLE='WebFOCUS Report';
GRAPH FILE baseapp/car
-* Created by Info Assist for Graph
SUM CAR.BODY.SALES
BY CAR.ORIGIN.COUNTRY
ON GRAPH PCHOLD FORMAT PDF
ON GRAPH SET VZERO OFF
ON GRAPH SET HAXIS 5.0
ON GRAPH SET VAXIS 3.5
ON GRAPH SET UNITS INCHES
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET STYLE *
*GRAPH_SCRIPT

setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setCurveFitEquationDisplay(false);
setPlace(true);

*END
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
TYPE=REPORT, TITLETEXT='Diagramm1', PAGESIZE=A4, $
*GRAPH_SCRIPT

setReportParsingErrors(false);
setSelectionEnableMove(false);

*END
ENDSTYLE
END

COMPOUND END


And I want to see the "blabla"

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8.1.05
Windows, All Outputs
March 07, 2019, 05:05 AM
jenni
got it -> Annotations
setDisplay(getAnnotation(1), true);
setTextString(getAnnotation(1), "%");
setRect(getAnnotation(1),new Rectangle(-11100,10600,31900,3500));

setTextWrap(getAnnotation(1),true);
setFillColor(getAnnotation(1), new Color(#003745));
setFontName(getAnnotation(1),"&FONT");
setFontStyle(getAnnotation(1),0);
setFontSizeAbsolute(getAnnotation(1),true);
setFontSizeInPoints(getAnnotation(1),9);
setTextJustHoriz(getAnnotation(1), 0);
setTextJustVert(getAnnotation(1), 1);
setDisplay(getAnnotationBox(1), false);
-*setFillColor(getAnnotationBox(1), new Color(&STYLE_LABELTEXT.EVAL));
setTransparentBorderColor(getAnnotationBox(1), false);
-*setBorderColor(getAnnotationBox(1), new Color(&STYLE_LABELTEXT.EVAL));


WebFOCUS 8.1.05
Windows, All Outputs