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     Graph Legend Border Problems

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Graph Legend Border Problems
 Login/Join
 
Platinum Member
posted
I have searched through the archives and can't seem to find an answer to my question so here it goes...

I have a graph with a legend...surprise...I have no problems with the legend placement or data, I went to add a border to the legend and it overlaps the details. Is there a way to enlarge the legend area so this does not occur. I am somewhat surprised that this is happening.

I will attach an image of the problem..

Thanks


WebFOCUS 8201M/Windows Platform
 
Posts: 109 | Registered: October 31, 2006Report This Post
Gold member
posted Hide Post
Hi,

Have you tried setLegendTextAutosize(true); or
setLegendTextAutofit(true); ? Would you also post the code creating the graph, please.

Regards,
Mika


WebFOCUS 7.6.x
PMF 5.2.x
 
Posts: 58 | Location: Sydney, Australia | Registered: April 22, 2005Report This Post
Platinum Member
posted Hide Post
Here is the code for the creation of the graph...

  
ON GRAPH SET GRAPHSTYLE *
setReportParsingErrors(false);
setSelectionEnableMove(false);
setTextWrap(getO2Title(),true);
setTextWrap(getO2Label(),true);
setPlaceWordWrap(getO2Title(),0);
setPlaceWordWrap(getO2Label(),0);
setMarkerDisplay(false);
setConnectLineMarkers(true);
setConnectScatterMarkers(true);
setO1LabelDisplay(true);
setO1AxisSide(0);
setO1MajorGridDisplay(true);
setO1MajorGridStyle(0);
setO1MinorGridDisplay(false);
setAxisAssignment(0,0);
setAxisAssignment(1,0);
setAxisAssignment(2,0);
setAxisAssignment(3,0);
setAxisAssignment(4,0);
setAxisAssignment(5,0);
setAxisAssignment(6,0);
setAxisAssignment(7,0);
setAxisAssignment(8,0);
setAxisAssignment(9,0);
setAxisAssignment(10,0);
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);
setTextJustHoriz(getY1Title(),1);
setFontSizeAbsolute(getY1Title(),true);
setFontSize(getY1Title(),12);
setTextRotation(getY1Title(),1);
setTextWrap(getY1Title(),true);
setTextJustHoriz(getY1Label(),2);
setFontSizeAbsolute(getY1Label(),true);
setFontSize(getY1Label(),8);
setTextRotation(getY1Label(),0);
setTextWrap(getY1Label(),true);
setFontSizeAbsolute(getY2Title(),true);
setFontSizeAbsolute(getY2Label(),true);
setTextJustHoriz(getO1Title(),1);
setFontSize(getO1Title(),12);
setTextRotation(getO1Title(),0);
setTextWrap(getO1Title(),true);
setTextJustHoriz(getO1Label(),1);
setFontSizeAbsolute(getO1Label(),true);
setFontSize(getO1Label(),8);
setTextWrap(getO1Label(),true);
setPlaceRotate(getY1Title(),0);
setPlaceWordWrap(getY1Title(),0);
setPlaceResize(getY1Label(),0);
setPlaceRotate(getY1Label(),0);
setPlaceAlign(getY1Label(),0);
setPlaceWordWrap(getY1Label(),0);
setPlaceResize(getO1Title(),0);
setPlaceRotate(getO1Title(),0);
setPlaceAlign(getO1Title(),0);
setPlaceWordWrap(getO1Title(),0);
setPlaceRotate(getO1Label(),0);
setPlaceWordWrap(getO1Label(),0);
setPlace(true);
setMarkerShape(getLegendLabelMarker(0),2);
setTopInset(getBeveledRiser(),100);
setBottomInset(getBeveledRiser(),100);
setLeftInset(getBeveledRiser(),100);
setRightInset(getBeveledRiser(),100);
setTextWrap(getCurveFitEquationText(),false);
setLineWidth(getSeries(0),2);
setLineWidth(getSeries(1),2);
setLineWidth(getSeries(2),2);
setLineWidth(getSeries(3),2);
setLineWidth(getSeries(4),2);
setLineWidth(getSeries(5),2);
setLineWidth(getSeries(6),2);
setLineWidth(getSeries(7),2);
setLineWidth(getSeries(8),2);
setLineWidth(getSeries(9),2);
setLineWidth(getSeries(10),2);
setLineWidth(getSeries(11),2);
setLineWidth(getSeries(12),2);
setLineWidth(getSeries(13),2);
setLineWidth(getSeries(14),2);
setLineWidth(getSeries(15),2);
setLegendOrient(2);
setLegendMarkerSizeMax(1000);
setSquareMarkers(true);
setTextRotation(getO1Label(),0);
setPlaceAlign(getO1Label(),0);
setPlaceResize(getO1Label(),1);
setLabelStagger(getO1Label(),true);
setTextString(getY1Title(),"Number of Seniors");
setDisplay(getY1Title(),true);

setLegendPosition(5);
setTransparentBorderColor(getLegendArea(),false);
setBorderColor(getLegendArea(),new Color(110,110,110));
setPlaceResize(getLegendArea(),true);
setLegendTextAutofit(true); 
setLegendTextAutosize(true); 

setTextAntialiasing(false);
setPrimitiveAntialiasing(false);
setPlaceResize(getY1Title(),1);
setPlaceAlign(getY1Title(),1);
setDisplay(getO1MajorGrid(),true);
setGridStyle(getO1MajorGrid(),3);
setTextString(getO1Title()," ");
setDisplay(getO1Title(),true);
setFontSizeAbsolute(getO1Title(),true);
setFontSizeInPoints(getO1Title(),6);
setFillColor(getSeries(1),new Color(128,0,128));
setFillColor(getSeries(2),new Color(255,254,147));
setFillColor(getSeries(3),new Color(159,252,255));
setFillColor(getSeries(4),new Color(65,0,106));
setFillColor(getSeries(5),new Color(255,99,99));
setFillColor(getSeries(6),new Color(9,0,133));
setFillColor(getSeries(7),new Color(0,128,255));
setFillColor(getSeries(8),new Color(255,255,0));
setFillColor(getSeries(9),new Color(255,128,128));
setFillColor(getSeries(10),new Color(0,0,128));
setBorderColor(getY1MajorGrid(),new Color(192,192,192));
setTextFormatPattern(getY1Label(),"###,###");
setFontStyle(getY1Title(),0);
setFontStyle(getO1Title(),0);
setBorderColor(getChartBackground(),new Color(110,110,110));
setUseSeriesBorderDefaults(false);
ENDSTYLE


WebFOCUS 8201M/Windows Platform
 
Posts: 109 | Registered: October 31, 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     Graph Legend Border Problems

Copyright © 1996-2020 Information Builders