Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/chart/radar/RadarView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,10 @@ class RadarView extends ChartView {
itemGroup.add(polygon);
itemGroup.add(symbolGroup);

// `initProps` has already set `polyline.shape.points` to the target points,
// so animate the symbols from the initial points to keep them in sync with the lines.
updateSymbols(
polyline.shape.points, points, symbolGroup, data, idx, true
getInitialPoints(points), points, symbolGroup, data, idx, true
);

data.setItemGraphicEl(idx, itemGroup);
Expand Down
115 changes: 115 additions & 0 deletions test/ut/spec/series/radar.test.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.