aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DataVizBox/DataVizBox.tsx
diff options
context:
space:
mode:
authorgeireann <geireann.lindfield@gmail.com>2023-04-10 15:32:06 -0400
committergeireann <geireann.lindfield@gmail.com>2023-04-10 15:32:06 -0400
commit3cb7f85b23eb0ae3a432bbe15b8a2cda37290ce2 (patch)
tree6292360e91abe3f675768e11b6d70f64f421b7ad /src/client/views/nodes/DataVizBox/DataVizBox.tsx
parent6520bb8594b6cee9a4df09b25adf7aa590ef29e4 (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 2666787c5..eb25d3264 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: 10, bottom: 10, left: 10 };
+ const margin = { top: 10, right: 25, bottom: 50, left:25};
if (!this.pairs) return 'no data';
// prettier-ignore
switch (this.dataVizView) {