IE9 3d 曲面图
我正在寻找一个 API 或某种解决方案来在 IE9 中制作 3D 曲面图表,并且我喜欢 javascript-surface-plot 可以工作,但在 IE9 中不起作用。
还有其他方法可以像 IE9 中的图表一样进行 3D 渲染吗?
我对其他图表使用 Telerik 控件,但它们似乎没有 3D 表面图表。
我也考虑过使用 java applet,但希望保持负载轻量。
闪存不是一个选项。
只是澄清一下,当我说“3d”时,我并不是指闪亮的条形图。我的意思是 ax,y,z 渲染的场景可以用鼠标旋转,类似于 java-script-surface-plot 的完成方式。
谢谢!
I'm looking for an API or some sort of solution to do 3d surface charts within IE9, and I like how javascript-surface-plot works, but it does not work in IE9.
Are there any other ways to do 3d rendering like that for charts in IE9?
I'm using Telerik controls for my other charts, but they do not seem to have a 3d surface chart.
I've also considered the use of a java applet, but would like to keep the load lightweight.
Flash is not an option.
Just to clarify, when I say "3d" I don't mean shiny bar charts. I mean a x,y,z rendered scene that can be rotated with the mouse similar to how java-script-surface-plot is done.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
如果您喜欢 JavaScript 中的 3D 曲面图 并且您想使用 IE,那么看起来好像你只需要使用explorercanvas(一个polyfill)就可以在IE中工作。不过,它只是添加另一个 JavaScript 文件,这样您就不需要使用任何插件或小程序!
If you like the 3D surface plot in JavaScript and you want to use IE it seems as though you just need to take use of explorercanvas (a polyfill) to make it work in IE. It's just adding another JavaScript file though, and this way you don't need to use any plugins or applets!
我从未使用过这个,但是 d3 看起来很酷并且可能可以完成这项工作。看一下这个示例。
编辑:
经过进一步调查,我不确定这就是您需要的,尽管 d3 看起来确实不错,您不承认吗?
看起来确实很容易将其更改为在 IE9 中工作
在 SurfacePlot 中查看此函数。 如果您使用的是 IE8,那
该死的! (即或尝试使用Flash Canvas)。 IE8 对 VML 的支持很少,我认为 excanvas 在 IE8 中的运行速度甚至比 IE7 还要慢。
I've never used this, but d3 looks pretty cool and might do the job. Take a look at this example.
Edit:
After further investigation, I'm not sure that's what you'd need, though d3 does look pretty good, wouldn't you admit?
It does appear it'd be pretty easy to change it to work in IE9
take a look at this function in SurfacePlot.js
It'd bee tempted to just remove those lines relating to
isIE()
in your local copy and say if you're using IE8, be damned ! (That or attempt to use Flash Canvas). IE8 has little support for VML, and I think excanvas runs even slower in IE8 than IE7.哎呀。看起来我的 isIE() 函数已经过时了。我现在在曲面图中添加了更好的 IE 和画布支持检测。抱歉给您带来麻烦。 http://code.google.com/p/javascript-surface-plot/downloads/detail?name=JSSurfacePlot-V1.5.zip&can=2&q=
Oops. Looks like my isIE() function was well out of date. I've now added better IE and canvas-support detection to the surface plot. Sorry for the hassle. http://code.google.com/p/javascript-surface-plot/downloads/detail?name=JSSurfacePlot-V1.5.zip&can=2&q=