zrender icon indicating copy to clipboard operation
zrender copied to clipboard

tool/color Gradient

Open gr1532879 opened this issue 10 years ago • 1 comments

生成渐变颜色的API不存在? getGradientColors echart-example getLinearGradient zrender-api#getGradientColors

tool/color中并没有上述方法 tool/color.js

我需要自己调用graphic/LinearGradient?或者其他api?

烦请更新一下doc&相关的example

gr1532879 avatar Jun 20 '16 02:06 gr1532879

自己引用了LinearGradient,echart2引用的zrender版本也比较早,就这样吧

gr1532879 avatar Jun 21 '16 01:06 gr1532879