Add chart indices

This commit is contained in:
syuilo 2019-06-18 17:10:28 +09:00
parent b6f985abaf
commit 4015ccef2f
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69
1 changed files with 11 additions and 0 deletions

View File

@ -163,6 +163,17 @@ export default abstract class Chart<T extends Record<string, any>> {
},
...Chart.convertSchemaToFlatColumnDefinitions(schema)
},
indices: [{
columns: ['date']
}, {
columns: ['span']
}, {
columns: ['group']
}, {
columns: ['span', 'date']
}, {
columns: ['span', 'date', 'group']
}]
});
}