在 IE 中的流程图/画布上使用背景图像
我正在尝试使用基于 excanvas/JQuery 的“Flot”插件,但想使用背景图像。然而,目前存在一个错误,这意味着无法使用 CSS 将背景图像设置到画布 - 该错误描述为 此处和在这里。
有人设法解决这个错误吗?令人难以置信的是,使用 CSS 为画布提供背景图像似乎在所有其他浏览器中都有效;但不使用IE和excanvas!
任何帮助将不胜感激!我尝试过嵌套 div 等 - 但我已经没有主意了! 提前致谢
编辑: 这里有一个可能的解决方法 - http://code.google.com/p /flot/issues/detail?id=129 - 但它似乎有点过时,因为很多 flot 代码不再相同。我想它确实给了我一些开始的东西!如果有人有更简单的解决方案,我很高兴听到!
I'm trying to use the excanvas/JQuery based "Flot" plugin but would like to use a background image. At the moment however there is a bug that means it's not possible to set a background image to the canvas using CSS - the bug is described here and here.
Has anyone managed to get around this bug? It's incredibly frustrating as using CSS to provide a background image to a canvas appears to be valid in every other browser; but not using IE and excanvas!
Any help would be appreciated! I've tried nested divs and more - and I'm running out of ideas!
Thanks in advance
Edit:
There's a possible workaround here - http://code.google.com/p/flot/issues/detail?id=129 - but it seems a bit outdated as a lot of the flot code isn't the same anymore. I guess it does give me something to start with however! If anybody has an easier solution I'd be happy to hear it!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论