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     [CLOSED]Getting a distorted line graph on taking multiple fields on Y axis

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED]Getting a distorted line graph on taking multiple fields on Y axis
 Login/Join
 
Gold member
posted
The graph comes up fine with just the first two computed fields but creates another X ad Y axis at the bottom when using all the fields. Please suggest.

-DEFAULTH &MARKET = 'US'
-DEFAULTH &APPLICATIONCODE = 'NWP'
-DEFAULTH &BUSINESSUNIT = 'TSC'
-DEFAULTH &STARTDATE = '12/01/2015'
-DEFAULTH &ENDDATE = '12/02/2015'
-DEFAULTH &MENU = '_FOC_NULL'
-DEFAULTH &OPTION = '_FOC_NULL'
-DEFAULTH &FMT = 'HTML'
-DEFAULTH &TFN = '_FOC_NULL'

SET LOOKGRAPH = LINE
SET HAXIS=800, VAXIS=400

GRAPH FILE VRMIS_IDVERIFICATION_SUMMARY_DAILY
SUM
COMPUTE ACCOUNT_CAPTURED/D10.2% = (ACCOUNT_CAPTURED/ INCOMING_CALLS) * 100 ; AS 'VR Validated Accounts'
COMPUTE ANI_CAPTURED/D10.2% = (ANI_CAPTURED/ INCOMING_CALLS) *100; AS 'ANI Match'
-*COMPUTE AUTHENTICATED/D10.2% = (AUTHENTICATED/ INCOMING_CALLS) * 100; AS 'Authenticated'
-*COMPUTE COMPLETED/D10.2% = (COMPLETED/ INCOMING_CALLS) * 100; AS 'COMPLETED'
-*COMPUTE DISCONNECT/D10.2% = (DISCONNECT/ INCOMING_CALLS) * 100; AS 'DISCONNECTS'
-*COMPUTE TRANSFER/D10.2% = (TRANSFER/ INCOMING_CALLS) * 100; AS 'TRANSFERS'
ACROSS LOCAL_GMT_DATE_TIME AS 'INTERVAL'
WHERE CALLINTERVAL GE '&STARTDATE';
WHERE CALLINTERVAL LE '&ENDDATE';
WHERE COUNTRY_ID EQ '&MARKET';
WHERE BUSINESS_UNIT EQ '&BUSINESSUNIT';
WHERE TFN EQ '&TFN';



ON GRAPH SET GRMERGE ON
ON GRAPH SET GRAPHSTYLE *
ON GRAPH PCHOLD FORMAT JPG
ON GRAPH SET 3D OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET VZERO OFF
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1



setReportParsingErrors(false);
setSelectionEnableMove(false);
setDepthRadius(0); // Turns off 2 D
setDataLineThickness(2);
setMarkerDisplay(true);
setTransparentBorderColor(getChartBackground(),true);
setTransparentBorderColor(getSeries(0),true);
setTransparentBorderColor(getSeries(1),true);
setTransparentBorderColor(getSeries(2),true);
setTransparentBorderColor(getSeries(3),true);
setTransparentBorderColor(getSeries(4),true);
setTransparentBorderColor(getSeries(5),true);
setTransparentBorderColor(getSeries(6),true);
setTransparentBorderColor(getSeries(7),true);
setTransparentBorderColor(getSeries(8),true);
setTransparentBorderColor(getSeries(9),true);
setTransparentBorderColor(getSeries(10),true);
setPlace(true);
setTitleString("Call Summary Trending"); // sets the title in the graph frame
setSeriesType(getSeries(1),2);
setY1ScaleMinAuto(false); // fixes the y axis scale
setY1ScaleMaxAuto(false); // fixes the y axis scale
setScaleMin(getY1Axis(),0); // sets the y axis min scale to 0
setScaleMax(getY1Axis(),100); // sets the y axis max scale to 100
setY1LabelFormat(-2); // Set Y1 Axis Label Format to Custom
setY1LabelFormatPattern("0.00%"); // Set Y1 Axis Label Format to number %
setFillColor(getChartBackground(), new Color(233,244,248)); // Change chart background fill color.
setFillColor(getFrame(),new Color(233,244,248)); // Change chart frame background fill color.
setTextRotation(getO1Label(),0); // X axis dates text rotation

-* These commands are specifically applied to the graph legend styling.
setFillColor(getLegendText(),new Color(25,25,112));
setFontSize(getLegendText(),10);
setFontSizeAbsolute(getLegendText(),true);
setPlaceResize(getLegendText(),0);
setTextRotation(getLegendText(),0);
setPlaceRotate(getLegendText(),0);
setTextJustHoriz(getLegendText(),1);
setPlaceAlign(getLegendText(),0);
setTextWrap(getLegendText(),true);
setPlaceWordWrap(getLegendText(),0);
setFillColor(getSeries(1),new Color(0, 0 ,255));
setFillColor(getSeries(0),new Color(178 ,34 ,34));

ENDSTYLE
END

This message has been edited. Last edited by: <Emily McAllister>,


WebFOCUS 8010,8204
Windows
 
Posts: 59 | Registered: June 26, 2015Report This Post
Guru
posted Hide Post
HI Kartik,

This is a friendly follow-up regarding your Graph issue.

Can you update your profile with the specific version of WebFOCUS? It will help with determining the best response.

Did you create this report using the GUI tool and then apply additional style code?

Try commenting some of the style commands and rerunning the graph.


Thank you for participating in the Focal Point Forum.

Kindest regards,
Tamra Colangelo
Focal Point Moderator
Information Builders Inc.
* Summit 2016 – June 13-17 in Reno, Nevada  - http://www.informationbuilders.com/events/summit


WebFOCUS 8x - BI Portal, Developer Studio, App Studio, Excel, PDF, Active Formats and HTML5
 
Posts: 487 | Location: Toronto | Registered: June 23, 2009Report 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     [CLOSED]Getting a distorted line graph on taking multiple fields on Y axis

Copyright © 1996-2020 Information Builders