(newDataIndex: number, oldDataIndex: number)
| 88 | } |
| 89 | |
| 90 | function update(newDataIndex: number, oldDataIndex: number) { |
| 91 | const line = oldData.getItemGraphicEl(oldDataIndex) as graphic.Polyline; |
| 92 | dataGroup.add(line); |
| 93 | |
| 94 | const points = createLinePoints(data, newDataIndex, dimensions, coordSys); |
| 95 | data.setItemGraphicEl(newDataIndex, line); |
| 96 | |
| 97 | graphic.updateProps(line, {shape: {points: points}}, seriesModel, newDataIndex); |
| 98 | |
| 99 | saveOldStyle(line); |
| 100 | |
| 101 | updateElCommon(line, data, newDataIndex, seriesScope); |
| 102 | } |
| 103 | |
| 104 | function remove(oldDataIndex: number) { |
| 105 | const line = oldData.getItemGraphicEl(oldDataIndex); |
nothing calls this directly
no test coverage detected