From 5a7e9cebdffbce8c7fbeabc3c5e06fc4fae9d763 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 18 Jun 2019 17:10:28 +0900 Subject: [PATCH] Add chart indices --- src/services/chart/core.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/services/chart/core.ts b/src/services/chart/core.ts index 6a69a21b7..8b89c4009 100644 --- a/src/services/chart/core.ts +++ b/src/services/chart/core.ts @@ -163,6 +163,17 @@ export default abstract class Chart> { }, ...Chart.convertSchemaToFlatColumnDefinitions(schema) }, + indices: [{ + columns: ['date'] + }, { + columns: ['span'] + }, { + columns: ['group'] + }, { + columns: ['span', 'date'] + }, { + columns: ['span', 'date', 'group'] + }] }); }