“Circular Meter” Component
A circular meter is a configurable widget that we can use to display statistics in a human-friendly way. It consists mainly of a circular dial (or progress) representing a percentile, or part-to-whole relationship.
A Label
36%
This is a description of this information.
Usage
@include('components.charts.circularMeter', [
'percentage' => 36,
'label' => 'A Label',
'description' => 'This is a description of this information.',
])
Props
-
percentage (required)int
Percentage value.
-
displayValueint
If specified, will be used instead of $percentValue as display value.
-
labelstring
Label for the meter.
-
unitsstring
A string representing the display units i.e. "%", "lbs.", "Kms".
-
descriptionstring
Description of meter.
-
sizestring
Size of circular meter, other option: "small".
Default Value:
default
-
thresholdsarray<int, int>
Thresholds for deciding whether percentage will be red, orange or green.
Default Value:
[50, 75]