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     [CASE-OPENED] Graph Issue - 2 sort fields and want to noprint one

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CASE-OPENED] Graph Issue - 2 sort fields and want to noprint one
 Login/Join
 
Gold member
posted
Why is it I have noprint on one sort field and it still appears on my graph?

GRAPH FILE CHART1
SUM SALES UNITS
BY LOWEST XRANKISSUES NOPRINT
BY BRANCH
ON GRAPH PCHOLD AS HOLD FORMAT PNG
ON GRAPH SET GRXAXIS 2
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET BARNUMB OFF
ON GRAPH SET 3D OFF
ON GRAPH SET VZERO ON
-*ON GRAPH SET GRID ON
-*ON GRAPH SET GRMERGE ON
ON GRAPH SET HAXIS 600
ON GRAPH SET VAXIS 350
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH VBAR2AX
ON GRAPH SET GRAPHSTYLE *
setTemplateFile("/images/tdg/template/IBICylinderOnGrey.txt");
setReportParsingErrors(false);
setSelectionEnableMove(false);
setUseSeriesShapes(true);
setMarkerSizeDefault(50);
setLineBasicStrokeType(getSeries(0),12);
setLineBasicStrokeType(getSeries(2),12);
setMarkerShape(getSeries(0),0);
setDisplay(getTitle(),false);
setFillColor(getLegendLabelMarker(0),new Color(255,255,0));
setFillColor(getLegendLabelMarker(1),new Color(255,255,0));
setTransparentBorderColor(getChartBackground(),true);
setTransparentBorderColor(getFrame(),true);
setPlace(true);
setFillColor(getChartBackground(),new Color(255,255,255));
setFillColor(getFrame(),new Color(255,255,255));
setTextString(getSubtitle(),"OSI's by Branch");
setDisplay(getSubtitle(),true);
setPlaceResize(getSubtitle(),0);
setFontSizeAbsolute(getSubtitle(),true);
setFontSizeInPoints(getSubtitle(),9);
setDepthRadius(1);
setDepthAngle(1);
setPlaceResize(getDataText(),0);
setFontSizeAbsolute(getDataText(),true);
setFontSizeInPoints(getDataText(),8);
setPlaceResize(getLegendText(),0);
setPlaceResize(getO1Label(),0);
setTextRotation(getO1Label(),3);
setDisplay(getFootnote(),true);
setFillColor(getFootnote(),new Color(0,64,0));
setFillColor(getSubtitle(),new Color(0,0,0));
setMarkerSize(getSeries(1),50);
setMarkerSize(getSeries(2),0);
setMarkerSize(getSeries(3),50);
setMarkerSize(getSeries(4),100);
setMarkerSize(getSeries(5),100);
setMarkerSize(getSeries(6),100);
setMarkerSize(getSeries(7),100);
setMarkerSize(getSeries(8),100);
setMarkerSize(getSeries(9),100);
setLineBasicStrokeType(getSeries(1),12);
setMarkerShape(getSeries(1),3);
setMarkerShape(getSeries(2),0);
setMarkerSize(getSeries(2),100);
setLineWidth(getSeries(2),0);
setLineWidth(getSeries(0),1);
setLineWidth(getSeries(1),1);
setLineWidth(getSeries(2),1);
setLineWidth(getSeries(3),1);
setLineWidth(getSeries(4),1);
setFontSizeAbsolute(getLegendText(),true);
setFontSizeInPoints(getLegendText(),7);
setPlaceResize(getO1Label(),0);
setFontSizeAbsolute(getY1Label(),true);
setFontSizeInPoints(getY1Label(),9);
setPlaceResize(getY1Label(),0);
setPlaceResize(getY2Label(),0);
setFontSizeAbsolute(getY2Label(),true);
setFontSizeInPoints(getY2Label(),8);
setFontSizeAbsolute(getO1Label(),true);
setFontSizeInPoints(getO1Label(),7);
setTextString(getO1Title(),"");
setLegendPosition(1);
setSeriesType(getSeries(0),1);
setSeriesType(getSeries(1),1);
setSeriesType(getSeries(2),1);
-*setTextString(getY1Title(),"&XLABELS1");
setDisplay(getY1Title(),true);
setPlaceResize(getY1Title(),0);
setFontSizeAbsolute(getY1Title(), true);
setFontSizeInPoints(getY1Title(), 8);
-*setTextString(getY2Title(),"&XLABELS2");
setDisplay(getY2Title(),true);
setPlaceResize(getY2Title(),0);
setFontSizeAbsolute(getY2Title(),true);
setFontSizeInPoints(getY2Title(),8);
setFillColor(getO1Label(),new Color(0,0,255));
ENDSTYLE

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


8.0.9, Windows
excel / pdf
 
Posts: 89 | Registered: October 21, 2010Report This Post
Expert
posted Hide Post
FYI, Matt already has a case opened regarding this issue.

Some suggestions that may be of help:
In order to use NOPRINT for a sort in a graph, you must use GRMERGE ON or OFF.

ON - Generates a single three-dimensional graph that reflects all output data.
OFF - Generates separate graphs that collectively reflect all output data. This is the default value.

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report This Post
Expert
posted Hide Post
GRMERGE has nothing to do this the issue , as i read it.
MM, read up on the ROWS and/or COLUMNS commands.
its how you change the order of a sort field.
you can't use NOPRINT
and when you say BY field, you're gunna get the items sorted by the values of that field.
...
unless...
you use the ROWS or COLUMNS command.
for example
i built graphs of garment sales by size
and the sizes 'XS' 'S' 'M' 'L' 'XL' ain't gunna sort real nice!
so
GRAPH FILE ...
SUM SALES ACROSS SIZE
COLUMNS 'XS' AND 'S' AND 'M' AND 'L' AND 'XL'
...will reorder them.
yeah it can be work if you don't know what your values are, you gotta do this in 2 steps and dynamically build your COLUMNS (or ROWS) phrase.
but it works like a charm.




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 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     [CASE-OPENED] Graph Issue - 2 sort fields and want to noprint one

Copyright © 1996-2020 Information Builders