diff options
author | srichman333 <sarah_n_richman@brown.edu> | 2024-04-24 23:47:24 -0400 |
---|---|---|
committer | srichman333 <sarah_n_richman@brown.edu> | 2024-04-24 23:47:24 -0400 |
commit | 3bc20dcc61ae0addf11f838392919eab806045b8 (patch) | |
tree | fcab7553faa469a0a5471a070113c88113f30c1d | |
parent | 04589cb1f5f957d1d95f8f7f29e2f9599059fa92 (diff) |
cleaned
-rw-r--r-- | src/client/views/nodes/DataVizBox/components/Histogram.tsx | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/client/views/nodes/DataVizBox/components/Histogram.tsx b/src/client/views/nodes/DataVizBox/components/Histogram.tsx index 12e2be341..d9f355f67 100644 --- a/src/client/views/nodes/DataVizBox/components/Histogram.tsx +++ b/src/client/views/nodes/DataVizBox/components/Histogram.tsx @@ -203,7 +203,6 @@ export class Histogram extends ObservableReactComponent<HistogramProps> { selectedDataBars.push(d[0]); this._currSelected = this.selectedData.length>1? undefined : showSelected; } - console.log(selectedDataBars.length) // for filtering child dataviz docs if (this._props.layoutDoc.dataViz_filterSelection){ @@ -489,21 +488,6 @@ export class Histogram extends ObservableReactComponent<HistogramProps> { }); return barColor ? StrCast(barColor) : StrCast(this._props.layoutDoc.dataViz_histogram_defaultColor); }); - // selected bars - // const selectedDataBars = StrListCast(this._props.layoutDoc.dataViz_histogram_selectedData) - // let filledSelectedData = this.selectedData.length>0; - // console.log(selectedDataBars.length) - // svg.selectAll('rect').attr('class', (d: any) => { - // let selected = false; - // selectedDataBars.map(eachSelectedData => { - // if (d[0]==eachSelectedData) selected = true; - // }) - // if (selected){ - // if (!filledSelectedData) this.selectedData.push(d); - // return 'histogram-bar hover' - // } - // else return 'histogram-bar'; - // }); } }; |