From 3cc596565c8e8c7dce04ca59364d50d55df561b2 Mon Sep 17 00:00:00 2001 From: rijkvanzanten Date: Thu, 17 Jun 2021 18:07:24 -0400 Subject: [PATCH] Add date range functionality to time-series --- app/src/lang/translations/en-US.yaml | 1 + .../insights/routes/panel-configuration.vue | 2 +- app/src/panels/time-series/index.ts | 90 +++++++++++++++++-- app/src/panels/time-series/time-series.vue | 48 +++++++--- 4 files changed, 121 insertions(+), 20 deletions(-) diff --git a/app/src/lang/translations/en-US.yaml b/app/src/lang/translations/en-US.yaml index d5a44c721a..f5797b2a15 100644 --- a/app/src/lang/translations/en-US.yaml +++ b/app/src/lang/translations/en-US.yaml @@ -142,6 +142,7 @@ alias: Alias bigInteger: Big Integer boolean: Boolean date: Date +date_range: Date Range datetime: DateTime decimal: Decimal float: Float diff --git a/app/src/modules/insights/routes/panel-configuration.vue b/app/src/modules/insights/routes/panel-configuration.vue index bd52892a95..e6ac57830d 100644 --- a/app/src/modules/insights/routes/panel-configuration.vue +++ b/app/src/modules/insights/routes/panel-configuration.vue @@ -4,7 +4,7 @@ :title="panel?.name || t('panel')" :subtitle="t('panel_options')" @cancel="$emit('cancel')" - :icon="panel?.icon || insert_chart" + :icon="panel?.icon || 'insert_chart'" persistent >