1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-10-31 23:31:48 +09:00

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

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