aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DataVizBox/components/LineChart.tsx
diff options
context:
space:
mode:
authorsrichman333 <sarah_n_richman@brown.edu>2023-07-26 16:27:12 -0400
committersrichman333 <sarah_n_richman@brown.edu>2023-07-26 16:27:12 -0400
commit3a177316c1f104da538ed4a53c6a442c6f3fcdc4 (patch)
tree961b95ecadd466ff8f17b38b002ac24d713aa113 /src/client/views/nodes/DataVizBox/components/LineChart.tsx
parent27bf26fe688baabff93ab6ebb6b75af4043d29d3 (diff)
histogram reorganized to accommodate more data types
Diffstat (limited to 'src/client/views/nodes/DataVizBox/components/LineChart.tsx')
-rw-r--r--src/client/views/nodes/DataVizBox/components/LineChart.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DataVizBox/components/LineChart.tsx b/src/client/views/nodes/DataVizBox/components/LineChart.tsx
index 637ed0ead..91baf095d 100644
--- a/src/client/views/nodes/DataVizBox/components/LineChart.tsx
+++ b/src/client/views/nodes/DataVizBox/components/LineChart.tsx
@@ -310,7 +310,7 @@ export class LineChart extends React.Component<LineChartProps> {
.style("text-anchor", "middle")
.text(this.props.axes[0]);
svg.append("text")
- .attr("transform", "rotate(-90)")
+ .attr("transform", "rotate(-90)" + " " + "translate( 0, " + -10 + ")")
.attr("x", -(height/2))
.attr("y", -20)
.attr("height", 20)