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     [SOLVED] Bar Graph - Remove Axis Line

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Bar Graph - Remove Axis Line
 Login/Join
 
Platinum Member
posted
Hello, I am working on a bar graph. Below is the sample with CAR file. I am trying to remove the line that graph is standing on. I just want to display the bar. Can anyone suggest how to remove that line? Changing the line color to background color may or may not work. So, I am trying to hide the line completely.Thank you.
ENGINE INT CACHE SET ON
SET PAGE-NUM=NOLEAD
SET ARGRAPHENGINE=JSCHART
SET EMBEDHEADING=ON
SET GRAPHDEFAULT=OFF
GRAPH FILE CAR
SUM
	DEALER_COST
	RETAIL_COST
ON GRAPH PCHOLD FORMAT PDF
ON GRAPH SET VZERO OFF
ON GRAPH SET GRWIDTH 1
ON GRAPH SET UNITS PIXELS
ON GRAPH SET HAXIS 100
ON GRAPH SET VAXIS 400
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET LOOKGRAPH BAR
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setCurveFitEquationDisplay(false);
setReportParsingErrors(false);
setSelectionEnableMove(false);
setRiserWidth(30);
*END
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/ibi_themes/Warm.sty,$
TYPE=DATA, COLUMN=N1, BUCKET=y-axis, $
TYPE=DATA, COLUMN=N2, BUCKET=y-axis, $
*GRAPH_SCRIPT
setDisplay(getO1Title(),false);
setDisplay(getO1Label(),false);
setDisplay(getLegendArea(),false);
setDisplay(getY1Label(),false);
setDisplay(getY1AxisLine(),false);
setDisplay(getY1MajorTick(),false);
setDisplay(getO1AxisLine(),false);
setDisplay(getO1MajorTick(),false);
setDisplay(getX1AxisLine(),false);
setDisplay(getX1MajorTick(),false);
*END
*GRAPH_JS_FINAL
"blaProperties": {
    "seriesLayout": "stacked"
},
"agnosticSettings": {
    "chartTypeFullName": "Bar_Stacked"
}
*END
ENDSTYLE
END  

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


WebFOCUS 8206
All formats
 
Posts: 95 | Registered: September 13, 2017Report This Post
Virtuoso
posted Hide Post
Using your code it result in a blank page

Using UI it end up with this line of code to remove the x-axis line (work with JSCHART, PDF may be another game...)
setDisplay(getY1ZeroLine(),false);


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Platinum Member
posted Hide Post
Thanks Martin. This worked.
quote:
Originally posted by MartinY:
Using your code it result in a blank page

Using UI it end up with this line of code to remove the x-axis line (work with JSCHART, PDF may be another game...)
setDisplay(getY1ZeroLine(),false);


WebFOCUS 8206
All formats
 
Posts: 95 | Registered: September 13, 2017Report 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] Bar Graph - Remove Axis Line

Copyright © 1996-2020 Information Builders