MCPcopy
hub / github.com/apache/echarts / updateData

Method updateData

src/chart/helper/LargeLineDraw.ts:238–247  ·  view source on GitHub ↗

* Update symbols draw by new data

(data: LargeLinesData)

Source from the content-addressed store, hash-verified

236 * Update symbols draw by new data
237 */
238 updateData(data: LargeLinesData) {
239 this._clear();
240
241 const lineEl = this._create();
242 lineEl.setShape({
243 segs: data.getLayout('linesPoints')
244 });
245
246 this._setCommon(lineEl, data);
247 };
248
249 incrementalPrepareUpdate(data: LargeLinesData) {
250 this.group.removeAll();

Callers

nothing calls this directly

Calls 5

_clearMethod · 0.95
_createMethod · 0.95
_setCommonMethod · 0.95
setShapeMethod · 0.80
getLayoutMethod · 0.65

Tested by

no test coverage detected