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     HELP!!!! X-axis data titles concatenating!

Read-Only Read-Only Topic
Go
Search
Notify
Tools
HELP!!!! X-axis data titles concatenating!
 Login/Join
 
Silver Member
posted
I created a simple bar graph, but the X-axis data titles are concatenating. For example, the first bar of data is for Abcdefg, the 2nd bar of data is for xyz. On the x-axis the data label for xyz is showing as xyzdefg. Here's my code if you would like to take a look.

GRAPH FILE VW_3UMAR
SUM ANNUALIZEDALOSPER1000 BENCHMARKALOS
ACROSS ADMISSIONTYPE AS ''
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET GRAPHEDIT SERVER
ON GRAPH SET BARNUMB OFF
ON GRAPH SET 3D ON
ON GRAPH SET VZERO ON
ON GRAPH SET GRID ON
ON GRAPH SET VAXIS 2.500
ON GRAPH SET HAXIS 3.000
ON GRAPH SET UNITS INCHES
ON GRAPH HOLD AS UMAR3 FORMAT SVG
ON GRAPH SET GRAPHSTYLE *
setLegendPosition(1);
setRect(getFrame(), new Rectangle(-8000, -4700, 22000, 18000));
setY1TitleString("ALOS per 1000");
setMarkerDisplay(true);
setConnectLineMarkers(false);
setConnectScatterMarkers(false);
setO1LabelDisplay(true);
setO1AxisSide(0);
setO1MajorGridDisplay(true);
setO1MajorGridStyle(3);
setO1MinorGridDisplay(false);
setAxisAssignment(0,0);
setSeriesType(0,1);
setAxisAssignment(1,0);
setSeriesType(1,1);
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(false);
setTitleString("Benchmark Comparison");
setTextJustHoriz(getTitle(),1);
setFontSizeAbsolute(getTitle(),true);
setFontStyle(getTitle(),0);
setFontSizeAbsolute(getLegendText(),true);
setFontSize(getLegendText(),10);
setFontSizeAbsolute(getY1Title(),true);
setFontStyle(getY1Title(),0);
setFontSizeAbsolute(getY1Label(),true);
setFontSize(getY1Label(),10);
setFontSizeAbsolute(getY2Title(),true);
setFontSizeAbsolute(getY2Label(),true);
setFontSizeAbsolute(getO1Title(),true);
setFontSize(getO1Title(),15);
setFontStyle(getO1Title(),6);
setTextJustHoriz(getO1Label(),2);
setFontSizeAbsolute(getO1Label(),true);
setFontSize(getO1Label(),8);
setTextRotation(getO1Label(),3);
setTextWrap(getO1Label(),true);
setPlace(false);
ENDSTYLE
ON GRAPH SET STYLE *
     PAGESIZE='Letter',
     LEFTMARGIN=0.250000,
     RIGHTMARGIN=0.250000,
     TOPMARGIN=0.250000,
     BOTTOMMARGIN=0.250000,
     SQUEEZE=ON,
     ORIENTATION=PORTRAIT,
     TITLETEXT='Benchmark Comparison',
$
TYPE=REPORT,
     GRID=OFF,
     FONT='TIMES NEW ROMAN',
     SIZE=10,
     BACKCOLOR='NONE',
     STYLE=NORMAL,
$
TYPE=DATA,
     ACROSSCOLUMN=N1,
     COLOR=RGB(169 233 254),
$
TYPE=DATA,
     ACROSSCOLUMN=N2,
     COLOR=RGB(205 238 162),
$
ENDSTYLE
END


Thanks!


WebFOCUS 7.1.4
WIN XP/SP2
 
Posts: 37 | Location: Baltimore, MD, USA | Registered: September 06, 2006Report This Post
Expert
posted Hide Post
Not sure if this helps or works, but try rotating the label:

X1LabelRotate

This property can be used to rotate labels on the X-axis.

Syntax:

setX1LabelRotate(value);

where:

value
Can be one of the following:
0 for no text rotation. 0 is the default value.
1 to rotate text 90 degrees (reads top to bottom).
2 to rotate text 270 degrees (reads bottom to top).
3 to rotate text 45 degrees.


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Silver Member
posted Hide Post
Thanks for the response Francis. I do have the labels set to 45 degrees... IB support finally figured out what I was doing wrong. WebFocus has an known issue with variable length fields and causes this issue of data labels bleeding into the next data label. I was informed that the recommended work around was to set this field equal to a defined field that is non-variable length. This worked!

thanks!
trying


Thanks!


WebFOCUS 7.1.4
WIN XP/SP2
 
Posts: 37 | Location: Baltimore, MD, USA | Registered: September 06, 2006Report 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     HELP!!!! X-axis data titles concatenating!

Copyright © 1996-2020 Information Builders