helgasoft opened a new pull request, #99:
URL: https://github.com/apache/echarts-examples/pull/99

   Added ```display:flex; justify-content:center; align-items:center;``` to 
**#chart-container** in _example-bundle.js_.
   
   Currently command ```myChart.resize({width: V, height: V});``` in Editor 
will show the chart non-centered:
   ![ezgif 
com-optimize](https://github.com/user-attachments/assets/ab27ae2f-efeb-489a-b926-8764f4cf043d)
   After this proposed change, _resize_ display the chart in the center of the 
container:
   ![ezgif com-optimize 
(1)](https://github.com/user-attachments/assets/864a0a27-9404-4e69-9fae-9c858c1ac112)
   In addition to looking better, it'll also provide **simple zooming** for 
charts which do not support it now - like pie, sunburst, gauge, radar, sankey, 
etc.
   


-- 
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]

Reply via email to