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] ACROSSVALUE backgroud color

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[Solved] ACROSSVALUE backgroud color
 Login/Join
 
Platinum Member
posted
Hi All,

I have a across report ( Across by Country ) and i need to set background color to country names. And on across column I have the the data visualization on , if i remove the data visualization i am able to set the background color but with visualization it does not work , please advise

Sample code 1:-Across value Bg color works and don't have visualization


 -* File: IBFS:/localhost/WFC/Repository/Retail_Sample/Report1.fex Created by WebFOCUS AppStudio
TABLE FILE CAR
SUM
     CAR.BODY.SALES
     CAR.SPECS.BHP
     CAR.SPECS.WIDTH
     CAR.SPECS.HEIGHT
BY  CAR.COMP.CAR
ACROSS CAR.ORIGIN.COUNTRY
WHERE COUNTRY EQ 'ENGLAND' OR 'FRANCE' OR 'ITALY' ;
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML

ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/warm.sty,
$
TYPE=DATA,
     BORDER-TOP=LIGHT,
     BORDER-BOTTOM=LIGHT,
     BORDER-LEFT=LIGHT,
     BORDER-RIGHT=LIGHT,
     FONT='IBIDEFAULT',
     SIZE=9,
$
TYPE=TITLE,
     BORDER-TOP=LIGHT,
     BORDER-BOTTOM=LIGHT,
     BORDER-LEFT=LIGHT,
     BORDER-RIGHT=LIGHT,
     FONT='IBIDEFAULT',
     SIZE=11,
     STYLE=-UNDERLINE+BOLD,
$
TYPE=TABHEADING,
     SIZE=14,
     COLOR=RGB(75 75 75),
     STYLE=BOLD,
     JUSTIFY=CENTER,
$
TYPE=TABHEADING,
     LINE=1,
     OBJECT=TEXT,
     ITEM=1,
     COLOR=RGB(153 153 153),
$
TYPE=ACROSSVALUE,
     BORDER-TOP=LIGHT,
     BORDER-BOTTOM=LIGHT,
     BORDER-LEFT=LIGHT,
     BORDER-RIGHT=LIGHT,
     SIZE=14,
     STYLE=BOLD,
     JUSTIFY=CENTER,
$
TYPE=ACROSSVALUE,
     COLUMN=N2,
     COLOR='WHITE',
     BACKCOLOR=RGB(102 102 170),
$
TYPE=ACROSSVALUE,
     COLUMN=N6,
     COLOR='WHITE',
     BACKCOLOR=RGB(51 204 204),
$
TYPE=ACROSSVALUE,
     COLUMN=N10,
     COLOR='WHITE',
     BACKCOLOR=RGB(80 60 255),
$

TYPE=ACROSSTITLE,
     COLOR='BLACK',
     STYLE=BOLD,
$
ENDSTYLE
END


Sample code 2:- Across value Bg color does not works with visualization and I needed the background color with visualization
 TABLE FILE CAR
SUM
     CAR.BODY.SALES
     CAR.SPECS.BHP
     CAR.SPECS.WIDTH
     CAR.SPECS.HEIGHT
BY  CAR.COMP.CAR
ACROSS CAR.ORIGIN.COUNTRY
WHERE COUNTRY EQ 'ENGLAND' OR 'FRANCE' OR 'ITALY' ;
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML

ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/warm.sty,
$
     DEFMACRO=COND0001,
     MACTYPE=RULE,
     WHEN=N4 LT 0,
$

TYPE=REPORT,
$
     GRAPHTYPE=DATA,
     ACROSSCOLUMN=N4,
     GRAPHCOLOR='BLUE',
$
     GRAPHTYPE=DATA,
     ACROSSCOLUMN=N4,
     GRAPHCOLOR='RED',
     MACRO=COND0001,
$
TYPE=DATA,
     BORDER-TOP=LIGHT,
     BORDER-BOTTOM=LIGHT,
     BORDER-LEFT=LIGHT,
     BORDER-RIGHT=LIGHT,
     FONT='IBIDEFAULT',
     SIZE=9,
$
TYPE=TITLE,
     BORDER-TOP=LIGHT,
     BORDER-BOTTOM=LIGHT,
     BORDER-LEFT=LIGHT,
     BORDER-RIGHT=LIGHT,
     FONT='IBIDEFAULT',
     SIZE=11,
     STYLE=-UNDERLINE+BOLD,
$
TYPE=TABHEADING,
     SIZE=14,
     COLOR=RGB(75 75 75),
     STYLE=BOLD,
     JUSTIFY=CENTER,
$
TYPE=TABHEADING,
     LINE=1,
     OBJECT=TEXT,
     ITEM=1,
     COLOR=RGB(153 153 153),
$
TYPE=ACROSSVALUE,
     BORDER-TOP=LIGHT,
     BORDER-BOTTOM=LIGHT,
     BORDER-LEFT=LIGHT,
     BORDER-RIGHT=LIGHT,
     SIZE=14,
     STYLE=BOLD,
     JUSTIFY=CENTER,
$
TYPE=ACROSSVALUE,
     COLUMN=N2,
     COLOR='WHITE',
     BACKCOLOR=RGB(102 102 170),
$
TYPE=ACROSSVALUE,
     COLUMN=N6,
     COLOR='WHITE',
     BACKCOLOR=RGB(51 204 204),
$
TYPE=ACROSSVALUE,
     COLUMN=N10,
     COLOR='WHITE',
     BACKCOLOR=RGB(80 60 255),
$

TYPE=ACROSSTITLE,
     COLOR='BLACK',
     STYLE=BOLD,
$
ENDSTYLE
END
 

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


WF Production :- WF:8.0.0.4, 8.1.05 App-studio/Developer Studio(8.1.x) ,
8.2.0.1M , 8.2.0.2 (App-Studio8.2.x),
InfoAssist/+, InfoDiscovery
Output format:-AHTML, PDF, Excel, HTML
Platform:-Windows 7, 8,10
 
Posts: 186 | Location: Infobuild India | Registered: August 28, 2015Report This Post
Expert
posted Hide Post
Try:

...
TYPE=ACROSSVALUE,
     COLOR='WHITE',
     BACKCOLOR=RGB(102 102 170),
     WHEN=COUNTRY EQ 'ENGLAND',
$
TYPE=ACROSSVALUE,
     COLOR='WHITE',
     BACKCOLOR=RGB(51 204 204),
     WHEN=COUNTRY EQ 'FRANCE',
$
TYPE=ACROSSVALUE,
     COLOR='WHITE',
     BACKCOLOR=RGB(80 60 255),
     WHEN=COUNTRY EQ 'ITALY',
$
...


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Platinum Member
posted Hide Post
Thanks Francis, It works


WF Production :- WF:8.0.0.4, 8.1.05 App-studio/Developer Studio(8.1.x) ,
8.2.0.1M , 8.2.0.2 (App-Studio8.2.x),
InfoAssist/+, InfoDiscovery
Output format:-AHTML, PDF, Excel, HTML
Platform:-Windows 7, 8,10
 
Posts: 186 | Location: Infobuild India | Registered: August 28, 2015Report 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] ACROSSVALUE backgroud color

Copyright © 1996-2020 Information Builders