移行先サイト
良く使う文法とプラグインの文法を整理しておく。 特にCharterが複雑なので念入りに整理する。
星を5個表示し、1個だけ有効化する
{{stars>1/5}}
星を3個表示し、2.5個?星をつける
{{stars>-2.5/3}}
注釈をアイコンつきのボックスに書けるプラグイン。日本語OK。
メモ
<note>ここにメモを書く</note>
ひらめき
<note tip>ここにチップを書く</note>
重要
<note important>ここに重要なことを書く</note>
警告
<note warning>ここに警告を書く</note>
<box 50% left blue|ヘッダキャプション> * ボックスのコンテンツ * 複数行も大丈夫です </box|フッタキャプション>
ヘッダキャプション
フッタキャプション
よく使いそうなパラメータ(残りは以下に記載したサンプルでほとんど網羅)
align | left,center,right |
type | line, lineFilled, cubic, cubicFilled, bar, barStacked, barOverlayed, pie, pie3d, pieExploded |
折れ線グラフ
<charter> title = Simple line chart size = 700x230 align = center bgcolor = #eeeeee type = line dots = 3 legendEntries = January, 2月 0,70,70,0,0,70,70,0,0,70 0.5,2,4.5,8,12.5,18,24.5,32,40.5,50 </charter>
棒グラフ
<charter> title = 日本語タイトル size = 500x230 align = left alpha = 90 bgcolor = #eeeeee type = bar legendEntries = January, February, March thresholds = 0 1,4,-3,2,-3,3,2,1,0,7,4 3,3,-4,1,-2,2,1,0,-1,6,3 4,1,2,-1,-4,-2,3,2,1,2,2 </charter>
円グラフ
<charter> title = 3D pie chart size = 400x300 align = right bgcolor = #cccccc type = pie3d labelSerie = 2 pieExploded = on 10,2,3,5,3 Jan, Feb, Mar, Apr, 日本語 </charter>