SetDrawDataBorders

SetDrawDataBorders — Enable or disable drawing of data borders

Synopsis

$plot->SetDrawDataBorders($draw)

Description

SetDrawDataBorders enables or disables drawing of the data borders on supported plot types. For plot types bars and stackedbars, these are the borders around the individual bars or bar segments in the plot. For plot types area, squaredarea, stackedarea, and stackedsquaredarea, these are outlines of the filled areas.

Parameters

$draw

True to draw the data borders, False to not draw them.

Notes

By default, data borders are drawn for unshaded bars and stackedbars plots, and not drawn if shading is on. (By default, shading is on for these plot types. See SetShading.)

By default, data borders are not drawn for area, squaredarea, stackedarea, or stackedsquaredarea plot types.

Use SetDataBorderColors to set the border colors.

For pie charts, see SetDrawPieBorders.

History

Starting with PHPlot-6.2.0, data borders are available with area and stackedarea plot types, and with the new squaredarea and stackedsquaredarea plot types.

This function was added in PHPlot-6.0.0. In prior versions, borders were always drawn for unshaded bar and stacked bar plots, and never drawn for shaded plots.

SourceForge.net Logo

This version of the manual was produced for the PHPlot Sourceforge project web service site, which requires the logo on each page.

To download a logo-free copy of the manual, see the PHPlot project downloads area.