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

图例的文字颜色配置要怎么设置,看了文档没有呀? #36

Closed
yaotaiye opened this issue Jul 5, 2018 · 4 comments
Closed

Comments

@yaotaiye
Copy link

yaotaiye commented Jul 5, 2018

7y shbldo dcb9 ro l
图例的文字颜色配置要怎么设置,看了文档没有呀?

@simaQ
Copy link
Contributor

simaQ commented Jul 9, 2018

文档里面有的,这个使用 valueStyle 属性就行配置哦。 https://antv.alipay.com/zh-cn/f2/3.x/api/legend.html

image

@simaQ simaQ closed this as completed Jul 9, 2018
@douhaoi
Copy link

douhaoi commented Jan 19, 2019

@simaQ 你好,我有三个小问题,我现在目前在小程序里面使用F2,1.我用了自定义图例,但是用你上面回答的那个方法不能实现对文字颜色的设置。2.Y轴能跟X轴一样画一条线吗?然后刻度还存在。 3.针对折线图的X轴刻度的虚线能能够删除吗?下面是我的截图

_20190120032715

@douhaoi
Copy link

douhaoi commented Jan 19, 2019

@simaQ 你好,我有三个小问题,我现在目前在小程序里面使用F2,1.我用了自定义图例,但是用你上面回答的那个方法不能实现对文字颜色的设置。2.Y轴能跟X轴一样画一条线吗?然后刻度还存在。 3.针对折线图的X轴刻度的虚线能能够删除吗?下面是我的截图

_20190120032715

第二个问题跟第三个问题我已经解决了,还差第一个,谢谢

@douhaoi
Copy link

douhaoi commented Jan 19, 2019

@simaQ 你好,我有三个小问题,我现在目前在小程序里面使用F2,1.我用了自定义图例,但是用你上面回答的那个方法不能实现对文字颜色的设置。2.Y轴能跟X轴一样画一条线吗?然后刻度还存在。 3.针对折线图的X轴刻度的虚线能能够删除吗?下面是我的截图
_20190120032715

第二个问题跟第三个问题我已经解决了,还差第一个,谢谢

这里是我设置图例的代码
123

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

3 participants