Skip to content

Commit 4187e4b

Browse files
author
Cindy Wang
committed
fix plotting function call from showPlot to showChart.
1 parent c54f3a3 commit 4187e4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/firefly/html/demo/ffapi-slate-test3.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133

134134

135135

136-
firefly.getViewer().showPlot(
136+
firefly.getViewer().showChart(
137137
{chartId: 'newChart1', layout: layoutS, data: [trace1]},
138138
'newChartContainer');
139139

@@ -182,7 +182,7 @@
182182
}
183183
};
184184

185-
firefly.getViewer().showPlot(
185+
firefly.getViewer().showChart(
186186
{chartId: 'newChart3', layout: layout3d, data: data3d },
187187
'3dChartContainer');
188188
}

0 commit comments

Comments
 (0)