react-native-charts-wrapper icon indicating copy to clipboard operation
react-native-charts-wrapper copied to clipboard

您好!请问,xAxis现在支持 '\n'这一转义符么

Open gaotao917040747 opened this issue 5 years ago • 3 comments

gaotao917040747 avatar Apr 12 '20 09:04 gaotao917040747

我也是想问这个,我的xAxis字太长了,因此导致字叠在一起。 请问有什么方法吗?

nolife08021 avatar Sep 15 '21 05:09 nolife08021

中间加换行符,或者把你要作为xAxis的值变成单字列或指定每行字数的列(xVal.replace(/[^\x00-\xff]/g, "$&\x01").replace(/.{1}\x01?/g, "$&\n").replace(/\x01/g, ""))  然后增加 xAxis显示区域高度 

成都鼎弘科技有限公司 400-017-0016 高桃 13708178104 QQ:917040747 Tel:028-85178188   Fax:028-85149168

 

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2021年9月15日(星期三) 中午1:53 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [wuxudong/react-native-charts-wrapper] 您好!请问,xAxis现在支持 '\n'这一转义符么 (#696)

我也是想问这个,我的xAxis字太长了,因此导致字叠在一起。 请问有什么方法吗?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

gaotao917040747 avatar Sep 15 '21 06:09 gaotao917040747

不好意思 看错了 我用的是另一个插件  victory-native https://formidable.com/open-source/victory/docs/native/

成都鼎弘科技有限公司 400-017-0016 高桃 13708178104bu QQ:917040747 Tel:028-85178188   Fax:028-85149168

 

------------------ 原始邮件 ------------------ 发件人: "wuxudong/react-native-charts-wrapper" @.>; 发送时间: 2021年9月15日(星期三) 中午1:53 @.>; @.@.>; 主题: Re: [wuxudong/react-native-charts-wrapper] 您好!请问,xAxis现在支持 '\n'这一转义符么 (#696)

我也是想问这个,我的xAxis字太长了,因此导致字叠在一起。 请问有什么方法吗?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

gaotao917040747 avatar Sep 15 '21 06:09 gaotao917040747