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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
Line Graph
 Login/Join
 
Member
posted
I've a graph which is a combination of bar chart and the line chart . The lines that are getting displayed in the graph are starting from the center of the bar graph.Is there a way to make them start from the point where the bar charts?

Thanks in Advance


Lakshmi
WF 713 WinXP/IIS/Apache Self Service
 
Posts: 27 | Registered: February 17, 2007Report This Post
Virtuoso
posted Hide Post
Hello Lakshmi and welcome to Focal Point,
Could you post an example of your problem using the CAR file?
Also, please update your signature to show the version of WF you are using.


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Member
posted Hide Post
Thanks Danny!!

I'm herewith attaching the code.

-* File testfile.fex
GRAPH FILE CAR
SUM CAR.BODY.DEALER_COST CAR.BODY.RETAIL_COST CAR.SPECS.HEIGHT CAR.SPECS.WEIGHT
ACROSS CAR.COMP.CAR
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 ON
ON GRAPH PCHOLD FORMAT PNG
ON GRAPH SET GRAPHSTYLE *
setMarkerDisplay(true);
setConnectLineMarkers(true);
setConnectScatterMarkers(true);
setO1LabelDisplay(true);
setO1AxisSide(0);
setO1MajorGridDisplay(true);
setO1MajorGridStyle(0);
setO1MinorGridDisplay(false);
setAxisAssignment(0,0);
setAxisAssignment(1,0);
setSeriesType(1,2);
setAxisAssignment(2,0);
setSeriesType(2,2);
setAxisAssignment(3,0);
setSeriesType(3,2);
setY1LabelDisplay(true);
setY1AxisSide(0);
setY1MajorGridDisplay(true);
setY1MajorGridStyle(0);
setY1MinorGridDisplay(false);
setTextFormatPreset(getY1Label(),-1);
setTextFormatPattern(getY1Label(),"#.##");
setPieFeelerTextDisplay(1);
setPieLabelDisplay(0);
setTextFormatPreset(getPieSliceLabel(),1);
setRiserBorderMode(1);
setSeriesDefaultTransparentBorderColor(true);
setUseSeriesBorderDefaults(true);
setLegendDisplay(true);
setFontSizeAbsolute(getY1Title(),true);
setFontSizeAbsolute(getY1Label(),true);
setFontSizeAbsolute(getY2Title(),true);
setFontSizeAbsolute(getY2Label(),true);
setFontSizeAbsolute(getO1Title(),true);
setPlace(true);
ENDSTYLE
ON GRAPH SET STYLE *
PAGESIZE='Letter',
LEFTMARGIN=0.250000,
RIGHTMARGIN=0.250000,
TOPMARGIN=0.250000,
BOTTOMMARGIN=0.250000,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='TIMES NEW ROMAN',
SIZE=10,
BACKCOLOR='NONE',
STYLE=NORMAL,
$
TYPE=DATA,
ACROSSCOLUMN=N2,
COLOR='GREEN',
$
TYPE=DATA,
ACROSSCOLUMN=N3,
COLOR='BLUE',
$
ENDSTYLE
END



This graph has totally four series (Series 0 is a bar graph . Series 1-3 are lines) . I want these line series to start from where the bar starts.(currently it starts from the mid of bar graph).I'm using WF 7.1
 
Posts: 27 | Registered: February 17, 2007Report This Post
Virtuoso
posted Hide Post
Lakshmi,
If i understand you correctly you want the dots of the line graphs no to be set in the middle of the bar graph but to the side.
I looked at the Perspective Manual and I didn't find anything that would allow this. I suppose that it is because the graph is centerd over the x-axis values.
What you can do is make the bar narrower with the following command:
setRiserWidth(n);

where n is a value between 1 and 100
I hope this helps you.


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Gold member
posted Hide Post
If you go to the 'Properties' tab on the graph assitant. Under the 'Y Axis' tab there is a drop down to elect how you wish to treat Zeros: plotted ,as a gap, as a dotted line to 0, or as an interpolated doted line to 0.


WF 7703M, XP/Win7, MRE, RC, BID, PMF, HTML, PDF, Excel 2000/7/10
 
Posts: 73 | Location: NY | Registered: February 06, 2007Report This Post
Member
posted Hide Post
It's applicable for Zero Values alone right? i've values available for these....


Lakshmi
WF 713 WinXP/IIS/Apache Self Service
 
Posts: 27 | Registered: February 17, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders