From 4015ccef2f308a6417b984570377d9360fe84ec7 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 6a69a21b7e..8b89c4009d 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'] + }] }); }