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     Graph with 1 short warning line

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Graph with 1 short warning line
 Login/Join
 
Guru
posted
Currently I have a bar graph that has 2 numbers which add up 100%. I need to display a warning line at 40% but only acroos the first bar.

I've tried getReferenceLine but is shows a line across both bars. I've tried to create artifical column with the value 40, but only a dot appears since it has nothing to connect to.

Any ideas?

Fernando


Prod WF 8.1.04, QA WF 8.2.03, Dev WF 8.2.03
 
Posts: 278 | Registered: October 10, 2006Report This Post
Virtuoso
posted Hide Post
Fernando,

Here's a thought:

You could try putting each number on a seperate axis with a Bi-Polar Stacked Bar Chart and then put the reference line on the same axis as the bar you want it to mark.

setGraphType=(22);


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report This Post
Virtuoso
posted Hide Post
Here's a crude example.

GRAPH FILE CAR
SUM PCT.RCOST PCT.SALES
BY COUNTRY
ON GRAPH PCHOLD AS FPGRAPH FORMAT GIF
ON GRAPH SET LOOKGRAPH VBRSTK2S
ON GRAPH SET GRAPHSTYLE *
setPlace(false);
setRect(getChartBackground(),new Rectangle(-16050,-16150,32100,32300));
setFillColor(getChartBackground(),new Color(255,192,0));
setRect(getFrame(),new Rectangle(-12700,-13334,18550,25267));
setFillColor(getFrame(),new Color(255,255,255));
setFrameDisplay(true);
setLegendTextAutofit(true);
setTextJustHoriz(getLegendText(),0);
setLegendAutomatic(false);
setLegendDisplay(true);
setLegendMarkerPosition(0);
setRect(getLegendArea(),new Rectangle(6900,-6667,8650,13867));
setDepthRadius=(0);
setDepthAngle=(0);
setFontSizeAbsolute(false);

setDisplay(getReferenceLine(getY1Axis(),0),true);
setReferenceLine(getY1Axis(),0, 25);
setLineWidth(getReferenceLine(getY1Axis(),0),3);
setFillColor(getReferenceLine(getY1Axis(),0), new Color(255,255,0));

setDataScrollerPresenceGroups(1);
setDataTextDisplay(false);
setSeriesLooping(2);
setSeriesFillColor(0,new Color(0,68,0));
setSeriesFillColor(1,new Color(255,0,0));
setAxisAssignment(0,0);
setAxisAssignment(1,1);
ENDSTYLE
END


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report 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     Graph with 1 short warning line

Copyright © 1996-2020 Information Builders