gpt4 book ai didi

javascript - jquery.flot.dashes.js 与 windows firefox 兼容吗?

转载 作者:可可西里 更新时间:2023-11-01 09:20:16 24 4
gpt4 key购买 nike

我正在使用 jquery.flot.dashes.js 绘制黑白图形,并且仍然有可区分的系列。尽管 Windows 上的 Firefox 出现问题,但此显示结果:

enter image description here

当预期结果是这样时:

enter image description here

jquery.flot.dashes.js 和 windows firefox 之间是否存在兼容性问题?该图在 mac 上与 firefox、chrome、safari 和 opera 一起正常工作。在测试的 windows 浏览器中,该图不适用于 firefox 和 windows 7 或 windows 8.1 专业版(我没有测试 vista 或 8 的软件)。该图适用于带有 chrome 的 Windows 7(未测试 IE)。该图适用于带有 chrome 和 IE 的 Windows 8.1 专业版。这个显示问题的根源是什么?有可用的补丁吗?

jquery.flot.dashes.js 源代码链接:

https://code.google.com/p/flot/issues/attachmentText?id=61&aid=-4351874625254130968&name=jquery.flot.dashes.js&token=30636c55acd3aa96d9850f8d77953384

正在使用的其他脚本:

jquery.flot.jsjquery.flot.selection.js我自己的自定义 js 文件,用于图形用户交互。

谢谢。

最佳答案

我可以使用最新的 Firefox 版本 31.0 重现该问题(我之前的版本 30.0 不存在该问题)。所以看起来 Firefox 是问题的原因。但问题不在于 flot.dashes,而在于基本的 flot:

当您按照 your question here 的答案中所述使用 radius: 0“绘制”点时, Firefox 除了虚线外还用 radius: 1 来绘制点。这会导致您在图像中获得的结果。

我还没有找到一种方法来防止这种情况发生。目前,您可以尝试 Mark 对您的其他问题的回答中的其他解决方案(修改 jquery.flot.js)。

关于javascript - jquery.flot.dashes.js 与 windows firefox 兼容吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24901469/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com