Pie Chart
Last updated
Last updated
This widget function displays a pie chart whenever you call it.
The function accepts 3 parameters that are illustrated below
Chart Title- This is the title of the chart
Chart Data- sql query, the query needs to have 2 fields to be used that is: label and value
Chart Size= This is a bootstrap class for chart size, default is col-md-12
In the above chart I have passed in chart title, my sql query and size class