zrender
zrender copied to clipboard
A lightweight graphic library providing 2d draw for Apache ECharts
 我想实现拖动下面的时间轴,上面的放开跟着实时移动,目前使用 ```js this.circle2.animateTo( { shape: { x: this.circle2x + data, y: 100, }, }, function() { // done } ); ``` 发现一直会有延时的效果,上面的移动不能实时跟随下面的时间的拖动更新位置,请问有什么方法实现吗
In this version, the resume method is called to restore the animation, and the method fails. It seems that there are some problems with the step method. Animation.prototype._startLoop = function...
安装官网的demo写不能没有任何渲染 具体代码如下 ```html zrender学习 window.onload = function () { var container = document.getElementsByClassName('example-container')[0]; console.log(container) var zr = zrender.init(container); var w = zr.getWidth(); var h = zr.getHeight(); var r = 30;...
The site https://ecomfe.github.io/zrender-doc/public/ is in Chinese only. A translation to English would help the project to be used internationally. I don't speak Chinese, any help appreciated 🙏 .
如题,希望能阻止冒泡并能开启捕获模式。
### Intent This PR is intended to increase elements' responsive area on mobile devices so that elements can be touched more easily. The idea is inspired by W3C's [Understanding Success...
**代码示例:** 使用的cdn:https://cdn.bootcdn.net/ajax/libs/zrender/5.1.1/zrender.min.js js部分: var zr = zrender.init(document.getElementById('container')); var Circle = new zrender.Circle({ shape: { cx: 100, cy: 100, r: 20, }, style: { text: 'aaa', textFill: '#ff5500', } }); zr.add(Circle);...
vue环境中使用 "zrender": "^5.1.1", 开发状态 npm run serve 运行一切正常 , 但 build 出来 运行 ,浏览器就报错了。 如果是v4.x ,就没有这个问题,不知是什么原因,求解决。 Error: Renderer 'undefined' is not imported. Please import it first. at new t (chunk-1cddc2cc.2efeabff.js:1)...
new feature for [color-syntax](https://drafts.csswg.org/css-color/#color-syntax) > For easy reference in other specifications, opaque black is defined as the color rgb(0 0 0 / 100%); transparent black is the same color, but...