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] Graph 2 Sort Fields Hide One Remove Duplicate Values

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Graph 2 Sort Fields Hide One Remove Duplicate Values
 Login/Join
 
Silver Member
posted
I am trying to create a graph and I have 2 sort fields, one that I want to sort based on and one that i want to display. The reason I am doing this is that I want to createa line graph that shows information year over year by day. I want to only display the months on the bottom so that the horizantal axis is not overflowing with lables.

So far I have managed to create the graph and hide the visibility on the day field while putting the month field as a second by field. This causes the graph to be exactly what I want with one exception, on the horizantal axis i am getting repeating values for each of the months. Is there any way i can turn off repeating sort values on a graph like i can on a regular report?

I can figure out how to provide an image of the graph if neccessary and would really appreciate any help you can provide.

This message has been edited. Last edited by: <Kathryn Henning>,


Web Focus 8105
Windows 7
 
Posts: 32 | Registered: January 13, 2014Report This Post
Virtuoso
posted Hide Post
Please post your code

I have this that display Group of area's and then Area's which is similar to Month and Days of month
DEFINE FILE SAREADATA
ITEM_GRPX  /A15V = DECODE ITEM_GRP  (1 'SMALL STOCK' 2 'LARGE STOCK' 3 'YARD' 4 'PIPES' 5 'EXCEPT' 9 'TOTAL');
END
GRAPH FILE SAREADATA
SUM
    NB_REC_R AS '1-RETURNS'
    NB_REC_T AS '2-TRANSFERS'
    NB_REC_O AS '3-ORDERS'
BY ITEM_GRP  NOPRINT
BY ITEM_GRPX AS 'GROUP'
BY PICK_AREA AS 'AREA'
ON GRAPH PCHOLD FORMAT PNG
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET VZERO OFF
ON GRAPH SET HAXIS 594
ON GRAPH SET VAXIS 347
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 3
ON GRAPH SET GRAPHSTYLE *
....

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


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Silver Member
posted Hide Post
Thanks MartinY I hadn't thought about that as am working with month names. I have added a field that contains month numbers and included that as the first sort field and it works perfectly.

-Luke


Web Focus 8105
Windows 7
 
Posts: 32 | Registered: January 13, 2014Report 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] Graph 2 Sort Fields Hide One Remove Duplicate Values

Copyright © 1996-2020 Information Builders