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     White border around the outline of a graph

Read-Only Read-Only Topic
Go
Search
Notify
Tools
White border around the outline of a graph
 Login/Join
 
Platinum Member
posted
Hi,

We are trying to display a graph on a blue page
so far we managed to turn the background of graph itself into blue , but we are still left with a white border and we dont seem to be able to get rid of it

any suggestions ?


P.
 
Posts: 206 | Registered: February 25, 2005Report This Post
Platinum Member
posted Hide Post
here is an example

DEFINE FILE CAR
NSEATS/I5=IF COUNTRY EQ 'ENGLAND' THEN SEATS *(-1) ELSE SEATS;
ONELINE/I5=1;
END
GRAPH FILE CAR
SUM NSEATS ONELINE AS ''
ACROSS MODEL
ON GRAPH PCHOLD FORMAT GIF
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET GRAPHEDIT SERVER
ON GRAPH SET BARNUMB OFF
ON GRAPH SET 3D OFF
ON GRAPH SET VZERO ON
ON GRAPH SET GRID OFF
ON GRAPH SET GRAPHSTYLE *
setSeriesType(1,2);
setMarkerDisplay(false);
setSeriesFillColor(1, new Color(0,0,0));
setLineWidth(getSeries(1),.5);
setY1MinorGridDisplay(false);
setY1MajorGridStepAuto(false);
setY1MinorGridStepAuto(false);
setY1MajorGridStep(1.0);
setY1ScaleMinAuto(false);
setY1ScaleMaxAuto(false);
setScaleMin(getY1Axis(),-1);
setScaleMax(getY1Axis(),3);
setX1AxisLineDisplay(false);
setY1AxisLineDisplay(false);
setO1AxisLineDisplay(false);
setFrameDisplay(false);
setLegendDisplay(false);
setX1MajorGridDisplay(false);
setY1MajorGridDisplay(false);
setO1MajorGridDisplay(false);
ENDSTYLE
ON GRAPH SET STYLE *
PAGESIZE='Letter',
ORIENTATION=PORTRAIT,
BACKCOLOR=RGB(200 200 255),
$
TYPE=REPORT,
GRID=OFF,
FONT='TIMES NEW ROMAN',
SIZE=8,
BACKCOLOR=RGB(200 200 255),
STYLE=NORMAL,
$
ENDSTYLE
END

-HTMLFORM BEGIN

html>

HEAD>


style type="text/css">
body {background : RGB(200 200 255)}
style>
body>
FORM>
-HTMLFORM END
 
Posts: 206 | Registered: February 25, 2005Report This Post
<JG>
posted
Unfortunately There is no way to get around the one pixel wide border that the java graph API generates.
Although

setFillColor(getChartBackground(), new Color(245,175,224));
setFillColor(getFrame(), new Color(245,175,224));
will turn the graph to another color there is no API call that affects the chartedge.
The same happens for all of the available output formats.

This is wrong please see later post
 
Report This Post
Platinum Member
posted Hide Post
i thought so , but still i'm hoping for somekind of work around
 
Posts: 206 | Registered: February 25, 2005Report This Post
<JG>
posted
Sorry Pete I told a lie what you need is

setFillColor(getChartBackground(), new Color(200,200,255));
setBorderColor(getChartBackground(),new Color(200,200,255));
setFillColor(getFrame(), new Color(200 200 255));
 
Report This Post
Platinum Member
posted Hide Post
Thanks !!! it works like a charm !
 
Posts: 206 | Registered: February 25, 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     White border around the outline of a graph

Copyright © 1996-2020 Information Builders