You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the rotate function from core/matrix.ts rotates the input matrix by the specified angle relative to the origin point (0, 0) of the coordinate system.
When parsing an SVG that contains a rotate transformation (rotate(<a> [<x> <y>])), only the angle a is taken into consideration, while the coordinates x and y, which specify the point about which to rotate, are ignored. This fact caused echarts/19141 issue.
The expected behavior is that the point about which to rotate is taken into consideration, enabling a rotation relative to a specific point.
The text was updated successfully, but these errors were encountered:
Currently, the
rotate
function fromcore/matrix.ts
rotates the input matrix by the specified angle relative to the origin point (0, 0) of the coordinate system.When parsing an SVG that contains a
rotate
transformation (rotate(<a> [<x> <y>])
), only the anglea
is taken into consideration, while the coordinatesx
andy
, which specify the point about which to rotate, are ignored. This fact caused echarts/19141 issue.The expected behavior is that the point about which to rotate is taken into consideration, enabling a rotation relative to a specific point.
The text was updated successfully, but these errors were encountered: