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     Hi i Want To Increase my Pie Graph Legend Text Size

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Hi i Want To Increase my Pie Graph Legend Text Size
 Login/Join
 
Platinum Member
posted
Hi All,
i Want To Increase my Pie Graph Legend Text Size.i tried with Some API but it won't work
is there any API to increase the legend.PLease Give me the API.
Thanks,
Kalyan.S
 
Posts: 155 | Location: Bangalore. | Registered: January 24, 2006Report This Post
Virtuoso
posted Hide Post
-* The line below controls the size and location of the Legend rectangle
-* Play with one number at a time and make big changes so they're
-* obvious. It takes experimentation.
setRect(getLegendArea(),new Rectangle(-16000,-15000,32000,9000));

setFontSizeVC(getLegendText(0),1100);

You will have to play with these.


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Platinum Member
posted Hide Post
Hi, Prarie
This API is not Workinfg for me i tried with this one. give me an Example with Increased Legend Text Size.

Thanks,
Kalyan.S
 
Posts: 155 | Location: Bangalore. | Registered: January 24, 2006Report This Post
Virtuoso
posted Hide Post
I had that information from a Graphing Class IBI gave us. I do not have any Pie Chart examples...Perhaps someone out there can help...
What Version are you on?


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Silver Member
posted Hide Post
Having just started on some graphing work myself, I've found there are a lot of settings that go into determining the final output. Setting one of them with an API often isn't enough to accomplish exactly what you want.

Here are some lines of code that change the pie legend text to 7 points. This is just one way to do it and may not be the best. Of special interest is turning off the automatic layout manager in the first line.

setPlace(false);
setRect(getLegendArea(), new Rectangle(2500, -9500, 18000, 15000));
setFontSizeAbsolute(getLegendText(), true);
setFontSizeInPoints(getLegendText(), 7);
 
Posts: 41 | Registered: January 06, 2006Report This Post
Platinum Member
posted Hide Post
quote:
setPlace(false);
setRect(getLegendArea(), new Rectangle(2500, -9500, 18000, 15000));
setFontSizeAbsolute(getLegendText(), true);
setFontSizeInPoints(getLegendText(), 7);

Hi Thanks alot it's working Fine.

Thanks
Kalyan


Thanks,
Kalyan.S
------------------------------------
WebFOCUS 7.1.4, Win XP SP2,
Oracle8i.
------------------------------------
 
Posts: 155 | Location: Bangalore. | Registered: January 24, 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     Hi i Want To Increase my Pie Graph Legend Text Size

Copyright © 1996-2020 Information Builders