<< Click to display table of contents >> TRVReportPieVisualizer |
TRVReportPieVisualizer visualizes numeric values by displaying pie slices (i.e. sectors of circle) having lengths of arcs proportional to these values.
Unit RVReportValueVisualizer;
Syntax
TRVReportPieVisualizer = class (TRVReportCustomValueVisualizer)
TObject TPersistent TCollectionItem |
This visualizer displays a pie diagram for each value. Each such diagram contains one slice having size of an arc proportional to the corresponding value.
Empty circle corresponds to MinValue, full circle corresponds to MaxValue. Values less than MinValue are displayed as MinValue, values greater than MaxValue are displayed as MaxValue.
Pie slices are filled with Color and Gradient. Circles around slices are drawn using LineColor and LineWidth. Gap is a difference between radii of these circles and of pies.
Sizes of pie slices can be changed either smoothly or by steps, depending on PartsCount property.
Size of these diagrams may be limited by MaxSize.
The example uses the following data:
20 |
46.7 |
73.3 |
100 |
Gradient = True, LineColor is lighter than Color by 1.3, LineWidth = 2, Gap = 4.