From 133445ccdaff2bd93de9fc8a273ef587b6b6f4b2 Mon Sep 17 00:00:00 2001 From: Conor_Mack Date: Wed, 8 Jul 2020 17:14:23 +0100 Subject: [PATCH] Functional Chart Wrapper for Britecharts --- packages/builder/package.json | 2 +- .../src/components/userInterface/Chart.svelte | 134 +++++++++++------- 2 files changed, 85 insertions(+), 51 deletions(-) diff --git a/packages/builder/package.json b/packages/builder/package.json index 295d004301..592cc17947 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -68,7 +68,7 @@ "lunr": "^2.3.5", "mustache": "^4.0.1", "safe-buffer": "^5.1.2", - "shortid": "^2.2.8", + "shortid": "^2.2.15", "string_decoder": "^1.2.0", "svelte-portal": "^0.1.0", "svelte-simple-modal": "^0.4.2", diff --git a/packages/builder/src/components/userInterface/Chart.svelte b/packages/builder/src/components/userInterface/Chart.svelte index 12559466bd..1efcc94175 100644 --- a/packages/builder/src/components/userInterface/Chart.svelte +++ b/packages/builder/src/components/userInterface/Chart.svelte @@ -15,32 +15,41 @@ -
- -{#if canUseTooltip} -
-{/if} +
+{#if useLegend} +
+{/if} \ No newline at end of file