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     Conditional styling in Bar Graph

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Conditional styling in Bar Graph
 Login/Join
 
Guru
posted
Hi,
I am working on a bar graph where in I want to do some conditional styling.
Say the graph is like- Production of cars across car models

Here I am DEFINING a field for styling, which takes values depending on the car model
E.g MODEL_VAL/A1 = IF CAR EQ 'MERC' THEN 'M'
ELSE IF CAR EQ 'BMW' THEN 'B';

I want another styling to be done which is again dependent on car model, plus production amount.
E.g PROD_VAL/A2 = IF CAR EQ 'MERC' AND PRODUCTION GT 1000 THEN 'P1'
ELSE IF CAR EQ 'BMW' AND PRODUCTION GT 500 THEN 'P2';

Both these fields are mutually exclusive.
MODEL_VAL will always have a value.
But when any condition in PROD_VAL also is satisfied, the styling done by MODEL_VAL does not reflect in the graph.

Please suggest if the above method is correct and how I should tackle this issue.

Thanks.


WF 8.1.04,Windows 7,
DataBase: Oracle 11g,Output :Excel,PDF,HTML
 
Posts: 281 | Location: India | Registered: April 21, 2007Report This Post
Expert
posted Hide Post
Hi Shankar,

Before getting someone to help on this, can you please paste a sample code that you are currently using? You may want to repro the issue using the most favorite CAR file or some other IBI sample data. Or, please share with us a screenshot of what you have, which will be of more help.

Thank you in advance for sharing with all. Smiler

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report 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     Conditional styling in Bar Graph

Copyright © 1996-2020 Information Builders