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     [SOLVED] Saved image size over ridden when called in html

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Saved image size over ridden when called in html
 Login/Join
 
Gold member
posted
Hoping this is a simple thing...I have a raised a case but thought I would ask the forum at the same time as I am trying to get this sorted for a demo on Wednesday.

I have a subroutine which creates multiple images of a set w x h which are then included within a report. This all works fine when running the sub routine and report in isolation. When these are run from a html page which is referencing the tasks, the image size is being over ridden

The code below, using the car file, will output an image to ibisamp called testimage. When run by itself, the image is fine. However referencing that with a html page results in a hug e image being produced.

Anyone have any ideas?

 APP PREPENDPATH ibisamp

-*-EXIT
-*IA_GRAPH_BEGIN
-*Do not delete or modify the comments below
*-INTERNAL_COMMENT LINE#0$PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48IS0tMS4wLS0+PFJvb3QgdmVyc2lvbj0iMS4xIj4KICAgIDxPYmplY3Qgb2JqZWN0SWQ9IkNoYXJ0XzEiPgogICAgICAgIDxQcm9wZXJ0eSBuYW1lPSJMaW5rZWRTb3J0cyIgdHlwZT0iamF2YS5sYW5nLlN0cmluZyIvPgogICAgICAgIDxQcm9wZXJ0eSBuYW1lPSJDcm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HBiV2wwUjNKdmRYQldhWE5wWW14bElqcDBjblZsTENKaVVISmxkbWxsZDBOdmJuUnliMnhXYVhOcFlteGxJanAwY25WbExDSmlVblZ1ZEdsdFpVTnZiblJ5YjJ4V2FYTnBZbXhsSWpwMGNuVmxmUT09PC9Qcm9wZXJ0eT4KICAgICAgICA8UHJvcGVydHkgbmFtZT0iU0xJQ0VSX0lORk9STUFUSU9OIiB0eXBlPSJqYXZhLmxhbmcuU3RyaW5nIj5QRDk0Yld3Z2RtVnljMmx2YmowaU1TNHdJaUJsYm1OdlpHbHVaejBpVlZSR0xUZ2lQejQ4SVMwdFEwOU5VRXhGVkVWZlUweEpRMFZTWDBkU1QxVlFMUzArUEZOTVNVTkZVbDlIVWs5VlVENDhSMUpQVlZBZ1ozSnZkWEJPZFcxaVpYSTlJakFpSUhOc2FXTmxja2R5YjNWd1RHRmlaV3c5SWtkeWIzVndJREVpSUhOc2FXTmxja2R5YjNWd1QzSmtaWEk5SWpBaUlITnNhV05sY2tkeWIzVndVMmw2WlQwaU1DSWdjMnhwWTJWeVIzSnZkWEJvYVdSbFBTSm1ZV3h6WlNJdlBqd3ZVMHhKUTBWU1gwZFNUMVZRUGc9PTwvUHJvcGVydHk+CiAgICAgICAgPFByb3BlcnR5IG5hbWU9ImVuYWJsZVByZXZpZXciIHR5cGU9ImphdmEubGFuZy5Cb29sZWFuIj50cnVlPC9Qcm9wZXJ0eT4KICAgIDwvT2JqZWN0Pgo8L1Jvb3Q+
-*Do not delete or modify the comments above
ENGINE INT CACHE SET ON
-DEFAULTH &WF_STYLE_UNITS='PIXELS';
-DEFAULTH &WF_STYLE_HEIGHT='40.0';
-DEFAULTH &WF_STYLE_WIDTH='100.0';
-DEFAULTH &WF_TITLE='WebFOCUS Report';
GRAPH FILE CAR
-* Created by Info Assist for Graph
SUM CNT.MODEL AS '0 '
BY MODEL AS ' '
ACROSS COUNTRY 
WHERE COUNTRY EQ 'W GERMANY'
ON GRAPH HOLD AS ibisamp/testimage FORMAT PNG
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRWIDTH 1
ON GRAPH SET UNITS &WF_STYLE_UNITS
ON GRAPH SET HAXIS &WF_STYLE_WIDTH
ON GRAPH SET VAXIS &WF_STYLE_HEIGHT
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 1
ON GRAPH SET GRXAXIS 1
ON GRAPH SET LOOKGRAPH HBRSTK1
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,$
DEFMACRO=Condition_1, MACTYPE=RULE, WHEN=N1 EQ '1.Positive', $
DEFMACRO=Condition_2, MACTYPE=RULE, WHEN=N1 EQ '2.N/A', $
DEFMACRO=Condition_3, MACTYPE=RULE, WHEN=N1 EQ '3.Negative', $
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, $
TYPE=DATA, ACROSSCOLUMN=N1, MACRO=Condition_1, COLOR=RGB(128 255 128), $
TYPE=DATA, ACROSSCOLUMN=N1, MACRO=Condition_2, COLOR=RGB(192 192 192), $
TYPE=DATA, ACROSSCOLUMN=N1, MACRO=Condition_3, COLOR=RGB(255 0 0), $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
setDisplay(getO1Label(),false);
setDisplay(getO1Title(),false);
setDisplay(getY1Title(),false);
setDisplay(getLegendArea(),false);
setScaleMinAuto(getY1Axis(),false);
setFillColor(getSeries(0),new Color(0,255,0));
setFillColor(getSeries(2),new Color(255,0,0));
setDisplay(getDataText(1), true);
setGradientPinLeftColor0(getSeries(1),new Color(0,255,0));
setGradientPinRightColor0(getSeries(1),new Color(0,255,0));
setGradientPinLeftColor2(getSeries(1),new Color(0,255,0));
setGradientPinRightColor2(getSeries(1),new Color(0,255,0));
setGradientPinLeftColor1(getSeries(1),new Color(255,0,0));
setGradientPinRightColor1(getSeries(1),new Color(255,0,0));
setGradientDirection(getSeries(1),9);
setGradientPinPosition0(getSeries(1),0.0);
setGradientPinPosition1(getSeries(1),1.0);
setFillType(getSeries(1),1);
setGradientPinLeftColor0(getSeries(0),new Color(0,255,0));
setGradientPinRightColor0(getSeries(0),new Color(0,255,0));
setGradientPinLeftColor2(getSeries(0),new Color(0,255,0));
setGradientPinRightColor2(getSeries(0),new Color(0,255,0));
setGradientPinLeftColor1(getSeries(0),new Color(211,211,211));
setGradientPinRightColor1(getSeries(0),new Color(211,211,211));
setGradientPinLeftColor1(getSeries(0), new Color(211,211,211,59));
setGradientPinRightColor1(getSeries(0), new Color(211,211,211,59));
setGradientPinLeftColor1(getSeries(0), new Color(211,211,211,0));
setGradientPinRightColor1(getSeries(0), new Color(211,211,211,0));
setGradientPinLeftColor0(getSeries(2),new Color(211,211,211));
setGradientPinRightColor0(getSeries(2),new Color(211,211,211));
setGradientPinLeftColor2(getSeries(2),new Color(211,211,211));
setGradientPinRightColor2(getSeries(2),new Color(211,211,211));
setGradientPinLeftColor1(getSeries(2),new Color(255,0,0));
setGradientPinRightColor1(getSeries(2),new Color(255,0,0));
setGradientPinLeftColor1(getSeries(0),new Color(255,255,255));
setGradientPinRightColor1(getSeries(0),new Color(255,255,255));
setGradientPinPosition0(getSeries(0),0.0);
setGradientPinPosition1(getSeries(0),1.0);
setFillColor(getSeries(1),new Color(255,255,255));
setGradientPinLeftColor0(getSeries(2),new Color(255,255,255));
setGradientPinRightColor0(getSeries(2),new Color(255,255,255));
setGradientPinLeftColor2(getSeries(2),new Color(255,255,255));
setGradientPinRightColor2(getSeries(2),new Color(255,255,255));
setGradientPinPosition0(getSeries(2),0.0);
setGradientPinPosition1(getSeries(2),1.0);
setFillType(getSeries(0),1);
setFillType(getSeries(2),1);
setFillColor(getFrame(),new Color(249,249,255));
setDisplay(getDataText(0), true);
setDisplay(getDataText(),true);
setFontSizeAbsolute(getDataText(),true);
setAutofit(getDataText(),false);
setPlaceResize(getDataText(),0);
setFillColor(getDataText(),new Color(255,255,255));
setFontName(getDataText(),"TREBUCHET MS");
setFontSizeInPoints(getDataText(),18);
setDisplay(getY1Label(),false);
setDataTextPosition(4);
setStackedDataValueSum(false);
*END
ENDSTYLE
END
-RUN

-*IA_GRAPH_FINISH 

This message has been edited. Last edited by: PBax,


81.05 All formats
 
Posts: 56 | Location: Manchester | Registered: November 21, 2006Report This Post
Gold member
posted Hide Post
Ah found it....its consuming the width and height in the style > attributes basic


81.05 All formats
 
Posts: 56 | Location: Manchester | Registered: November 21, 2006Report 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     [SOLVED] Saved image size over ridden when called in html

Copyright © 1996-2020 Information Builders