Add chart indices

This commit is contained in:
syuilo 2019-06-18 17:10:28 +09:00
parent 5523823be7
commit 5a7e9cebdf

View file

@ -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']
}]
}); });
} }