helgasoft commented on issue #21368: URL: https://github.com/apache/echarts/issues/21368#issuecomment-3523015149
ECharts has a responsive grid, which means X and Y axes will **not** have the same physical dimension. Therefore custom circle respects only one of the axes. As you already found out: ```radius=size[0]; // vs size[1]```. If it's made to respect both axes, it would become an oval, not a circle. [Demo](https://echarts.apache.org/examples/en/editor.html?code=lVRNb9swDL33VxDYwQngrYmDHeqiA3YcsO1SYF-GMag20wiVpUCiO3tB_vso1R9akh0mJLJFPj4-SaTNnqTRcAeHKwCSpDCHA2FHeWLRyd8IZMAhQiVtpfixE_oRk2PK8P59Jx3Dw6KLFw6tRF4V_A6B2g_q98yeuEoQoU080A_XNw9G3XOuHNZvR2stSIwEfhSvsywFnsoRwTZvYstgmDyNsE8fpfZbmbAD32FUna3gmMJh1O2XI88xPMNGzsRXrSPTzNqlQk05kG1xtFVK7v-2DLmLVQr8y_ifvNpub242m6ScRFvUNdoPhE0Oi58piL1cwt27aAuV0Y6g-yIU39fntnlAu2DUm2ehWlyslsvbE2j_D-j6HGpFLVvH-BY5YoZmZ8jKKGMZc09W6seIdeNZJ7BChvLZoMd6UGWMrReFl58GZeUZdai3F7R_XRSRqjSWyKFwfQ1Fx0zlnDPeCvN4jmJVBug3EOqX6B1jrMWKphj2XQpbc9iL9_tp5BRqkVqrowuaqyQ0y1QloVJ2wrtiMAvu8uGQWGeMZlc_udYnLpsPYiPrUK1DLupDH8NWKpWDbhUfuSNrntga7i8Fxf3xVda046YbKj7wjHcyNAHPnJ1nX8M_jOHivNjUUjtZzzvmxKz8k6m9TxuNyaWeMvyV8N2TPKMlWQk1xf8fqxd5dbz9Aw&enc=deflate) 📌 please close issue if problem solved. -- 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]
