You can use these properties and methods to control
automatic fitting of text objects in a graph:
- AxisTextAutofitMax
( value ); This property defines the maximum size of axis text in
virtual coordinates.
- AxisTextAutofitMin
( value ); This property defines the minimum size of axis text in virtual
coordinates.
- AxisTextAutofitMode
( 0...2 ); This property defines the mode to be used for autofitting
axis text.
- AxisTextAutofitPercent
( 0...100% ); When AxisTextAutofitMode is set to 2, this property
defines the percent to be used for autofitting axis text. All axis
text is maintained within AxisTextAutofitPercent of the axis with
the smallest font size as determined by Autofit.
- FootnoteAutofit
(true/false); This property enables (true)/disables (false) automatic
fitting of the graph footnote text string. True is the default value.
- get/setAutofit();
These methods get/set the auto-fitting attribute of an object in
a graph.
- O1/O2/X1/Y1/Y2LabelAutofit
(true/false); These properties automatically fit/size all text labels
on an axis.
- O1/O2/X1/Y1/Y2TitleAutofit
(true/false); These properties automatically fit/size the title
on an axis.
- SubtitleAutofit
(true/false); This property enables (true)/disables (false) auto-fitting of
the graph subtitle string.
- TextAutofitMax/TextAutofitMin(Integer);
These properties specify the maximum and minimum font size (in virtual
coordinates) that can be used by the graphing engine to automatically
fit and size label and title objects within their bounding box.
- TitleAutofit
(true/false); This property enables (true)/disables (false) auto-fitting
of the graph title string.
- LegendTextAutofit
(true/false); This property enables (true)/disables (false) auto-fitting
of the legend text. True is the default value.