"holeFactor"

Defines the size of the hole of the charttypes Donut and DonutBars.

Synopsis

void shape.holeFactor(float factor)

Parameters

Parameters Descriptiom
factor factor in the range 0.0 .. 1.0

Description

A factor in the range 0.0 .. 1.0 which defines which percentage of the diameter of a chartType Donut or DonutBars is used as the innermost hole. This value can be used to create ring shaped charts instead of pie shaped charts (set this to 0.0 for a pie chart).

Example

In the following example, the "holeFactor" was set to 0.7. This creates an annular chart.

Figure 1. Donut-chart with "holeFactor" at 0.7

In the following example, the "holeFactor" was set to 0.0. This creates a pie chart.

Figure 2. Donut-chart with "holeFactor" at 0.0

Assignment

Chart.ewo