AxisTextAutofitMode

This property selects the mode in which AxisTextAutofitMin, AxisTextAutofitMax, and AxisTextAutofitPercent properties are used.

Note: If this property is used, set GRAPHENGINE to OLD.

Syntax:

setAxisTextAutofitMode(value); 
value = getAxisTextAutofitMode();

where:

value

Can be one of the following:

0 for normal autofit behavior, within the limits of AxisTextAutofitMin and AxisTextAutofitMax. 0 is the default value.

1 for all Axis text matches the Axis with the smallest font size as determined by Autofit.

2 for all Axis text is maintained within "X percent" of the Axis with the smallest font size as determined by Autofit.

Example:

setViewableSeries(3);
setAxisTextAutofitMin(200);
setAxisTextAutofitMax(25000);
setY1LabelAutofit(true);
setDataScrollerPresenceGroups(0);
setViewableGroups(3);
setDepthRadius(0); 
 setAxisTextAutofitMode(0);

bar graph

setAxisTextAutofitMode(1);

bar graph

setAxisTextAutofitMode(2);

bar graph

See AxisTextAutofitMin, AxisTextAutofitMax, and AxisTextAutofitPercent.


WebFOCUS