SetLabelScalePosition
Prev | PHPlot Function Reference | Next

## SetLabelScalePosition

SetLabelScalePosition — Position pie-chart percentage labels

## Synopsis

    $plot->SetLabelScalePosition($blp)

## Description

`SetLabelScalePosition` adjusts the position of the pie chart data labels which show the percentage values of the slices.

## Parameters

`$blp`

  Position factor for pie chart labels. This is a floating point number between 0 and 1.0. The initial value is 0.5, which places the labels outside the circumference of the pie. Smaller values move the labels in to the center, and larger values move them out from the center.

## Notes

This affects pie charts only. The maximum value is 1.0 but as that value is approached the labels will move off the page. The minimum value is 0 which makes the labels pile up in the center of the pie.

The labels always display percentages. If you want to display numeric data for each slice, try putting it in the legend with SetLegend.

Prev | Up | Next
SetLabelColor | Home | SetLegend