Y1ZeroLineDisplay

This property enables or disables drawing of the zero line on the Y1-axis when zero is within the Y1 axis scale range.

Syntax:

setY1ZeroLineDisplay(boolean);
boolean = getY1ZeroLineDisplay();

where:

boolean

Can be one of the following:

true draw zero line on Y1-axis.

false does not draw zero line. This value is the default.

Example:

setDepthAngle(0);
   setY1ZeroLineDisplay(true);
setLegendDisplay(false);
setDepthRadius(0);

bar graph

setY1ZeroLineDisplay(false);

bar graph

Note: To increase the width of the zero line, use the getY1ZeroLine() method to get the object ID of the line and the setLineWidth() method to specify the width (in pixels) of the line.

See Y1MustIncludeZero, Y1ScaleMax, Y1ScaleMin, setLineWidth().


WebFOCUS