From 59801f1f818b7651ca4814f656cd6b68a2cf389a Mon Sep 17 00:00:00 2001 From: Sam Nolan Date: Fri, 1 Apr 2022 16:16:24 +1100 Subject: [PATCH] Remove sliders on graph for selects --- packages/components/src/spec-distributions.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/components/src/spec-distributions.json b/packages/components/src/spec-distributions.json index a5e0bc14..c8d5152e 100644 --- a/packages/components/src/spec-distributions.json +++ b/packages/components/src/spec-distributions.json @@ -18,9 +18,9 @@ "description": "The transform of the x scale", "value": 1.0, "bind": { - "input": "range", - "min": 0.1, - "max": 1 + "input": "select", + "options": [0.1, 1], + "labels": ["log", "linear"] } }, { @@ -28,9 +28,9 @@ "description": "The transform of the y scale", "value": 1.0, "bind": { - "input": "range", - "min": 0.1, - "max": 1 + "input": "select", + "options": [0.1, 1], + "labels": ["log", "linear"] } } ],