Hi,
I have a model holding a string property:
public
class
TicketDto
{
public
string
Status {
get
;
set
; }
}
Is there a way for a view with a model of IEnumerable<TicketDto> to display a pie chart with the category being Status and the value being the percentage that particular status appears in the collection?
For example, if my IEnumerable<TicketDto> contains the following properties:
Active
Closed
Closed
Closed
... then the pie chart would show two categories: 25% active, and 75% closed.
Thanks!
Brian