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     Bar Graph Color Customization

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Bar Graph Color Customization
 Login/Join
 
<Eric Schramm>
posted
Hello. I am new to WEBFocus so I appoligize if this answer has been previously posted.

I am creating a simple bar graph that sums a count based on Location (Location is the X axis).
I would like to customize the color of the graph by each Location based on a location sub-category.

For example, if the location was part of the sub-category "Miscellaneous", I would want all
the locations within that sub-category to display a BLUE graph. If the location was part
of the sub-category "Residence", I would want all the locations within that sub-category to
display a Red graph. and so on....

I cannot determine how to do this in the Graph Wizard. I tried to use Conditional Styling
but it is looking for a Count - not a literal compare. Any suggestions?

Thanks - I appreciate any help.

Eric
 
Report This Post
Virtuoso
posted Hide Post
See if this can get you started.

GRAPH FILE CAR
SUM DEALER_COST
RETAIL_COST
SALES
ACROSS COUNTRY
ON GRAPH SET LOOKGRAPH BAR
ON GRAPH SET GRAPHEDIT SERVER
ON GRAPH SET BARNUMB OFF
ON GRAPH SET 3D ON
ON GRAPH SET HZERO ON
ON GRAPH SET GRID ON
-*SET APPLET SIZING=ON
ON GRAPH SET VAXIS 308
ON GRAPH SET HAXIS 598
ON GRAPH SET GRAPHSTYLE *
setLegendMarkerPosition(1);
setMarkerDisplay(true);
ENDSTYLE
ON GRAPH SET STYLE *
PAGESIZE='Letter',
LEFTMARGIN=0.250000,
RIGHTMARGIN=0.250000,
TOPMARGIN=0.250000,
BOTTOMMARGIN=0.250000,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='TIMES NEW ROMAN',
SIZE=12,
BACKCOLOR='NONE',
STYLE=NORMAL,
$
TYPE=DATA,
ACROSSCOLUMN=N1,
COLOR='BLUE',
$
TYPE=DATA,
ACROSSCOLUMN=N2,
COLOR='TEAL',
$
TYPE=DATA,
ACROSSCOLUMN=N3,
COLOR=RGB(204 153 255),$
TYPE=HEADING,
LINE=1,
OBJECT=FIELD,
ITEM=1,
FONT='ARIAL',
STYLE=BOLD,
SIZE=8,

$
ENDSTYLE
END
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
<Eric Schramm>
posted
Thank you...I am trying to lose my "newbee" status....
 
Report 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     Bar Graph Color Customization

Copyright © 1996-2020 Information Builders