外掛說明
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.
螢幕擷圖
安裝方式
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 toPlotly.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.
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
0.4
Release Date – 10 November 2016
- First release of the Plot.wp plugin.