SetShading
Prev | PHPlot Function Reference | Next

## SetShading

SetShading — Set the size of the drop shadow for bar and pie charts.

## Synopsis

    $plot->SetShading($s)

## Description

`SetShading` sets the size in pixels of the drop shadow used to give bar and pie charts a 3-D look. The 3-D look can be disabled by setting the shading to zero.

## Parameters

`$s`

  Desired shading size in pixels. If this is set to 0, pie charts are flat (not rotated away from the screen) with no shadow, and bars in bar charts and stackedbar charts are drawn as rectangles without drop shadows.

## Notes

The default is shading enabled with a size of 5 pixels.

If shading is turned off for bar and stackedbar charts, the bars will be drawn with borders. The color of the borders is set with SetDataBorderColors.

Prev | Up | Next
SetRGBArray | Home | SetSkipBottomTick