Closed michael-milette closed 1 year ago
Done. This feature is included in FilterCodes 2.3.7 and later. Here are some examples of what you can do with it:
{chart progresspie 80 --title:This is the caption}
{chart progresspie 10--color:red}
{chart progresspie 20}
{chart progresspie 40 --color:darkblue --size:80px --border:5px}
{chart progresspie 60 --color:purple --border:15px --bgcolor:yellow}
{chart progresspie 80 --color:orange --bgcolor:red}
{chart progresspie 90 --color:green --bgcolor:transparent}
{chart progresspie {coursegradepercent} --size:100px --border:15px --color:darkblue --bgcolor:lightblue --title:Are you over 70% yet?}
You can either use color names (see https://htmlcolorcodes.com/color-names/) or RGB values like #FF0000 instead of red.
Prerequisites
Feature Request - The User Story
I would like to be able to display a circular/doughnut graph that displays a given percentage.
Screenshots / Mock-ups
Alterative you have considered
{chart radial} tag.
Additional information
No response
Planning on submitting a solution in a pull request (PR)?
Yes
Code of Conduct