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] IN GRAPHS ACORSS TOTAL name is Issue

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] IN GRAPHS ACORSS TOTAL name is Issue
 Login/Join
 
Gold member
posted
HI

IN BAR GRAPHS WHEN I’M DOING ACROSS-TOTAL NAME AS

ACROSS-TOTAL AS 'TOT_DISP'

THAT TOTAL NAME(TOT_DISP) IS NOT DISPLAYING IN BAR GRAPHS

PLEASE ANY ONE GIVE ME GUIDANCE

THANKS

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


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 51 | Registered: December 01, 2010Report This Post
Expert
posted Hide Post
Can you post an example with one of the sample files ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Expert
posted Hide Post
Hi Deepu,

I checked with our graph expert and was suggested that, it is not easy to reproduce the issue, so please open a case with Customer Support Services for further research. You may either call at 1-800-736-6130, or access online at InfoResponse.

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report This Post
Gold member
posted Hide Post
quote:
Originally posted by Waz:
Can you post an example with one of the sample files ?

i need across total name as "TOTAL_FLD" in bar graph

GRAPH FILE CAR
-* Created by Advanced Graph Assistant
SUM DEALER_COST
BY SEATS
ACROSS COUNTRY
ACROSS-TOTAL AS 'TOTAL_FLD'
ON GRAPH PCHOLD FORMAT PNG
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET HAXIS 450
ON GRAPH SET VAXIS 350
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH VBRSTK1
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 1
ON GRAPH SET GRXAXIS 1
ON GRAPH SET GRAPHSTYLE *
setTemplateFile("/images/tdg/template/IBISouthWestern.txt");
setReportParsingErrors(false);
setSelectionEnableMove(false);
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);
setTransparentBorderColor(getChartBackground(),true);
setPlace(true);
setDepthRadius(0);
setDepthAngle(0);
setDisplay(getO1MajorGrid(),false);
setFontSizeAbsolute(getLegendText(),true);
setFontSizeInPoints(getLegendText(),9);
setPlaceResize(getLegendText(),0);
setFontSizeAbsolute(getO1Label(),true);
setFontSizeInPoints(getO1Label(),9);
setPlaceResize(getO1Label(),0);
setTextRotation(getO1Label(),1);
setTextString(getY1Title(),"");
setFontSizeAbsolute(getO1Title(),true);
setFontSizeInPoints(getO1Title(),9);
setPlaceResize(getO1Title(),0);
setGridStepAuto(getY1MajorGrid(),true);
setPlaceAlign(getTitle(),0);
setFontSizeAbsolute(getTitle(),true);
setFontSizeInPoints(getTitle(),10);
setPlaceResize(getTitle(),0);
setTextJustHoriz(getTitle(),0);
setFillColor(getSeries(4),new Color(75,172,198));
setFillColor(getSeries(3),new Color(127,100,162));
setFillColor(getSeries(2),new Color(155,187,89));
setFillColor(getSeries(1),new Color(192,80,77));
setFillColor(getSeries(0),new Color(78,129,189));
setReverseGroups(false);
setDisplay(getO1AltFmtFrame(),false);
setPlaceAlign(getO1Label(),1);
setReverseSeries(true);
ENDSTYLE
END


This acorss total(TOTAL_FLD)name not displaying in Graph, when i used AS 'TOTAL_FLD'

This is code for ouput report

TABLE FILE CAR
SUM DEALER_COST
BY SEATS
ACROSS COUNTRY
ACROSS-TOTAL AS 'TOTAL_FLD'
END

can any one help me plz

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


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 51 | Registered: December 01, 2010Report This Post
Expert
posted Hide Post
Best I can come up with, not GUI compliant! Maybe someone else will have an idea...

  
-SET &ECHO=ALL;
SET ASNAMES = ON
TABLE FILE CAR
SUM DEALER_COST
BY SEATS
BY COUNTRY
  ON TABLE HOLD AS HOLD1
