[wp]グラフパターン プラグイン

https://wordpress.org/plugins/googlegraph/faq/

googlegraph

[wp]ワードプレスにGooglechartの円グラフ!これは便利だ!google graph | KandaNewsNetwork : https://4knn.tv/wp-google-graph-plug-in/

パターンA

[barChart width=”490px” stacked=”1″
legend=”{ position: ‘top’, maxLines: 2 }”
vaxis=”{title: ‘in $000’, titleTextStyle: {color: ‘blue’}}”
haxis=”{title: ‘Year’, titleTextStyle: {color: ‘blue’}}”] [‘Year’, ‘Sales’, ‘Expenses’],
[‘2004’, 1000, 400],
[‘2005’, 1170, 460],
[‘2006’, 660, 1120],
[‘2007’, 1030, 540] [/barChart]

パターンB

[barChart width=”500px” stacked=”1″
legend=”{ position: ‘top’, maxLines: 2 }”
vaxis=”{title: ‘in $000’, titleTextStyle: {color: ‘blue’}}”
haxis=”{title: ‘Year’, titleTextStyle: {color: ‘blue’}}”] [‘Year’, ‘Visitations’, { role: ‘style’ } ],
[‘2010’, 10, ‘color: gray’],
[‘2010’, 14, ‘color: #76A7FA’],
[‘2020’, 16, ‘opacity: 0.2’],
[‘2040’, 22, ‘stroke-color: #703593; stroke-width: 4; fill-color: #C5A5CF’],
[‘2040’, 28, ‘stroke-color: #871B47; stroke-opacity: 0.6; stroke-width: 8; fill-color: #BC5679; fill-opacity: 0.2’] [/barChart] [barChart width=”500px” stacked=”1″
legend=”{ position: ‘top’, maxLines: 2 }”
vaxis=”{title: ‘in $000’, titleTextStyle: {color: ‘blue’}}”
haxis=”{title: ‘NewsPaper MA’, titleTextStyle: {color: ‘blue’}}”] [‘NewsPaper’, ‘Million $’, { role: ‘style’ } ],
[‘WSJ.com‘, 5700, ‘color: gray’],
[‘Tribune’, 2730, ‘color: #76A7FA’],
[‘FT.com‘, 1296, ‘opacity: 0.2’],
[‘washingtonpost’, 250, ‘stroke-color: #703593; stroke-width: 4; fill-color: #C5A5CF’],
[/barChart]

パターンC

[barChart width=”500px” stacked=”1″
legend=”{ position: ‘top’, maxLines: 2 }”
vaxis=”{title: ‘in $M’, titleTextStyle: {color: ‘blue’}}”
haxis=”{title: ‘Period’, titleTextStyle: {color: ‘blue’}}”] [‘Genre’, ‘Fantasy & Sci Fi’, ‘Romance’, ‘Mystery/Crime’, ‘General’,’Western’, ‘Literature’, { role: ‘annotation’ } ],
[‘2010’, 10, 24, 20, 32, 18, 5, ”],
[‘2020’, 16, 22, 23, 30, 16, 9, ”],
[‘2030’, 28, 19, 29, 30, 12, 13, ”],
[/barChart]