SetDrawDataBorders

SetDrawDataBorders — Enable or disable drawing of data borders on bar and stackedbar plots

Synopsis

$plot->SetDrawDataBorders($draw)

Description

SetDrawDataBorders enables or disables drawing of the data borders on bars and stackedbars plots. These are the borders around the individual bars or bar segments in the plot.

Parameters

$draw

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

Notes

By default, data borders are drawn for unshaded plots, and not drawn for shaded plots. (By default, bar and stackedbar plots are shaded. See SetShading.)

Use SetDataBorderColors to set the border colors.

History

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.