SetDrawXDataLabelLines

SetDrawXDataLabelLines — Draw data lines

Synopsis

$plot->SetDrawXDataLabelLines($dxdl)
    

Description

SetDrawXDataLabelLines enables drawing of data label lines from the X axis up to the data point. To use data label lines, you generally want to turn off ticks, tick labels, and X grid.

Parameters

$dxdl

True to draw the data label lines, False to not draw the lines.

Notes

Data label lines only work with these plot types: lines, points, linepoints, and thinbarline. Data label lines don't work with these plot types: pie, area, squared, bars, and stackedbars, because the data label line would be covered or obscured by the data.

By default, data label lines are not drawn.