From 43a770876bc2c8157b48dfbb8b7e560754040ac2 Mon Sep 17 00:00:00 2001 From: cmack Date: Tue, 28 Jul 2020 14:19:46 +0100 Subject: [PATCH] bar chart --- .../ComponentPropertiesPanel.svelte | 1 + .../standard-components/src/Chart/Bar.svelte | 130 ++++++++++++++---- 2 files changed, 105 insertions(+), 26 deletions(-) diff --git a/packages/builder/src/components/userInterface/ComponentPropertiesPanel.svelte b/packages/builder/src/components/userInterface/ComponentPropertiesPanel.svelte index 38e4dd67a9..fcdd22db4f 100644 --- a/packages/builder/src/components/userInterface/ComponentPropertiesPanel.svelte +++ b/packages/builder/src/components/userInterface/ComponentPropertiesPanel.svelte @@ -145,6 +145,7 @@ margin-top: 10px; flex: 1 1 auto; min-height: 0; + overflow-y: auto; } .instance-name { diff --git a/packages/standard-components/src/Chart/Bar.svelte b/packages/standard-components/src/Chart/Bar.svelte index ef16a7f66c..2bea43cb14 100644 --- a/packages/standard-components/src/Chart/Bar.svelte +++ b/packages/standard-components/src/Chart/Bar.svelte @@ -1,14 +1,25 @@ - +
+{#if useLegend} +
+{/if}