llms_sd_dashboard_donut_widget( string $title, float $perc, string $text = '', string $size = 'medium' )
Displays a donut chart widget
Parameters Parameters
- $title
-
(string) (Required) Title of the widget.
- $perc
-
(float) (Required) donut chart percentage.
- $text
-
(string) (Optional) Text to display within the donut.
Default value: ''
- $size
-
(string) (Optional) Size of the chart.
Default value: 'medium'
Return Return
(void)
Source Source
File: includes/functions/llms.functions.templates.dashboard.widgets.php
function llms_sd_dashboard_donut_widget( $title, $perc, $text = '', $size = 'medium' ) { llms_sd_dashboard_widget( $title, llms_get_donut( $perc, $text, $size ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.24.0 | Introduced. |