From 3fec9243b28e45b35aa93eca5de0da6b17f17e83 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Wed, 4 Nov 2020 14:26:14 +0000 Subject: [PATCH] Remove unused chart settings --- .../userInterface/temporaryPanelStructure.js | 16 +-------- packages/standard-components/components.json | 33 ++----------------- 2 files changed, 3 insertions(+), 46 deletions(-) diff --git a/packages/builder/src/components/userInterface/temporaryPanelStructure.js b/packages/builder/src/components/userInterface/temporaryPanelStructure.js index 70211fb6a5..728a611746 100644 --- a/packages/builder/src/components/userInterface/temporaryPanelStructure.js +++ b/packages/builder/src/components/userInterface/temporaryPanelStructure.js @@ -601,13 +601,6 @@ export default { valueKey: "checked", defaultValue: true, }, - { - label: "Fill", - key: "fill", - control: Checkbox, - valueKey: "checked", - defaultValue: true, - }, { label: "Legend", key: "legend", @@ -702,13 +695,6 @@ export default { valueKey: "checked", defaultValue: true, }, - { - label: "Fill", - key: "fill", - control: Checkbox, - valueKey: "checked", - defaultValue: true, - }, { label: "Legend", key: "legend", @@ -721,7 +707,7 @@ export default { key: "stacked", control: Checkbox, valueKey: "checked", - defaultValue: false, + defaultValue: true, }, { label: "Gradient", diff --git a/packages/standard-components/components.json b/packages/standard-components/components.json index f0b23d263a..1874a59a3f 100644 --- a/packages/standard-components/components.json +++ b/packages/standard-components/components.json @@ -467,10 +467,6 @@ ], "default": "Smooth" }, - "fill": { - "type": "bool", - "default": true - }, "legend": "bool", "yAxisUnits": { "type": "options", @@ -517,12 +513,11 @@ ], "default": "Smooth" }, - "fill": { + "legend": "bool", + "stacked": { "type": "bool", "default": true }, - "legend": "bool", - "stacked": "bool", "gradient": "bool", "yAxisUnits": { "type": "options", @@ -597,30 +592,6 @@ "placeholder": "string" } }, - "datachart": { - "description": "shiny chart", - "data": true, - "props": { - "table": "tables", - "type": { - "type": "options", - "default": "column2d", - "options": [ - "column3d", - "line", - "area2d", - "bar2d", - "bar3d", - "pie2d", - "pie3d", - "doughnut2d", - "doughnut3d", - "pareto2d", - "pareto3d" - ] - } - } - }, "link": { "name": "Link", "description": "an HTML anchor tag",