Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

线图的 series 样式问题 #12

Closed
huangyangme opened this issue Feb 28, 2018 · 1 comment
Closed

线图的 series 样式问题 #12

huangyangme opened this issue Feb 28, 2018 · 1 comment
Labels
cannot-reproduce Cannot be reproduced on maintainer's environment

Comments

@huangyangme
Copy link

huangyangme commented Feb 28, 2018

  1. line 图,series[i]-line.lineStyle.type = 'solid' 时,微信开发者工具显示的是实线('solid')。但是手机预览显示的却是'dashed'。
  2. line 和 area 的颜色显示也有问题。手机预览颜色更深(需要微信后续版本更新?)。

微信开发者工具模拟器效果:
2018-02-28 3 18 36

手机预览(iPhone7,WeChat 6.6.5):
img_69ca07d75674-1

代码:

series: [{
      data: [820, 932, 901, 934, 1290, 1330, 1320],
      type: 'line',
      smooth: true,
      itemStyle: {
        color: '#999',
        type: 'solid', // 线类型
        opacity: 0,
      },
      lineStyle: {
        color: 'rgb(23, 147, 209)', // 线颜色
        width: 1,
      },
      areaStyle: {
        color: 'rgba(23, 147, 209,0.2)' // 区域颜色
      }
    }]
@Ovilia
Copy link
Member

Ovilia commented Feb 28, 2018

  1. 我在 iPhone 7,微信 6.6.5 没有复现出问题,有没有可能你手机上预览的版本代码不一致?
  2. 这个问题是微信基础库的 bug,还没修复

@Ovilia Ovilia added the further info required Further information is requested label Feb 28, 2018
@Ovilia Ovilia added cannot-reproduce Cannot be reproduced on maintainer's environment and removed further info required Further information is requested labels Mar 9, 2018
@Ovilia Ovilia closed this as completed Mar 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cannot-reproduce Cannot be reproduced on maintainer's environment
Projects
None yet
Development

No branches or pull requests

2 participants