javascript - echarts histogram gradient color problem
三叔
三叔 2017-06-12 09:30:45
0
1
898

echarts histogram can achieve gradient color effect, but can it achieve the following gradient color effect? ​​Please answer?

That is, diagonal gradient color

三叔
三叔

reply all(1)
曾经蜡笔没有小新
斜项渐变色好像用渐变色做不出来。设置了不生效,这就尴尬了。可以尝试用纹理试试。。。。

// 纹理填充
color: {
    image: imageDom, // 支持为 HTMLImageElement, HTMLCanvasElement,不支持路径字符串
    repeat: 'repeat' // 是否平铺, 可以是 'repeat-x', 'repeat-y', 'no-repeat'
}
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!