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

请问我怎么去掉数据拐点上的方块标识 #100

Closed
renruijun opened this issue May 25, 2017 · 10 comments
Closed

请问我怎么去掉数据拐点上的方块标识 #100

renruijun opened this issue May 25, 2017 · 10 comments

Comments

@renruijun
Copy link

qq 20170525155728

@xiaolin3303
Copy link
Owner

opts.dataPointShape Boolean default true 是否在图表中显示数据点图形标识
具体可以参看参数文档

@renruijun
Copy link
Author

我昨天是有这样加上去这一条配置项,不过数据的方块标识图案并没消失,我加的方式不对吗?
qq 20170526094212

@xiaolin3303
Copy link
Owner

参数没问题,你使用的wx-charts版本是不是比较早?

@xiaolin3303 xiaolin3303 reopened this May 26, 2017
@renruijun
Copy link
Author

我当初是下载的你的demo源码,版本是v1.0,我在哪里能获取到你的wxchart最新版本呢?

@xiaolin3303
Copy link
Owner

pull下demo源码即可,里面已经更新了wx-charts

@renruijun
Copy link
Author

嗯嗯,现在好了,可以了,谢谢啦!sixsixsix
qq 20170526111212

@EverChisato
Copy link

我现在也是这样子加,但是没有变化?我是刚刚下的demo,然后也替换掉刚下载的js文件了请问是什么问题呢?
image

@zengguoying
Copy link

请问areaChart中如何加竖线,绘制成网格形状?在线等!

@Joyce-guo
Copy link

请问我多条曲线,怎么设置转折处都是远点,而不是有的圆点,有的是方块呢,area能否加边界线border呢

@Chunianyou
Copy link

请问我多条曲线,怎么设置转折处都是远点,而不是有的圆点,有的是方块呢,area能否加边界线border呢

得到需求折线图上只显示圆点,没有找到配置置顶点形状的地方。修改源代码可以达到效果,如果大量页面需求不一样不推荐。

wxCharts源码:22行 dataPointShape: ['diamond', 'circle', 'triangle', 'rect'],
修改为: dataPointShape: ['circle'],

如使用记得写好注释。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants