该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Plot.wp

描述

Plot.wp enables the [plotly] shortcode, allowing easy inclusion of JSON-based plots using the plotly API. Just add valid plotly JSON between the [plotly] and [/plotly] shortcodes, and revel as an interactive plot appears in your post.

屏幕截图

  • A plot created with the [plotly]...[/plotly] shortcode.

安装

Upload the Plot.wp plugin to your blog, Activate it, then use the [plotly]...[/plotly] shortcode to start plotting!

常见问题

How do I add a plot to my post/page?

Plots are added using the [plotly]...[/plotly] shortcode. In between the shortcode must be a valid JSON object that will be passed to Plotly.plot('myDiv', ...).

[plotly] {   "data": [{     "x": [1, 2, 3, 4],     "y": [27, 28, 29, 50],     "mode": "lines+markers",     "type": "scatter"   }],   "layout": {     "margin": {       "t": 40, "r": 40, "b": 40, "l":40     }   } } [/plotly] 

For more information about the plotly.js API, see the online documentation.

评价

此插件暂无评价。

贡献者及开发者

“Plot.wp” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Plot.wp”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

0.4

Release Date – 10 November 2016

  • First release of the Plot.wp plugin.