From 0fb14423e900f4c808ac2db882f6425ef1acf072 Mon Sep 17 00:00:00 2001 From: bobzel Date: Wed, 3 Mar 2021 11:32:42 -0500 Subject: from last --- src/client/views/nodes/FunctionPlotBox.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/client/views/nodes/FunctionPlotBox.tsx b/src/client/views/nodes/FunctionPlotBox.tsx index ccbbb2364..bf49170f1 100644 --- a/src/client/views/nodes/FunctionPlotBox.tsx +++ b/src/client/views/nodes/FunctionPlotBox.tsx @@ -33,7 +33,7 @@ export class FunctionPlotBox extends ViewBoxBaseComponent [this.dataDoc.data, this.dataDoc.xRange, this.dataDoc.yRange], + reaction(() => [DocListCast(this.dataDoc.data).lastElement()?.text, this.dataDoc.xRange, this.dataDoc.yRange], () => this.createGraph()); } getAnchor = () => { -- cgit v1.2.3-70-g09d2