wmjcom opened a new issue #9571: SVG and Canvas have different results for 
"Candlestick shanghai index" chart in echarts example
URL: https://github.com/apache/incubator-echarts/issues/9571
 
 
   I test "Candlestick shanghai index" chart in echarts example. This is the 
url 
"https://ecomfe.github.io/echarts-examples/public/editor.html?c=candlestick-sh";.
 I click the "Download" button to save the html file into local. Then I compare 
the chart to render on canvas and svg.
   The first result is the default html. It looks good.
   
![image](https://user-images.githubusercontent.com/45786005/49850956-7d530e00-fe1a-11e8-8bd4-240822b39c21.png)
   
   I only make below changes to support svg in the html.
   var myChart = echarts.init(dom, null, {renderer: 'svg'});
   
![image](https://user-images.githubusercontent.com/45786005/49851042-c4410380-fe1a-11e8-9059-0ceaddec6c59.png)
   
   The svg chart has three issues different to canvas chart.
   (1) Title "上证指数" is out of top range.
   (2) The text data for xAxis are shown in the xAxis line. And the text data 
are not same in both results. 
   (3) The value "2445" is out of the ball.
   
   Can anyone give some suggestions? Thanks.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to