Y1LabelAutofit

This property enables or disables automatic sizing of Y1-axis labels.

Syntax:

setY1LabelAutofit(boolean);
boolean = getY1LabelAutofit();

where:

boolean

Can be one of the following:

true automatically sizes or fits Y1-axis labels using the boundaries set by TextAutofitMax and TextAutofitMin. Values set by setFontSize() or setFontSizeVC() for the Y1-axis labels will be ignored.

false allows Y1-axis labels to be any size. The font size can be set to any value, allowing very large font sizes to overlap other objects in the graph. Use setFontSize() or setFontSizeVC() to set the size of the font for the Y1-axis labels. This value is the default.

Example:

setY1TitleDisplay(true);
setLegendDisplay(false);
setY1TitleString("Y1 AXIS");
setY1TitleAutofit(false);  setY1LabelAutofit(false);
setFontSizeVC(getY1Title(),3000);
setFontSizeVC(getY1Label(),3000);
setDepthRadius(0);
setDepthAngle(0);

bar graph

See Y1LabelDisplay, Y1LabelFormat, Y1LabelFormatPattern, Y1LabelRotate, Y1LabelStagger, setFontSize(), setFontSizeVC().


WebFOCUS