diff options
author | bobzel <zzzman@gmail.com> | 2024-01-02 13:26:53 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-01-02 13:26:53 -0500 |
commit | fdc0bf7c54af252178f587709630d36726484b91 (patch) | |
tree | 9633a76e9bb386254f40894a13553dcba867cb37 /src/client/views/nodes/DataVizBox/components/LineChart.tsx | |
parent | 9b9f54a43793ca6ffb26c56f962d11ba8325abd2 (diff) |
fixing more .props => ._props refernces.
Diffstat (limited to 'src/client/views/nodes/DataVizBox/components/LineChart.tsx')
-rw-r--r-- | src/client/views/nodes/DataVizBox/components/LineChart.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/views/nodes/DataVizBox/components/LineChart.tsx b/src/client/views/nodes/DataVizBox/components/LineChart.tsx index a69f083d1..50a8bf83d 100644 --- a/src/client/views/nodes/DataVizBox/components/LineChart.tsx +++ b/src/client/views/nodes/DataVizBox/components/LineChart.tsx @@ -358,7 +358,7 @@ export class LineChart extends ObservableReactComponent<LineChartProps> { const selectedPt = this._currSelected ? `{ ${this._props.axes[0]}: ${this._currSelected.x} ${this._props.axes[1]}: ${this._currSelected.y} }` : 'none'; if (this._lineChartData.length > 0 || !this.parentViz || this.parentViz.length == 0) { return this._props.axes.length >= 2 && /\d/.test(this._props.records[0][this._props.axes[0]]) && /\d/.test(this._props.records[0][this._props.axes[1]]) ? ( - <div className="chart-container" style={{ width: this.props.width + this.props.margin.right }}> + <div className="chart-container" style={{ width: this._props.width + this._props.margin.right }}> <div className="graph-title"> <EditableText val={StrCast(this._props.layoutDoc[titleAccessor])} @@ -378,8 +378,8 @@ export class LineChart extends ObservableReactComponent<LineChartProps> { <Button onClick={e => { console.log('test plzz'); - this.props.vizBox.sidebarBtnDown; - this.props.vizBox.sidebarAddDocument; + this._props.vizBox.sidebarBtnDown; + this._props.vizBox.sidebarAddDocument; }}></Button> </div> ) : null} |