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 David, Any updates about the issue? I am facing the same issue in 8.1.05.
I tried with setRepositionDataTextCollision(4); setRepositionStackedDataTextCollision(true); but it doesn't seems to work for me . I am using JSCHART. Any suggestions/ideas?
GRAPH FILE GGSALES
SUM
COMPUTE A1/D12.2 = UNITS/100000;
COMPUTE A2/D12.2 = DOLLARS/100000;
COMPUTE A3/D12.2 = BUDUNITS/100000;
COMPUTE A4/D12.2 = BUDDOLLARS/100000;
BY REGION NOPRINT
BY ST
-*ACROSS MYXAXIS
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET VZERO OFF
ON GRAPH SET HAXIS 600
ON GRAPH SET VAXIS 350
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH VLINE2
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 2
ON GRAPH SET STYLE *
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
*GRAPH_SCRIPT
setTemplateFile("/images/tdg/template/IBIDefault.txt");
setReportParsingErrors(false);
setSelectionEnableMove(false);
setY1MustIncludeZero(false);
setTransparentBorderColor(getSeries(0),true);
setTransparentBorderColor(getSeries(1),true);
setTransparentBorderColor(getSeries(2),true);
setTransparentBorderColor(getSeries(3),true);
setDepthRadius(0);
setUseSeriesShapes(true);
setMarkerSizeDefault(35);
setTransparentBorderColor(getChartBackground(),true);
setDisplay(getY2Label(),false);
setLabelStagger(getY2Label(),true);
setAxisAssignment(getSeries(1),0);
setGradientDirection(getSeries(0),9);
setDisplay(getLegendArea(),true);
setFontSizeAbsolute(getLegendText(),true);
setFontSizeInPoints(getLegendText(),8);
setFontSizeInPoints(getDataText(), 8);
setFontSizeInPoints(getO1Label(), 8);
setPlaceResize(getLegendText(),0);
setPlaceResize(getO1Label(), 0);
setPlaceResize(getDataText(), 0);
setDataLineThickness(1);
setTextFormatPattern(getY1Label(),"#.#%");
setTextFormatPreset(getY1Label(),-2);
setDisplay(getTitle(),true);
setFillMissingData(1);
-*setDataTextPosition(6);
setTextString(getTitle(),"Tier 1");
setMarkerSize(getSeries(0),42);
setMarkerSize(getSeries(1),42);
setMarkerSize(getSeries(2),42);
setMarkerSize(getSeries(3),42);
setMarkerShape(getSeries(0),5)
setLineWidth(getSeries(0),2);
setLineWidth(getSeries(1),2);;
setGridStyle(getO1MajorGrid(),4);
setGridStyle(getY1MajorGrid(),4);
setFillColor(getSeries(1),new Color(255,0,0));
setFillColor(getSeries(3),new Color(255,128,64));
setFillColor(getSeries(2),new Color(0,128,0));
setTransparentBorderColor(getLegendArea(),false);
setSeriesLineWidthDefault(4);
setFontStyle(getDataText(),0);
setDisplay(getO1MajorGrid(),false);
setDisplay(getY1MajorGrid(),false);
setDisplay(getDataText(0),true);
setDisplay(getDataText(1),true);
setDisplay(getDataText(2),true);
setDisplay(getDataText(3),true);
setDisplay(getDataText(4),true);
setDisplay(getDataText(5),true);
setRemoveDuplicateDataText(true);
-*setSeriesAreRows(false);
-*setForceSeriesAbsolute(getSeries(1),true);
-*setForceSeriesAbsolute(getSeries(2),true);
-*setPlace(true);
-*setRepositionStackedDataTextCollision(true);
-*setRepositionDataTextCollision(4);
-*setRepositionStackedDataTextCollision(true);
setPlace(false);
setRepositionDataTextCollision(4);
setRepositionStackedDataTextCollision(true);
*END
*END
*GRAPH_JS
dataLabels:{visible: true, formatCallback: function(v, s, g, data){
if (v.value < 30) {
return v.value;
} else {
return v.value;
}
}},
series: [
{series: 'all', showDataValues: true},
]
*END
ENDSTYLE
END
Thank you, Arunkumar. RThis message has been edited. Last edited by: Arunkumar,