diff options
author | bobzel <zzzman@gmail.com> | 2023-08-26 13:54:43 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-08-26 13:54:43 -0400 |
commit | 3ee5367df2604775b5e004e3aae6b8f5e6adcb7c (patch) | |
tree | e96ef8ce24c3850447537eab77a2ec8108aeff09 /src/client/views/nodes/DataVizBox/components/LineChart.tsx | |
parent | 788fc2d0e200c7dc5b8990f38c9946db67c14d1e (diff) | |
parent | 1108eee6c72b1b7f74a400a7af55c2f71d09c333 (diff) |
Merge branch 'master' into data-visualization-sarah
Diffstat (limited to 'src/client/views/nodes/DataVizBox/components/LineChart.tsx')
-rw-r--r-- | src/client/views/nodes/DataVizBox/components/LineChart.tsx | 2 |
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 206169c13..8967f27b8 100644 --- a/src/client/views/nodes/DataVizBox/components/LineChart.tsx +++ b/src/client/views/nodes/DataVizBox/components/LineChart.tsx @@ -76,7 +76,7 @@ export class LineChart extends React.Component<LineChartProps> { // return selected x and y axes // otherwise, use the selection of whatever is linked to us const incomingVizBox = DocumentManager.Instance.getFirstDocumentView(this.parentViz)?.ComponentView as DataVizBox; - const highlitedRowIds = (incomingVizBox && incomingVizBox.rootDoc)? NumListCast(incomingVizBox.rootDoc.dataViz_highlitedRows) : []; + const highlitedRowIds = incomingVizBox && incomingVizBox.rootDoc ? NumListCast(incomingVizBox.rootDoc.dataViz_highlitedRows) : []; return this._tableData.filter((record, i) => highlitedRowIds.includes(this._tableDataIds[i])); // get all the datapoints they have selected field set by incoming anchor } @computed get rangeVals(): { xMin?: number; xMax?: number; yMin?: number; yMax?: number } { |