aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DataVizBox/components/Histogram.tsx
diff options
context:
space:
mode:
authorsrichman333 <sarah_n_richman@brown.edu>2023-10-10 15:52:16 -0400
committersrichman333 <sarah_n_richman@brown.edu>2023-10-10 15:52:16 -0400
commit368e33c076085b1b73f522ac88f548a2ad081c80 (patch)
tree6eafe4f991516148c7a6e428940e99fad2426574 /src/client/views/nodes/DataVizBox/components/Histogram.tsx
parent3884211ab83db30965a4dc1c4b3133684904ebb9 (diff)
start
Diffstat (limited to 'src/client/views/nodes/DataVizBox/components/Histogram.tsx')
-rw-r--r--src/client/views/nodes/DataVizBox/components/Histogram.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DataVizBox/components/Histogram.tsx b/src/client/views/nodes/DataVizBox/components/Histogram.tsx
index e67e2bf31..eca77f0f3 100644
--- a/src/client/views/nodes/DataVizBox/components/Histogram.tsx
+++ b/src/client/views/nodes/DataVizBox/components/Histogram.tsx
@@ -456,7 +456,7 @@ export class Histogram extends React.Component<HistogramProps> {
if (this._histogramData.length > 0 || !this.parentViz) {
return this.props.axes.length >= 1 ? (
- <div className="chart-container">
+ <div className="chart-container" style={{width: this.props.width+this.props.margin.right}}>
<div className="graph-title">
<EditableText
val={StrCast(this.props.layoutDoc[titleAccessor])}