helgasoft commented on issue #19868: URL: https://github.com/apache/echarts/issues/19868#issuecomment-2079974495
> feels like the abscissa scale of the data is not a square effect. First, your data isn't exactly "square", [-10,10] vs [-11,12]. Second, setting up a square chart is easy. Just _init_ with width & height, or add [resize](https://echarts.apache.org/en/api.html#echartsInstance.resize) later - [Demo](https://echarts.apache.org/examples/en/editor.html?c=line-function&code=GYVwdgxgLglg9mABKSAKAHgSkQbwFCKLqID0AvIgIwAMA3AYgE4CmUIjSAsgIZQAWAOgDOMMBmwAqRD34CIcIRkRSATIgDUVSdN6CRY4lIDMGxCu0BWOngC-eFNHhIA5szDNGvZgBFe3VNj4hAA2rIgAJn6IFADaALr0hMBwjIiooVCIMNGIALQq1HRZiAA8FAVF2eoU1AKUgQyEkVDcAgAOIEJ8qDEwADTI4BCoMJhxmImIdoQsbBwRfvR2cG2wCDlBiNxgMAC2vE4AXMjcwULMfQzOjDDhx5uEUCvHACzUl4QhzMBQx1Yfnxuzj4v0QbwBhAARnAoE9dn9qAwbAD0ABBdAwIT3RqIMDcXbMY4AcnQRIhiF2ohSABUYBAANbYz6fLpwADuxygjBAzBxyJxlLAKQAym1gjAoAAZUSE3A4wisjmILk8vlIgEAT3RmKZnzxBOJGrJAtEx1yNHeAu46GOFvJgppdMZcuZCr47M53N5zP5zIdjFF4qlMt1zMVntVPvVDGa3AAWnA4PDEDEcQ8We6lSqLvLlRq2rKiaIROFmMbXcgYMEoB5OHBS8She5y660RihABJMClm0p6hxckKlqMKAANVOPLNBUHiDc4XHwUnZkRPvJ6bdHuVXpnUHzheLtzLM-AVZrjDrDcQRKbR9zWvbXZ7xxi_ZnQmHY4nsvylorc4XS4FGqhADgw5w3MwWIpmmua7gWxLis2b6ZsKGq7NCwTHMApznDOEDim0EY5h WsbHK47ieDWvgtAEwGIHEtj0OcUC0gScAgFAqABNEAB8uAUhqADCfDcCOAgsCIABezCoDgbK3PwhxWO8iB8MwMDAr8yk2JgyJUNQExAA) 📌 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: commits-unsubscr...@echarts.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org