aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsrichman333 <sarah_n_richman@brown.edu>2023-08-17 10:55:42 -0400
committersrichman333 <sarah_n_richman@brown.edu>2023-08-17 10:55:42 -0400
commit5e8a263c2d891370467f0faccf3330179cedd699 (patch)
tree16ff1cf389bf0ac566860bd3262c19c3c50d7943
parentce7d1b25a384a3919ce547e5dd33fd2a0ebd3111 (diff)
merge
-rw-r--r--src/client/views/nodes/DataVizBox/components/Histogram.tsx11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/client/views/nodes/DataVizBox/components/Histogram.tsx b/src/client/views/nodes/DataVizBox/components/Histogram.tsx
index 954569910..b3bdccbbb 100644
--- a/src/client/views/nodes/DataVizBox/components/Histogram.tsx
+++ b/src/client/views/nodes/DataVizBox/components/Histogram.tsx
@@ -457,11 +457,10 @@ export class Histogram extends React.Component<HistogramProps> {
this.componentDidMount();
- if (this._histogramData.length>0 || (!this.incomingLinks || this.incomingLinks.length==0)){
- return (
- this.props.axes.length >= 1 ? (
- <div className="chart-container" >
- <div className="graph-title">
+ if (this._histogramData.length > 0 || (!this.incomingLinks || this.incomingLinks.length==0)) {
+ return this.props.axes.length >= 1 ? (
+ <div className="chart-container">
+ <div className="graph-title">
<EditableText
val={StrCast(this.props.layoutDoc[titleAccessor])}
setVal={undoable(
@@ -521,4 +520,4 @@ export class Histogram extends React.Component<HistogramProps> {
<div className="chart-container">Selected rows of data from the incoming DataVizBox to display.</div>
);
}
-}
+} \ No newline at end of file