END
-RUN
DEFINE FILE CAR
 XCOUNTRY/A10 = '* Total';
END
TABLE FILE CAR
SUM DEALER_COST
BY SEATS
BY XCOUNTRY AS 'COUNTRY'
  ON TABLE HOLD AS HOLD2
END
-RUN

TABLE FILE HOLD1
SUM DEALER_COST
BY SEATS
BY COUNTRY
  ON TABLE HOLD AS HOLD3 FORMAT ALPHA
MORE
FILE HOLD2
END
-RUN
TABLE FILE HOLD3 
BY COUNTRY
 ON TABLE SAVE AS XHOLD
END
-RUN
-SET &COL1 = '';
-SET &XLINES = &LINES;
-SET &CNTR = 0;
-REPEAT GET_COUNTRY &XLINES TIMES
-SET &CNTR = &CNTR + 1;
-READ XHOLD &XCOL.A10.
-SET &COL.&CNTR = &XCOL;
-GET_COUNTRY

GRAPH FILE HOLD3
-* Created by Advanced Graph Assistant
SUM DEALER_COST
BY SEATS
ACROSS COUNTRY COLUMNS 
-SET &XCNTR = &XLINES - 1;
-SET &NEW_CNTR = 1;
-REPEAT DO_COLS &XCNTR TIMES
-SET &NEW_CNTR = &NEW_CNTR + 1;
-SET &SHOW_COLS = '&' || 'COL' || &NEW_CNTR;
  '&SHOW_COLS.EVAL' AND
-DO_COLS
  '&COL1.EVAL'
-*ACROSS-TOTAL AS 'TOTAL_FLD'
ON GRAPH PCHOLD FORMAT PNG
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET HAXIS 450
ON GRAPH SET VAXIS 350
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH VBRSTK1
ON GRAPH SET GRMERGE ON
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 1
ON GRAPH SET GRXAXIS 1
ON GRAPH SET GRAPHSTYLE *
setTemplateFile("/images/tdg/template/IBISouthWestern.txt");
setReportParsingErrors(false);
setSelectionEnableMove(false);
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);
setTransparentBorderColor(getChartBackground(),true);
setPlace(true);
setDepthRadius(0);
setDepthAngle(0);
setDisplay(getO1MajorGrid(),false);
setFontSizeAbsolute(getLegendText(),true);
setFontSizeInPoints(getLegendText(),9);
setPlaceResize(getLegendText(),0);
setFontSizeAbsolute(getO1Label(),true);
setFontSizeInPoints(getO1Label(),9);
setPlaceResize(getO1Label(),0);
setTextRotation(getO1Label(),1);
setTextString(getY1Title(),"");
setFontSizeAbsolute(getO1Title(),true);
setFontSizeInPoints(getO1Title(),9);
setPlaceResize(getO1Title(),0);
setGridStepAuto(getY1MajorGrid(),true);
setPlaceAlign(getTitle(),0);
setFontSizeAbsolute(getTitle(),true);
setFontSizeInPoints(getTitle(),10);
setPlaceResize(getTitle(),0);
setTextJustHoriz(getTitle(),0);
setFillColor(getSeries(4),new Color(75,172,198));
setFillColor(getSeries(3),new Color(127,100,162));
setFillColor(getSeries(2),new Color(155,187,89));
setFillColor(getSeries(1),new Color(192,80,77));
setFillColor(getSeries(0),new Color(78,129,189));
setReverseGroups(false);
setDisplay(getO1AltFmtFrame(),false);
setPlaceAlign(getO1Label(),1);
setReverseSeries(true);
ENDSTYLE
END
-EXIT


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Gold member
posted Hide Post
quote:
Tom Flynn

Hi Tom Flynn

Thanks its working fine


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 51 | Registered: December 01, 2010Report 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] IN GRAPHS ACORSS TOTAL name is Issue

Copyright © 1996-2020 Information Builders