Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     SVG Graph image in a PDF report

Read-Only Read-Only Topic
Go
Search
Notify
Tools
SVG Graph image in a PDF report
 Login/Join
 
Gold member
posted
I am trying to display a SVG graph image inside a PDF report that has a heading and footing. The bubble graph image displays and I do get a footing. However, the heading is not displaying and the stylesheet attributes are not being applied to the footing. I would like the background color in the heading to be blue and the characters in the heading to be white. I want to center the 3 lines in the footing (-INCLUDE APP/FOOTERFE.FEX). Here is my code.

GRAPH FILE MCDSH20M
SUM
UNITS_1000/D7-%
COST_UNITS/D7-%
PMPM_12MR/D15.2M
SNAPSHOT_MO NOPRINT
ACROSS HSGROUP
ON GRAPH SET LOOKGRAPH BUBBLE
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 HOLD AS TEMP20 FORMAT SVG
ON GRAPH SET GRAPHSTYLE *
setUseDefaultBubbleMarker(false);
setToolTipDisplay(true);
setLegendAutomatic(true);
setLegendPosition(5);
-*setLegendPosition(0);
-*setRect(getLegendArea(),new Rectangle(3999,-999,6555,24349));
setTextRotation(getX1Label(),0);
setMarkerSizeDefault(100);
setRect(getTitle(),new Rectangle(-4888,11000,29806,1939));
setFontSizeVC(getTitle(),1222);
setTitleString("Utilization and Cost");
setY1TitleDisplay(true);
setY1TitleString("Cost per Unit");
setY1TitleAutofit(false);
setY1LabelAutofit(false);
setFontSizeVC(getY1Title(),888);
setFontSizeVC(getY1Label(),888);
setX1TitleDisplay(true);
setX1TitleString("Units per 1000");
setX1TitleAutofit(false);
setX1LabelAutofit(false);
setFontSizeVC(getX1Title(),888);
setFontSizeVC(getX1Label(),888);
setTextFormatPreset(getY1Label(),2);
setTextFormatPreset(getX1Label(),2);
setTextFormatPattern(getY1Label(),"###");
setO1LabelDisplay(true);
setO1AxisSide(0);
setMarkerDisplay(true);
setConnectLineMarkers(false);
setConnectScatterMarkers(false);
setO1LabelDisplay(true);
setO1AxisSide(0);
setO1MajorGridDisplay(false);
setO1MajorGridStyle(0);
setO1MinorGridDisplay(false);
setAxisAssignment(0,0);
setAxisAssignment(1,0);
setAxisAssignment(2,0);
setY1LabelDisplay(true);
setY1AxisSide(0);
setY1MajorGridDisplay(false);
setX1MajorGridDisplay(false);
setY1MajorGridStyle(0);
setY1MinorGridDisplay(false);
-*setTextFormatPreset(getY1Label(),-1);
setPieFeelerTextDisplay(1);
setPieLabelDisplay(0);
setTextFormatPreset(getPieSliceLabel(),1);
setLegendDisplay(true);
setFontSizeAbsolute(getY1Title(),true);
setFontSizeAbsolute(getY1Label(),true);
setFontSizeAbsolute(getY2Title(),true);
setFontSizeAbsolute(getY2Label(),true);
setFontSizeAbsolute(getO1Title(),true);
setFontSizeAbsolute(getO1Label(),true);
-*setPlace(true);
setSeriesType(0,1);
setSeriesType(1,1);
setLegendDisplay(true);
setLegendAutomatic(true);
setLegendPosition(5);
setFontSizeAbsolute(getLegendText(),true);
setFontSize(getLegendText(),10);
setQuadrantLineValueX(0, 0);
setQuadrantLineValueY(0, 0);
setToolTipMode(false);
setUserToolTip("[SL] [R] Units per 1000: [XV] [R] Cost per Unit: [YV] [R] PMPM: $[ZV] ");
-*-SET &SIGN = IF (&BUBMAX_Y) OR (&BUBMAX_X) LE 1 THEN 'true' ELSE 'false';
-*setY1ScaleMaxAuto(&SIGN);
-*setY1ScaleMax(&BUBMAX_Y);
-*setX1ScaleMaxAuto(&SIGN);
-*setX1ScaleMax(&BUBMAX_X);
setY1ScaleMaxAuto(false);
setY1ScaleMax(&BUBMAX_Y);
setX1ScaleMaxAuto(false);
setX1ScaleMax(&BUBMAX_X);
ENDSTYLE
ON GRAPH SET STYLE *
PAGESIZE='Letter',
LEFTMARGIN=0.250000,
RIGHTMARGIN=0.250000,
TOPMARGIN=0.250000,
BOTTOMMARGIN=0,
SQUEEZE=ON,
ORIENTATION=LANDSCAPE,
BOTTOMGAP=0.054889,
SIZE=10,
FONT=ARIAL,
TITLETEXT=' ',
$
TYPE=REPORT,
GRID=OFF,
FONT='ARIAL',
SIZE=10,
BACKCOLOR='NONE',
STYLE=NORMAL,
BOTTOMGAP=0.054889,
$
TYPE=FOOTING,
BACKCOLOR='NONE',
$
ENDSTYLE
END
-RUN
TABLE FILE MCDSH20M
-*ON TABLE SUBHEAD
HEADING
" - <+0> Professional <+174 PA"
"Utilization and Cost Trends - Top 7 with > 10% Trend
-*SUM
-* PRODUCT_NAME NOPRINT
FOOTING
"-INCLUDE app/footerfe.fex
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
-*
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=LANDSCAPE,
LEFTMARGIN=0.500000,
RIGHTMARGIN=0.500000,
TOPMARGIN=0.250000,
BOTTOMMARGIN=0.000000,
$
TYPE=REPORT,
GRID=OFF,
FONT='ARIAL',
SIZE=12,
COLOR='BLACK',
BACKCOLOR='NONE',
STYLE=NORMAL,
$
TYPE=HEADING,LINE=1,JUSTIFY=CENTER,STYLE=BOLD,$
$
TYPE=REPORT,
LINE=34,
COLOR=RED,
$
-*TYPE=HEADING,
-* BACKCOLOR='BLUE',
-*$
TYPE=HEADING,
LINE=1,
-* OBJECT=TEXT,
-* ITEM=2,
COLOR='WHITE',
$
TYPE=FOOTING,
BACKCOLOR='NONE',
$
TYPE=HEADING,
LINE=1,
OBJECT=TEXT,
ITEM=2,
COLOR='WHITE',
BOTTOMGAP=0.015889,
$
TYPE=HEADING,
LINE=1,
OBJECT=FIELD,
ITEM=1,
COLOR='WHITE',
BOTTOMGAP=0.015889,
$
TYPE=HEADING,
LINE=1,
OBJECT=FIELD,
ITEM=2,
COLOR='WHITE',
BOTTOMGAP=0.015889,
$
TYPE=HEADING,
LINE=1,
OBJECT=TEXT,
ITEM=3,
COLOR='WHITE',
BOTTOMGAP=0.015889,
$
TYPE=HEADING,
LINE=1,
OBJECT=TEXT,
ITEM=4,
COLOR='WHITE',
BOTTOMGAP=0.015889,
$

