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

火狐浏览器下图表的显示会有问题 #19

Open
SangLiang opened this issue Feb 8, 2023 · 3 comments
Open

火狐浏览器下图表的显示会有问题 #19

SangLiang opened this issue Feb 8, 2023 · 3 comments
Assignees

Comments

@SangLiang
Copy link

平台:windows10
kubecube版本:1.4
火狐版本:109.0.1
截图如下:

image

@SangLiang
Copy link
Author

@wt911122 在jchart库里font的取值存在问题
下图浅色的是chrome的fontSize取值为 “16px font”,而黑色的截图为火狐的,font取值为"400 16px font" ,直接用parseFloat来转换的话,火狐的fontsize就变成了400了

 const font = getComputedStyle(container).font;
 const fontSize = parseFloat(font); //这个代码会导致火狐浏览器下直接取到400的字体大小

1675913359519

image

@sjm1202
Copy link
Collaborator

sjm1202 commented Feb 14, 2023

@SangLiang 感谢反馈,我们将在新版本进行修复

@SangLiang
Copy link
Author

@SangLiang 感谢反馈,我们将在新版本进行修复

JChart库的问题,已经提了pr

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

2 participants