mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-14 08:23:08 +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