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] HIGHEST not working in Active HTML chart

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] HIGHEST not working in Active HTML chart
 Login/Join
 
Master
posted
Hi,

I am trying to order the y-axis with HIGHEST but it is not working.

see my code below.

TABLE FILE CAR
SUM
RETAIL_COST
BY HIGHEST CAR
HEADING
"CAR TEST "
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT AHTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=REPORT,
FONT='ARIAL',
SIZE=7,
COLOR='BLACK',
BACKCOLOR='NONE',
LINES-PER-PAGE=20,
ARGRAPHENGINE=FUSION,
REPORT-VIEW=CHART,
CHART-TYPE=BAR,
$

TYPE=REPORT,
COLUMN=ROWTOTAL(*),
FONT='ARIAL',
SIZE=7,
COLOR='BLACK',
BACKCOLOR='NONE',
$
ENDSTYLE
END
-RUN

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


WFConsultant

WF 8105M on Win7/Tomcat
 
Posts: 780 | Location: Florida | Registered: January 09, 2005Report This Post
Gold member
posted Hide Post
Hi, you can try this.

TABLE FILE CAR
SUM
RETAIL_COST
BY HIGHEST RETAIL_COST
HEADING
"CAR TEST "
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE HOLD AS GRAFICO FORMAT ALPHA
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=REPORT,
FONT='ARIAL',
SIZE=7,
COLOR='BLACK',
BACKCOLOR='NONE',
LINES-PER-PAGE=20,
ARGRAPHENGINE=FUSION,
REPORT-VIEW=CHART,
CHART-TYPE=BAR,
$

TYPE=REPORT,
COLUMN=ROWTOTAL(*),
FONT='ARIAL',
SIZE=7,
COLOR='BLACK',
BACKCOLOR='NONE',
$
ENDSTYLE
END
-RUN

GRAPH FILE GRAFICO
SUM
RETAIL_COST
BY HIGHEST RETAIL_COST
HEADING
"CAR TEST "
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT AHTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=REPORT,
FONT='ARIAL',
SIZE=7,
COLOR='BLACK',
BACKCOLOR='NONE',
LINES-PER-PAGE=20,
ARGRAPHENGINE=FUSION,
REPORT-VIEW=CHART,
CHART-TYPE=BAR,
$

TYPE=REPORT,
COLUMN=ROWTOTAL(*),
FONT='ARIAL',
SIZE=7,
COLOR='BLACK',
BACKCOLOR='NONE',
$
ENDSTYLE
END
Thi is ok , you remind ,that if you want order a string , you have a order A-Z HIGEST OR Z-A LOWEST .
I wait you understand me , good day.
 
Posts: 62 | Registered: September 18, 2008Report This Post
Master
posted Hide Post
I want to do Z-A Lowest.

Your code produces the same result. It might be a issue with Active HTML chart.


WFConsultant

WF 8105M on Win7/Tomcat
 
Posts: 780 | Location: Florida | Registered: January 09, 2005Report This Post
Gold member
posted Hide Post
you're right.
Sorry , i dont know because happen this, if you change the format to html then ok , when you put AHTML no ok .
Sorry.
 
Posts: 62 | Registered: September 18, 2008Report This Post
Guru
posted Hide Post
Looks like you found a bug. I recommend opening a case with IBI.

Workaround I came up with was to use a hold file and a sort field. One thing that you may notice is that the NOPRINT field will show up in the list of columns. This is one of the many annoyances that come up when working with any Active Reports.
  
TABLE FILE CAR
SUM
    COMPUTE CAR_SORT/I8 = CAR_SORT + 1;
    RETAIL_COST
BY HIGHEST CAR 
ON TABLE HOLD AS H1 FORMAT FOCUS
END

TABLE FILE H1
PRINT 
     RETAIL_COST
BY CAR_SORT NOPRINT
BY CAR

HEADING
"CAR TEST "
ON TABLE SET PAGE-NUM NOLEAD 
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT AHTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     UNITS=IN,
     SQUEEZE=ON,
     ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
     GRID=OFF,
     FONT='ARIAL',
     SIZE=7,
     COLOR='BLACK',
     BACKCOLOR='NONE',
     LINES-PER-PAGE=20,
     REPORT-VIEW=CHART,
     CHART-TYPE=BAR,
$
TYPE=REPORT,
     OBJECT=STATUS-AREA,
     JUSTIFY=CENTER,
     PAGE-LOCATION=BOTTOM,
$
TYPE=REPORT,
     COLUMN=ROWTOTAL(*),
     FONT='ARIAL',
     SIZE=7,
     COLOR='BLACK',
     BACKCOLOR='NONE',
$
ENDSTYLE
END


WebFOCUS 8.1.05M Unix Self-Service/MRE/Report Caster - Outputs Excel, PDF, HTML, Flat Files
 
Posts: 320 | Location: Memphis, TN | Registered: February 12, 2008Report This Post
Master
posted Hide Post
I tried your option too but no luck.


WFConsultant

WF 8105M on Win7/Tomcat
 
Posts: 780 | Location: Florida | Registered: January 09, 2005Report This Post
Guru
posted Hide Post
I don't know why it is not working. Maybe because I'm on 7.6.11. Here a screenshot of before and after.
Make sure you open a case with IBI.


WebFOCUS 8.1.05M Unix Self-Service/MRE/Report Caster - Outputs Excel, PDF, HTML, Flat Files
 
Posts: 320 | Location: Memphis, TN | Registered: February 12, 2008Report 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] HIGHEST not working in Active HTML chart

Copyright © 1996-2020 Information Builders