You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2018/05/09 03:41:47 UTC

[GitHub] jeffmobiles commented on issue #8311: 使用svg 渲染, 编译压缩之后出现了Cannot read property '0' of null

jeffmobiles commented on issue #8311: 使用svg 渲染, 编译压缩之后出现了Cannot read property '0' of null
URL: https://github.com/apache/incubator-echarts/issues/8311#issuecomment-387610942
 
 
   zrender里的grapha.js 里的 
   var rotate = -style.textRotation * 180 / Math.PI;
   attr(textSvgEl, 'transform', 'rotate(' + (rotate) + ',' + x + ',' + y + ')');
   rotate 结果就是NaN, Svg渲染就会报错。 设置label的rotate属性就不会了。加个
   label: {
      rotate: 0
   }

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org