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     control the space between the labels in the legend box,

Read-Only Read-Only Topic
Go
Search
Notify
Tools
control the space between the labels in the legend box,
 Login/Join
 
<NAG>
posted
Hi,
Iam using 7.1 version and iam working for Pie graphs.
I need to control the space between the labels in the legend box,
In some casses iam getting the space between labels is vary high in case of less number of lables(5)
Insome casses space is vary low if the number of labels are high(12)

here is the example iam trying to do
GRAPH FILE CAR
SUM WEIGHT AS ''
ACROSS CAR AS ''
-*WHERE RECORDLIMIT EQ 10
ON GRAPH SET LOOKGRAPH PIE
ON GRAPH SET GRAPHEDIT SERVER
ON GRAPH SET BARNUMB OFF
ON GRAPH SET 3D OFF
ON GRAPH SET VZERO ON
ON GRAPH SET GRID OFF
ON GRAPH SET VAXIS 300
ON GRAPH SET HAXIS 300
ON GRAPH PCHOLD FORMAT PNG
ON GRAPH SET GRAPHSTYLE *
setLegendMarkersPerRow(1);
setTextFormatPattern(getY1Label(),"#");
setLegendTextAutofit(false);
setLegendAutomatic(false);
setPlaceResize(getLegendArea(),false)
setRect(getLegendArea(), new Rectangle(2500, -9500, 9000, 21000));
setMarkerDisplay(false);
setConnectLineMarkers(false);
setConnectScatterMarkers(false);
setO1LabelDisplay(true);
setO1AxisSide(0);
setO1MajorGridDisplay(false);
setO1MinorGridDisplay(false);
setAxisAssignment(0,0);
setY1LabelDisplay(true);
setY1AxisSide(0);
setY1MajorGridDisplay(false);
setY1MinorGridDisplay(false);
setTextFormatPreset(getY1Label(),1);
setPieFeelerTextDisplay(2);
setPieLabelDisplay(1);
setTextFormatPreset(getPieSliceLabel(),2);
setLegendDisplay(true);
setTextJustHoriz(getLegendText(),0);
setFontSizeAbsolute(getLegendText(),true);
setFontSize(getLegendText(),10);
setFontSizeAbsolute(getY1Title(),true);
setFontSizeAbsolute(getY1Label(),true);
setFontSizeAbsolute(getY2Title(),true);
setFontSizeAbsolute(getY2Label(),true);
setFontSizeAbsolute(getO1Title(),true);
setFontName(getO1Label(),"Dialog");
setFontSizeAbsolute(getO1Label(),true);
setPlace(false);
ENDSTYLE

The space between Audi and BMW lables should controle according to the our requirement.

Thanks
Nag.
 
Report This Post
Virtuoso
posted Hide Post
did you register on the technical site form IBI?

if so you can download the file wf713graph.pdf it will show you a lot of details that will be very helpful for you.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 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     control the space between the labels in the legend box,

Copyright © 1996-2020 Information Builders