Add a Chart tab where data is displayed as chart.
We should use a naming convention to help the mapping between the data and the chart.
for example
query hbar($first:int = 15) {
var(func: type(School)) {
c as count(School.projects)
}
project_count(func: uid(c), orderdesc:val(c), first: $first) {
label:School.name
value:val(c)
}
}
Would be displayed as a horizontal bar chart with a series called "Project count".
User can add Few UI settings (saved with the tab config) such as chart title, colors, etc ...
Use case
Add a Chart tab where data is displayed as chart. We should use a naming convention to help the mapping between the data and the chart.
for example query hbar($first:int = 15) { var(func: type(School)) { c as count(School.projects) } project_count(func: uid(c), orderdesc:val(c), first: $first) {
label:School.name value:val(c) } }
Would be displayed as a horizontal bar chart with a series called "Project count". User can add Few UI settings (saved with the tab config) such as chart title, colors, etc ...
Link to examples and research
No response
Solution proposal
No response
Additional information.
No response