diff options
author | bobzel <zzzman@gmail.com> | 2023-08-21 12:21:36 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-08-21 12:21:36 -0400 |
commit | bb11b2e0106ebd802e9ea4adc21f2891774ee634 (patch) | |
tree | 15bd807f2a6f29d070295f99c935df15c035bef6 /src/client/views/nodes/FunctionPlotBox.tsx | |
parent | eb35837e5ffe8e7eba9decea1fae5c163528dc1e (diff) | |
parent | f5ead5e05a7c93463a4887efc521de882a189cfc (diff) |
Merge branch 'master' into UI_Update_Eric_Ma
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; }; |