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     [CASE-OPENED] Define color for column in chart

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CASE-OPENED] Define color for column in chart
 Login/Join
 
Platinum Member
posted
Depending of a parameter I want to show or hide a column in my chart.
The problem is that I can not set the color for each column (max is red, avg blue and min green). I only can define it for the series.

It seems a simple issue but I can't find the solution. I already try the conditional formating solution.

My code:
  
...
-IF (&selmax.EXISTS) THEN GOTO MAX_SELECTED ELSE MAX_UNSELECTED;
-MAX_SELECTED
-SET &printmax='';
-GOTO MAX_SELECTED_FINAL
-MAX_UNSELECTED
-SET &printmax='NOPRINT';
-MAX_SELECTED_FINAL
...

GRAPH FILE &filename
SUM MAX.&metric &printmax AS 'Max'
AVE.&metric &printavg AS 'Avg'
MIN.&metric &printmin AS 'Min'
BY &colname AS &labelname
...
ON GRAPH SET LOOKGRAPH VBAR
...
ON GRAPH SET GRAPHSTYLE *
-* Series color
setFillColor(getSeries(0),new Color(198,23,58));
setFillColor(getSeries(1),new Color(75,132,185));
setFillColor(getSeries(2),new Color(81,148,60));
ENDSTYLE



Thanks in advanced,
Carlos Dias

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


WebFOCUS version: 7.6
Linux/Windows
HTML, Excel
 
Posts: 127 | Location: Aveiro, Portugal | Registered: February 04, 2011Report This Post
Expert
posted Hide Post
FYI, it looks like Carlos already has a case opened regarding this issue, and the case is currently in research mode.

Carlos, when you hear an update/solution from the case, can you please post here? Thank you in advance for sharing with all.

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     [CASE-OPENED] Define color for column in chart

Copyright © 1996-2020 Information Builders