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.
hi, I have a chart that shows Part numbers on the X-Axis and Values on Y. Problem is that some of Part number has "comma" and that's why the Partnumber is showing incorrectly on the chart. Is there a way to to show "comma"?
ThanksThis message has been edited. Last edited by: <Emily McAllister>,
WebFOCUS 8202M
Posts: 167 | Location: Montreal | Registered: September 23, 2014
The original post mentions the problem is that the dimension column values contain commas and I think the issue is how to create the &COL variable which includes these column values.
&COL1 is created with the actual values. &COL2 is created by concatenating pre-existing variables containing single values. Both methods work. Please let us know if this is not what you're trying to do. I suspect you're trying method 2 - you need a lot of single quotes when playing with single quotes...
-SET &ECHO=ALL;
-SET &COL1 = ' ''FRANCE, TEST'' AND ''JAPAN, TEST'' AND ''ENGLAND, TEST'' AND ''W GERMANY, TEST'' AND ''ITALY, TEST'' ';
-SET &CN1 = 'FRANCE, TEST';
-SET &CN2 = 'JAPAN, TEST';
-SET &CN3 = 'ENGLAND, TEST';
-SET &CN4 = 'W GERMANY, TEST';
-SET &CN5 = 'ITALY, TEST';
-SET &COL2 = '''' | &CN1 | '''' | ' AND ' | '''' | &CN2 | '''' | ' AND ' | '''' | &CN3 | '''' | ' AND ' | '''' | &CN4 | '''' | ' AND ' | '''' | &CN5 | '''';
DEFINE FILE CAR
COUNTRY_TEST/A40=COUNTRY || ', TEST';
END
-RUN
ENGINE INT CACHE SET ON
-RUN
GRAPH FILE CAR
SUM DEALER_COST
ACROSS COUNTRY_TEST COLUMNS &COL2
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET UNITS PIXELS
ON GRAPH SET HAXIS 770
ON GRAPH SET VAXIS 405
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET LOOKGRAPH VLINE
ON GRAPH SET AUTOFIT ON
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setCurveFitEquationDisplay(false);
setPlace(true);
setUseSeriesShapes(true);
setMarkerSizeDefault(50);
*END
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
TYPE=REPORT, TITLETEXT='WebFOCUS Report', $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
*END
ENDSTYLE
END
-RUN
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server