Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] LIGHTEST SHADE OF GREEN
Go
New
Search
Notify
Tools
Reply
  
[SOLVED] LIGHTEST SHADE OF GREEN
 Login/Join
 
Master
posted
I am trying to select a light green backcolor for a excel report. I'm using APP STUDIO to display alternating colors in every row, like this:

  
TYPE=DATA,
    FONT='IBIDEFAULT',
    SIZE=9,
    COLOR='BLACK',
    BACKCOLOR=( 'WHITE' 'LIME' ),
    STYLE=BOLD, 
$


Does anyone know of a lighter shade of green than the "electric looking" LIME ?

Thank you.

This message has been edited. Last edited by: FP Mod Chuck,


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
 
Posts: 553 | Location: Baltimore, MD | Registered: July 06, 2006Reply With QuoteReport This Post
Expert
posted Hide Post
TYPE=DATA,
    FONT='IBIDEFAULT',
    SIZE=9,
    COLOR='BLACK',
    BACKCOLOR=( RGB(210 255 220) 'WHITE' ),
    STYLE=BOLD, 
$
I like my first line to be a color instead of white.


   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Most recent: 8204 Gen 48 in Test and Production.
   Currently Available. Please contact me.
 
Posts: 3040 | Location: Middle Tennessee [8204M Gen48 in Test&Prod] | Registered: February 23, 2005Reply With QuoteReport This Post
Master
posted Hide Post
For 'light green' we use the Bootstrap 'Success' background color:
BACKCOLOR=( 'WHITE' RGB(#dff0d8) ) 




Test: WebFOCUS 8.1.05M Prod: WebFOCUS 8.1.05M Server: Windows Server 2012/Tomcat Standalone Workstation: Windows 7/IE 11 Database: Oracle 12c/Netezza Output: AHTML/XLSX/HTML/PDF/JSCHART Tools: WFDS, Repository Content, BI Portal Designer, & ReportCaster

 
Posts: 780 | Registered: April 23, 2003Reply With QuoteReport This Post
Master
posted Hide Post
So, I have this to display alternating colored rows in my report.

  
TYPE=DATA,
     COLUMN=N4,
     BACKCOLOR=('WHITE' 'GREEN'),
$


How do I code the COLOR tag TO ALTERNATE colors so if
BACKCOLOR='GREEN' the COLOR='WHITE',
AND if
if BACKCOLOR='WHITE' the COLOR='BLACK' ???

Thank you.


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
 
Posts: 553 | Location: Baltimore, MD | Registered: July 06, 2006Reply With QuoteReport This Post
Expert
posted Hide Post
Use conditional styling -

TABLE FILE GGSALES
SUM DOLLARS
    COMPUTE FLIPFLOP/I1 = ABS(LAST FLIPFLOP - 1); NOPRINT
 BY REGION
 BY ST
 BY STCD
ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLE *
grid=off, $
type=data, backcolor=white, color=green, when=FLIPFLOP EQ 0, $
type=data, backcolor=green, color=white, when=FLIPFLOP EQ 1, $
ENDSTYLE
END


T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.06 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5617 | Location: United Kingdom | Registered: April 08, 2004Reply With QuoteReport This Post
Master
posted Hide Post
quote:
lighter shade of green

Now, if I could only get 'A Whiter Shade of Pale' out of my head it will be a good day. :-)
 
Posts: 780 | Registered: April 23, 2003Reply With QuoteReport This Post
Master
posted Hide Post
”Lighter Shade” is one of my favorite early psychedelic songs. The organ is simply eerie!


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
 
Posts: 553 | Location: Baltimore, MD | Registered: July 06, 2006Reply With QuoteReport This Post
Master
posted Hide Post
Thanks everyone for your help. Tony I love the flip-flop variable!

Focal point is so helpful and a tremendous resource for learning.


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
 
Posts: 553 | Location: Baltimore, MD | Registered: July 06, 2006Reply With QuoteReport This Post
Expert
posted Hide Post
Tony: You never cease to amaze me with the FLIPFLOPping... I actually did that to simulate the good ol' Green Bar Paper, using a COUNTER from 1 to 6, reset bact to 1 when it's GT 6 (etc), and WHEN the COUNTER was LT 4 then LightGrren ELSE White (Pseudo Code Only).
Tom: There you have it, multiple thoughts Smiler and some inspiration from Procol Harum,

OK, I'm getting carried away with this: Procol Harum - A Whiter Shade of Pale, live in Denmark 2006, The Original.

This message has been edited. Last edited by: Doug,
 
Posts: 3040 | Location: Middle Tennessee [8204M Gen48 in Test&Prod] | Registered: February 23, 2005Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] LIGHTEST SHADE OF GREEN

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.