TYPE=FOOTING,
LINE=32,
JUSTIFY=CENTER,
COLOR=RED,
$
TYPE=FOOTING,
LINE=33,
JUSTIFY=CENTER,
COLOR=GREEN,
$
TYPE=FOOTING,
LINE=34,
SIZE=8,
JUSTIFY=CENTER,
COLOR=PURPLE,
$
TYPE=HEADING,
LINE=2,
OBJECT=TEXT,
ITEM=1,
COLOR='WHITE',
BOTTOMGAP=0.015889,
$
TYPE=REPORT,
IMAGE=temp20.svg,
POSITION=(0.597222 1.241667),
SIZE=(8.375000 4.166667),
$
ENDSTYLE
ON TABLE PCHOLD FORMAT PDF CLOSE
END
-RUN


I am using WF version 7.1.7 Windows XP

Michele Brooks
 
Posts: 70 | Registered: April 04, 2007Report This Post
Virtuoso
posted Hide Post
Not sure why your Footing is an include...what is the styling in that?


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Gold member
posted Hide Post
I solved my own problem. Thanks to all anyway.
 
Posts: 70 | Registered: April 04, 2007Report This Post
Virtuoso
posted Hide Post
Michelle,

What was the problem?


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     SVG Graph image in a PDF report

Copyright © 1996-2020 Information Builders