Incubator-echarts: 在线定制下载后的js缺少了graphic方法

Created on 4 Dec 2017  ·  8Comments  ·  Source: apache/incubator-echarts

做的是一个类似股票的k线图,我使用官网的在线定制功能,但是下载后缺少了一个graphic方法,导致图表出不来。

bug

All 8 comments

能否截图看下你报的错误?

image
image

缺少了graphic这个方法,用常用包和完整包倒是有graphic方法,但是完整包大了,常用包没有k线图

在线构建下面的 API 选项选上了么?

勾了

@whitetrident 抱歉好像是有这个 bug,你可以先通过声明的方式创建 gradient 对象

color: { 
  type: 'linear',
  x: 0,
  y: 0,
  x2: 0,
  y2: 1,
  colorStops: [{ offset: 0, color: '#474019'}, {offset: 1, color: '#262922' }]
}

后面会修复这个问题

确实修复了,在线定制后有grahpic了,强!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

shikelong picture shikelong  ·  3Comments

antorman picture antorman  ·  3Comments

Cyycl picture Cyycl  ·  3Comments

Zendic picture Zendic  ·  3Comments

771752687 picture 771752687  ·  3Comments