(markLineModel: MarkLineModel, ecModel: GlobalModel, api: ExtensionAPI)
| 268 | markerGroupMap: HashMap<LineDraw>; |
| 269 | |
| 270 | updateTransform(markLineModel: MarkLineModel, ecModel: GlobalModel, api: ExtensionAPI) { |
| 271 | ecModel.eachSeries(function (seriesModel) { |
| 272 | const mlModel = MarkerModel.getMarkerModelFromSeries(seriesModel, 'markLine') as MarkLineModel; |
| 273 | if (mlModel) { |
| 274 | const mlData = mlModel.getData(); |
| 275 | const fromData = inner(mlModel).from; |
| 276 | const toData = inner(mlModel).to; |
| 277 | // Update visual and layout of from symbol and to symbol |
| 278 | fromData.each(function (idx) { |
| 279 | updateSingleMarkerEndLayout(fromData, idx, true, seriesModel, api); |
| 280 | updateSingleMarkerEndLayout(toData, idx, false, seriesModel, api); |
| 281 | }); |
| 282 | // Update layout of line |
| 283 | mlData.each(function (idx) { |
| 284 | mlData.setItemLayout(idx, [ |
| 285 | fromData.getItemLayout(idx), |
| 286 | toData.getItemLayout(idx) |
| 287 | ]); |
| 288 | }); |
| 289 | |
| 290 | this.markerGroupMap.get(seriesModel.id).updateLayout(); |
| 291 | |
| 292 | } |
| 293 | }, this); |
| 294 | } |
| 295 | |
| 296 | renderSeries( |
| 297 | seriesModel: SeriesModel, |
nothing calls this directly
no test coverage detected