ChartDirector 5.1 (PHP Edition)

AngularMeter.setCap


Usage

setCap(radius, fillColor [, edgeColor ])

Description

Set the radius and color of the pointer cap.

The pointer cap is a circle at the center of the meter above the meter pointer. By default, it is a small circle 3 pixels in radius, so it looks like a "pivot" for the pointer for it to rotate about the center.

You may change the radius and colors of this circle using this method to achieve other visual effects.

Arguments

ArgumentDefaultDescription
radius(Mandatory)The radius of pointer cap circle in pixels.
fillColor(Mandatory)The fill color of the pointer cap circle.
edgeColorLineColorThe edge color of the pointer cap circle.

Return Value

None