Need some help here, guys.
I need to make a radar chart (chartjs) . My data structure is like this:
{
tasks: [
{
uid: "0x1",
label: "TaskOne",
tags:[
{__is_tags: true, __is_classificator: true, tag: "Cool"},
{__is_tags: true, __is_classificator: true, tag: "Simple"}
],
categories:[
{__is_categories: true, __is_classificator: true, categ: "Code Red"},
{__is_categories: true, __is_classificator: true, categ: "No charge"}
],
status: [
{__is_status: true, __is_classificator: true, status: "Ongoing"}
]
},
{
uid: "0x2",
label: "TaskTwo",
tags:[
{tag: "Boring"}, {tag: "Simple"}, {tag: "Customers"}
],
categories:[
{categ: "Bug"},
],
status: [
{status: "Onhold"}
]
},
etc...
]
How to write a query that will fill the radar with tags as radar points (or labels) and status as datasets?
I mean:
Dataset 1 => âHow many tasks are âOngoingâ that are âBoringâ, âCoolâ, âŚâ,
Dataset 2 => âHow many tasks are âOnholdâ that are âBoringâ, âCoolâ, âŚâ,
âŚ
Any help, please?