aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DataVizBox/DataVizBox.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-04-10 13:49:28 -0400
committerbobzel <zzzman@gmail.com>2023-04-10 13:49:28 -0400
commit6520bb8594b6cee9a4df09b25adf7aa590ef29e4 (patch)
tree1d5d865b8f2de6eb91d02bbb1734c889b0c2e8e3 /src/client/views/nodes/DataVizBox/DataVizBox.tsx
parent68c6c36af823255824a6b0692e8c33618c2d7ca2 (diff)
fixed linechart margins
Diffstat (limited to 'src/client/views/nodes/DataVizBox/DataVizBox.tsx')
-rw-r--r--src/client/views/nodes/DataVizBox/DataVizBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DataVizBox/DataVizBox.tsx b/src/client/views/nodes/DataVizBox/DataVizBox.tsx
index 8593c8994..2666787c5 100644
--- a/src/client/views/nodes/DataVizBox/DataVizBox.tsx
+++ b/src/client/views/nodes/DataVizBox/DataVizBox.tsx
@@ -95,7 +95,7 @@ export class DataVizBox extends ViewBoxAnnotatableComponent<FieldViewProps>() {
@computed get selectView() {
const width = this.props.PanelWidth() * 0.9;
const height = (this.props.PanelHeight() - 32) /* height of 'change view' button */ * 0.9;
- const margin = { top: 10, right: 50, bottom: 50, left: 50 };
+ const margin = { top: 10, right: 10, bottom: 10, left: 10 };
if (!this.pairs) return 'no data';
// prettier-ignore
switch (this.dataVizView) {