TRVReportColoredShapeVisualizer visualizes numeric values by applying color and rotation to a shape.
TRVReportColoredShapeVisualizer = class (TRVReportCustomShapeVisualizer)
The shape is defined in ShapeProperties.
A color and a rotation angle of this shape depend on the visualized value. The visualizer searches in ConditionalShapeProperties for the item corresponding to the visualized value. If none of the items corresponds to the visualized value (it may happen for low values), the default color and rotation angle is used.
Shape size may be limited by MaxSize.
By default, the shape is inscribed in a square. You can stretch it by changing ShapeScaleX.
Example 1: ShapeProperties.Shape = rvrshArrow1, ShapeProperties.StartAngle = 180, angles in ConditionalShapeProperties are from -60 to -180 (so arrows are rotated by 180°, 120°, 60°, 0°), Gradient = False
Example 2: The same settings, Gradient = True
Note: in all these examples, a visualized value is increased from left to right. The leftmost shape is drawn using Color and ShapeProperties.StartAngle. Colors and rotations of other shapes are defined in ConditionalShapeProperties