echarts histogram can achieve gradient color effect, but can it achieve the following gradient color effect? Please answer?
That is, diagonal gradient color
斜项渐变色好像用渐变色做不出来。设置了不生效,这就尴尬了。可以尝试用纹理试试。。。。 // 纹理填充 color: { image: imageDom, // 支持为 HTMLImageElement, HTMLCanvasElement,不支持路径字符串 repeat: 'repeat' // 是否平铺, 可以是 'repeat-x', 'repeat-y', 'no-repeat' }