AndreyPatseiko commented on issue #21368: URL: https://github.com/apache/echarts/issues/21368#issuecomment-3527513354
One of the possible way to resolve this - is use series with `line` type. Just drow it like a circle. [Something like that](https://echarts.apache.org/examples/en/editor.html?c=line-simple&code=pZVNb9s4EIbv_hUE9iCnsRWS-pa3h8XuZYENtkB7aGvkoMh0TEAmDYpKbBT57x2KpKzaST_cIEHEIeedmUecUS1Fq1HNhGbqI3qL8GIyNn0am1S14l0LFgqmhmnU8hUz6wTjBbq5QaLb3jOF5Bqtqxp2pnrD0FYqNkPmSclOrJi6mkzWnag1lwI9MMFUpdnfXNUN-6fS1dTlMvMZzFzcmQ13hb5MELIJreA8hF_eLcC0lgpNTVa8zxn-_Wk94PH62rp5x0o8NAyOTacUvUG3ld6E7_69Qjc-xBvEjaQ_voejHtG1x-D8atlOe7mrscdh8Ph05tFy8Y2HqSLcde1mutzP0OGuNz_DH_yO9k4TGABZB8V0p0TvsJg8TyZy1wN-29etpWw035Xoy_MMloe_9ryFRR9eH3asRMFj1XQsMLsIbat9iSh1Cy5KNKfUJGUs-99xflB85X2BlK64-K-6Z00JN6ZpmXWqG777_5GpdSOfSqRV5-xPfKU3JYoSbNcbxh82ujd4_UfedlVzW0Gpy_6MDYXQjjO4kd463hnSpE7W_tSykQpK-6OuMY6iYNjq47wiQdIXJdbrogCJ8Z6lZPL-CVUH8zSxoiYUn6uS9EeqgwQu0hf8zdty_u7pzh_SEsjGAyhlX8Cwdtehh_3EW38l4B7zLRMtXEh4W95mbkJwb2ZCpQ5z--bm22pnUZvQfdiWKX58c74MF6mtKw09MMRhopYr2DhWazAfSzxAecfV0BZLPAM7HETRndsd0LWH7b2ECxpoxfu2PRYFvTa-UcuAYprMCZ7T9APFZZSWURKmCf4cgHwRFjSaoTkJM5LZdZHmCaaYFGkR4XSAfK6E05ImYZR7pTy2SmnulEic5BGO85TgKKevKZG4xHlJsjDHXinLClC ikFvqcoppkhGM4yxLo5eFkg8kMylFaYjJsTgQMMXRBEDiEGOc0CwhOY4jQvJzJVzMaWFSAkyUhkkxKGGrVCSxUyJpFmUUcCXZdyB9g3uM2WC_HPcIc4_9ctwjzD32i3F7zB775bg9Zo_9DLcfALYnrepJDzZcnPbEBZ_1od22Upopfxz7QwsGQo4imbDv9aEx3e4_DdDDp0PXzTA3Ttwn9bOU21cmCocxtTpGWfMGsr3th4qN_xIJCSNKwCAM4KuleV01g_-vqZokJ8-Lrw&enc=deflate) But I think it will be better if this lines drawn by GL. Vital code. ``` const centerX = 0; const centerY = 0; const radius = 20; let sides = 500; // number of faces (the more, the rounder) function generateCircleData(centerX, centerY, radius, sides) { const data = []; for (let i = 0; i < sides; i++) { const angle = ((2 * Math.PI) / sides) * i; const x = centerX + radius * Math.cos(angle); const y = centerY + radius * Math.sin(angle); data.push([x, y]); } data.push([centerX + radius, centerY]); return data; } options = { series:[ {}] } ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
