mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-29 21:37:34 -07:00
Add chart indices
This commit is contained in:
parent
5523823be7
commit
5a7e9cebdf
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