mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-13 08:33:09 +02:00
Add chart indices
This commit is contained in:
parent
b6f985abaf
commit
4015ccef2f
1 changed files with 11 additions and 0 deletions
|
@ -163,6 +163,17 @@ export default abstract class Chart<T extends Record<string, any>> {
|
||||||
},
|
},
|
||||||
...Chart.convertSchemaToFlatColumnDefinitions(schema)
|
...Chart.convertSchemaToFlatColumnDefinitions(schema)
|
||||||
},
|
},
|
||||||
|
indices: [{
|
||||||
|
columns: ['date']
|
||||||
|
}, {
|
||||||
|
columns: ['span']
|
||||||
|
}, {
|
||||||
|
columns: ['group']
|
||||||
|
}, {
|
||||||
|
columns: ['span', 'date']
|
||||||
|
}, {
|
||||||
|
columns: ['span', 'date', 'group']
|
||||||
|
}]
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue