diff options
author | bobzel <zzzman@gmail.com> | 2023-08-27 12:14:02 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-08-27 12:14:02 -0400 |
commit | 2bf684f3f7960b92fb052d746cb25c11b603b190 (patch) | |
tree | 742aff58e4f0879574bc5cd1ce3935208c30209e /src/client/views/nodes/FunctionPlotBox.tsx | |
parent | 68ddebab45946697270c5f291ff9fdd044b6e83d (diff) | |
parent | bf1777b93be0707e17e3b3c0ca6c965facebfe14 (diff) |
Merge branch 'master' into secondpropertiesmenu-emily
Diffstat (limited to 'src/client/views/nodes/FunctionPlotBox.tsx')
-rw-r--r-- | src/client/views/nodes/FunctionPlotBox.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/FunctionPlotBox.tsx b/src/client/views/nodes/FunctionPlotBox.tsx index 61711417f..40f48dafe 100644 --- a/src/client/views/nodes/FunctionPlotBox.tsx +++ b/src/client/views/nodes/FunctionPlotBox.tsx @@ -48,8 +48,8 @@ export class FunctionPlotBox extends ViewBoxAnnotatableComponent<FieldViewProps> annotationOn: this.rootDoc, }); PresBox.pinDocView(anchor, { pinDocLayout: pinProps?.pinDocLayout, pinData: { ...(pinProps?.pinData ?? {}), datarange: true } }, this.rootDoc); - anchor.presXRange = new List<number>(Array.from(this._plot.options.xAxis.domain)); - anchor.presYRange = new List<number>(Array.from(this._plot.options.yAxis.domain)); + anchor.config_xRange = new List<number>(Array.from(this._plot.options.xAxis.domain)); + anchor.config_yRange = new List<number>(Array.from(this._plot.options.yAxis.domain)); if (addAsAnnotation) this.addDocument(anchor); return anchor; }; |