Quick Tip: The Best Way to Customize a Graph
By Laura Drezek
Want to customize a graph? The best way to do this using additional API calls is to follow these basic steps.
If you have access to WebFOCUS Developers Studio:
| 1. |
Create a graph and open the Graph Editor, which will code the API calls into the request. |
If no Developer Studio is available, start with a basic graph and add some styling to the areas you wish to customize using the the assistant tool.
| 2. |
Open the code in an editor to view what calls were added to the code. |
| 3. |
Look up the calls in the “Perspective for Java™” PDF file located on the documentation CD. |
| 4. |
For each property and method, there is an “Also See” section. This is a good way to find other API calls that might help jazz up the graph. |
An Example
For the Property, DataTextFormat Pattern, the “Also See” section contains many other calls to customize a particular element.
ALSO SEE: DataTextAngleDefault,
DataTextRadiusDefault,
DataTextDisplay,
DataTextFormat, DataTextPosition,
PieFeelerTextFormat,
PieFeelerTextFormatPattern,
PieRingTotalFormat,
PieRingTotalFormatPattern
What’s Coming?
In the coming releases the graph tool will be enhanced to include all the API calls. This will enable all users to customize the graph without going into an editor.
Until then, following these steps will help you find new calls to further style your graph and help you navigate among the “Perspective for Java” documentation.
Java and all Java-based marks are trademarks of Sun Microsystems, Inc. in the U.S. and other countries.

|