llms_get_donut( mixed $percentage, string $text = '', string $size = 'default', array $classes = array() )

Retrieve the HTML for a donut chart


Description Description

Note that this must be used in conjunction with some JS to initialize the chart!


Parameters Parameters

$percentage

(Required) Percentage to display

$text

(Optional) Text/caption to display (short). Default is empty string.

Default value: ''

$size

(Optional) Size of the chart (mini, small, default, large). Default is 'default'.

Default value: 'default'

$classes

(Optional) Additional custom css classes to add to the chart element. Default is empty array.

Default value: array()


Top ↑

Return Return

(string)


Top ↑

Source Source

File: includes/llms.functions.core.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.9.0
3.24.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.