简体   繁体   English

带有wordpress的HTML5 Canvas

[英]HTML5 Canvas with wordpress

I would like to try a website that will represented as a graph related to prices changes . 我想尝试一个网站,它将代表与价格变化相关的图表。 It will be based on wordpress . 它将基于wordpress。 in other words , i will keep prices list in wordpress post meta and i would like to show in frontend as a graph . 换句话说,我将保持wordpress post meta中的价格列表,我想在前端显示为图形。

I wanna know is should i use HTML5 canvas for showing graph ??? 我想知道我应该使用HTML5画布来显示图形??? . Is that reliable enough to use ?? 这可靠到足以使用?? and also about learning curve since i am totally new about graphical data ???. 还有关于学习曲线,因为我对图形数据全新了??? If HTML isn't reliable enough , is there any other ways to use it ??? 如果HTML不够可靠,有没有其他方法可以使用它?

Both canvas and SVG work just fine with any wordpress install. canvas和SVG都适用于任何wordpress安装。

If you don't know anything about the technologies, a library is probably your best bet for getting started. 如果您对这些技术一无所知,那么图书馆可能是您入门的最佳选择。

Raphael for instance, the SVG library, makes creating some graphs very easy. 例如, Raphael ,SVG库,可以很容易地创建一些图形。 Look at their demos. 看看他们的演示。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM