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.

New TIBCO Community Coming Soon
In early summer, TIBCO plans to launch a new community—with a new user experience, enhanced search, and expanded capabilities for member engagement with answers and discussions! In advance of that, the current myibi community will be retired on April 30. We will continue to provide updates here on both the retirement of myibi and the new community launch.

What You Need to Know about Our New Community
We value the wealth of knowledge and engagement shared by community members and hope the new community will continue cultivating networking, knowledge sharing, and discussion.

During the transition period, from April 20th until the new community is launched this summer, myibi users should access the TIBCO WebFOCUS page to engage.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] GRAPH FIELD TITLE STYLE

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] GRAPH FIELD TITLE STYLE
 Login/Join
 
Platinum Member
posted
I am trying to get the SALES title in the code below to be a different font and colour. The equivalent code below in a TABLE FILE works fine but not for GRAPH - any suggestions ?
I am sure it's something simple !!

SET PIE=ON
GRAPH FILE CAR
SUM SALES AS 'COUNTRY SALES'
BY COUNTRY
ON GRAPH SET STYLE *
$
TYPE=TITLE,
COLUMN=SALES,
FONT='VERDANA',
COLOR='RED',
$
ENDSTYLE
END
-RUN

This message has been edited. Last edited by: <Kathryn Henning>,


_______________________
*** WebFOCUS 8.1.05M ***
 
Posts: 196 | Location: London, UK | Registered: December 06, 2005Report This Post
Virtuoso
posted Hide Post
Ian
Is this what you want?
SET PIE=ON
GRAPH FILE CAR
SUM SALES AS 'COUNTRY SALES'
BY COUNTRY
ON GRAPH SET GRAPHSTYLE *
setFontName(getLegendText(),"Verdana");
setFillColor(getLegendText(),new Color(255,0,0));
ENDSTYLE
END


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report This Post
Platinum Member
posted Hide Post
Close Alan.
What your suggestion does is make the legend red. I want the title 'COUNTRY SALES' to be in red and a specific font.
Many thnaks,
Ian


_______________________
*** WebFOCUS 8.1.05M ***
 
Posts: 196 | Location: London, UK | Registered: December 06, 2005Report This Post
Virtuoso
posted Hide Post
Ah, ok.
SET PIE=ON
GRAPH FILE CAR
SUM SALES AS 'COUNTRY SALES'
BY COUNTRY
ON GRAPH SET GRAPHSTYLE *
setFontName(getPieLabel(),"Verdana");
setFillColor(getPieLabel(),new Color(255,0,0));
ENDSTYLE
END


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report This Post
Platinum Member
posted Hide Post
Nice one Alan - works a treat.


_______________________
*** WebFOCUS 8.1.05M ***
 
Posts: 196 | Location: London, UK | Registered: December 06, 2005Report 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] GRAPH FIELD TITLE STYLE

Copyright © 1996-2020 Information Builders