{"id":53721,"date":"2017-01-20T01:24:01","date_gmt":"2017-01-20T01:24:01","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/charts-for-tablepress-chartist\/"},"modified":"2022-04-21T08:43:09","modified_gmt":"2022-04-21T08:43:09","slug":"charts-for-tablepress-chartist","status":"publish","type":"plugin","link":"https:\/\/pap-aw.wordpress.org\/plugins\/charts-for-tablepress-chartist\/","author":8862948,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.10.1","stable_tag":"0.10.1","tested":"5.9.13","requires":"5.9","requires_php":"","requires_plugins":"","header_name":"TablePress Extension: Chartist","header_author":"Silsha Fux","header_description":"","assets_banners_color":"fed1d2","last_updated":"2022-04-21 08:43:09","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/sharethemeal.org\/en\/index.html","header_plugin_uri":"https:\/\/github.com\/silsha\/tablepress_chartist","header_author_uri":"https:\/\/silsha.me","rating":5,"author_block_rating":0,"active_installs":800,"downloads":17811,"num_ratings":5,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"0.10.1":{"tag":"0.10.1","author":"silsha","date":"2022-04-21 08:43:09"},"0.7":{"tag":"0.7","author":"silsha","date":"2017-01-21 14:14:35"},"0.8":{"tag":"0.8","author":"silsha","date":"2017-02-23 16:29:52"},"0.9":{"tag":"0.9","author":"silsha","date":"2017-11-27 18:41:25"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":5},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":1579266,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":1579266,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":1579266,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":1579266,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.10.1","0.7","0.8","0.9"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":1579266,"resolution":"1","location":"assets","locale":""},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":1579266,"resolution":"2","location":"assets","locale":""},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":1579266,"resolution":"3","location":"assets","locale":""},"screenshot-4.jpg":{"filename":"screenshot-4.jpg","revision":1579266,"resolution":"4","location":"assets","locale":""},"screenshot-5.jpg":{"filename":"screenshot-5.jpg","revision":1579266,"resolution":"5","location":"assets","locale":""},"screenshot-6.jpg":{"filename":"screenshot-6.jpg","revision":1579266,"resolution":"6","location":"assets","locale":""},"screenshot-7.jpg":{"filename":"screenshot-7.jpg","revision":1579266,"resolution":"7","location":"assets","locale":""},"screenshot-8.jpg":{"filename":"screenshot-8.jpg","revision":1579266,"resolution":"8","location":"assets","locale":""},"screenshot-9.jpg":{"filename":"screenshot-9.jpg","revision":1579266,"resolution":"9","location":"assets","locale":""}},"screenshots":{"1":"<code>[table-chart id=1 \/]<\/code>","2":"<code>[table-chart id=1 showarea=true \/]<\/code>","3":"<code>[table-chart id=1 showarea=true linesmooth=false \/]<\/code>","4":"<code>[table-chart id=1 linesmooth=false showpoint=false \/]<\/code>","5":"<code>[table-chart id=1 showarea=true showline=false showpoint=false \/]<\/code>","6":"<code>[table-chart id=1 low=0 high=8 \/]<\/code>","7":"<code>[table-chart id=1 chart=bar \/]<\/code>","8":"<code>[table-chart id=1 chart=pie \/]<\/code>","9":"<code>[table-chart id=1 chart=percent \/]<\/code>"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2510,606,2289,2288],"plugin_category":[],"plugin_contributors":[78884,130855],"plugin_business_model":[],"class_list":["post-53721","plugin","type-plugin","status-publish","hentry","plugin_tags-chart","plugin_tags-responsive","plugin_tags-table","plugin_tags-tablepress","plugin_contributors-pers","plugin_contributors-silsha","plugin_committers-silsha"],"banners":{"banner":"https:\/\/ps.w.org\/charts-for-tablepress-chartist\/assets\/banner-772x250.jpg?rev=1579266","banner_2x":"https:\/\/ps.w.org\/charts-for-tablepress-chartist\/assets\/banner-1544x500.jpg?rev=1579266","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/charts-for-tablepress-chartist\/assets\/icon-128x128.jpg?rev=1579266","icon_2x":"https:\/\/ps.w.org\/charts-for-tablepress-chartist\/assets\/icon-256x256.jpg?rev=1579266","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/charts-for-tablepress-chartist\/assets\/screenshot-1.jpg?rev=1579266","caption":"<code>[table-chart id=1 \/]<\/code>"},{"src":"https:\/\/ps.w.org\/charts-for-tablepress-chartist\/assets\/screenshot-2.jpg?rev=1579266","caption":"<code>[table-chart id=1 showarea=true \/]<\/code>"},{"src":"https:\/\/ps.w.org\/charts-for-tablepress-chartist\/assets\/screenshot-3.jpg?rev=1579266","caption":"<code>[table-chart id=1 showarea=true linesmooth=false \/]<\/code>"},{"src":"https:\/\/ps.w.org\/charts-for-tablepress-chartist\/assets\/screenshot-4.jpg?rev=1579266","caption":"<code>[table-chart id=1 linesmooth=false showpoint=false \/]<\/code>"},{"src":"https:\/\/ps.w.org\/charts-for-tablepress-chartist\/assets\/screenshot-5.jpg?rev=1579266","caption":"<code>[table-chart id=1 showarea=true showline=false showpoint=false \/]<\/code>"},{"src":"https:\/\/ps.w.org\/charts-for-tablepress-chartist\/assets\/screenshot-6.jpg?rev=1579266","caption":"<code>[table-chart id=1 low=0 high=8 \/]<\/code>"},{"src":"https:\/\/ps.w.org\/charts-for-tablepress-chartist\/assets\/screenshot-7.jpg?rev=1579266","caption":"<code>[table-chart id=1 chart=bar \/]<\/code>"},{"src":"https:\/\/ps.w.org\/charts-for-tablepress-chartist\/assets\/screenshot-8.jpg?rev=1579266","caption":"<code>[table-chart id=1 chart=pie \/]<\/code>"},{"src":"https:\/\/ps.w.org\/charts-for-tablepress-chartist\/assets\/screenshot-9.jpg?rev=1579266","caption":"<code>[table-chart id=1 chart=percent \/]<\/code>"}],"raw_content":"<!--section=description-->\n<p>Using <a href=\"http:\/\/gionkunz.github.io\/chartist-js\/\">Chartist.js<\/a>, this <a href=\"https:\/\/wordpress.org\/plugins\/tablepress\/\">TablePress<\/a> Extension creates a responsive chart based on the data in a TablePress table.<\/p>\n\n<h4>Use<\/h4>\n\n<p>Add the Shortcode <code>[table-chart id=123 \/]<\/code> to a post or page to create a chart from the TablePress table 123.<\/p>\n\n<p>Optional parameters:<\/p>\n\n<ul>\n<li>Show\/hide chart line: <code>showline=true<\/code> (default: true)<\/li>\n<li>Show\/hide show chart area: <code>showarea=false<\/code> (default: false)<\/li>\n<li>Set chart y low: <code>low=0<\/code> (default: table low)<\/li>\n<li>Set chart y high: <code>high=10<\/code> (default: table high)<\/li>\n<li>Set line with of the donut chart: <code>donut_width=200<\/code> (default: false)<\/li>\n<li>Enable\/disable smooth line: <code>linesmooth=true<\/code> (default: true)<\/li>\n<li>Enable\/disable line points: <code>showpoint=true<\/code> (default: true)<\/li>\n<li>Enable\/disable horizontal bars: <code>horizontal=true<\/code> (default: false)<\/li>\n<li>Enable\/disable stacked bars: <code>stack=true<\/code> (default: false)<\/li>\n<li>Set chart aspect ratio: <code>aspect_ratio=3:4<\/code> (default: 3:4) Alternatives: 1, 15:16, 8:9, 5:6, 4:5, 3:4, 2:3, 5:8, 1:1.618, 3:5, 9:16, 8:15, 1:2, 2:5, 3:8, 1:3, or 1:4<\/li>\n<li>Select chart type: <code>chart=bar<\/code> (default: line) Alternatives: line, bar, pie, donut, percent or piepercent (mix of pie and percent).<\/li>\n<li>Set label offset: <code>label_offset=100<\/code> (default: false)<\/li>\n<li>Set chart padding: <code>chart_padding=100<\/code> (default: false)<\/li>\n<li>Use animations (not available for all chart types): <code>animation=buildup<\/code> (default: false)<\/li>\n<\/ul>\n\n<p>If the \"Table Head Row\" option is enabled for the table, the Extension will use the head row data for the chart labels.\nThe other rows will be shown as lines or bars. Pie or percent charts will only use the first data row. Percent charts will ignore the header row.<\/p>\n\n<h4>CSS customizations<\/h4>\n\n<p>If you'd like to overide <a href=\"http:\/\/gionkunz.github.io\/chartist-js\/getting-started.html#the-sass-way\">the default style<\/a>, you can add a <code>tablepress-chartist-custom.css<\/code> in <code>wp-content<\/code> directory. It will be loaded after the Extension's default CSS file <code>libdist\/chartist.min.css<\/code>.<\/p>\n\n<p><strong>Example:<\/strong><\/p>\n\n<pre><code>\/**\n * SVG Shape CSS properties: http:\/\/tutorials.jenkov.com\/svg\/svg-and-css.html#shape-css-properties\n *\/\n\n\/* First line \/ bar is .ct-series-a, next is .ct-series-b etc. *\/\n.ct-chart .ct-series.ct-series-a .ct-bar,\n.ct-chart .ct-series.ct-series-a .ct-line,\n.ct-chart .ct-series.ct-series-a .ct-point  {\n    stroke: #073DA0;\n}\n\n.ct-series .ct-line, .ct-chart .ct-bar {\n    fill: none;\n    stroke-width: 10px;\n}\n\n.ct-chart .ct-point {\n    stroke-width: 10px;\n    stroke-linecap: round;\n}\n<\/code><\/pre>\n\n<!--section=installation-->\n<p>Prerequisite (install first): The <a href=\"https:\/\/wordpress.org\/plugins\/tablepress\/\">TablePress<\/a> plugin<\/p>\n\n<ol>\n<li>In <code>Plugins-&gt;Add New<\/code>, search for <code>tablepress chartist<\/code><\/li>\n<li>Click <code>Install Now<\/code><\/li>\n<li>When the plugin is installed, activate it.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>0.10<\/h4>\n\n<ul>\n<li>Fixed error when opening the page in the backend. (Thanks to <a href=\"https:\/\/wordpress.org\/support\/topic\/problems-with-chartist-plugin\/\">andrewleonard<\/a>)<\/li>\n<\/ul>\n\n<h4>0.9<\/h4>\n\n<ul>\n<li>Updated chartist.js to 0.11.0<\/li>\n<\/ul>\n\n<h4>0.8<\/h4>\n\n<ul>\n<li>Added support for pie charts with percent labels<\/li>\n<li>Added animation for bar charts.<\/li>\n<li>Added parameters <code>label_offset<\/code>, <code>chart_padding<\/code> and <code>donut_width<\/code>.<\/li>\n<\/ul>\n\n<h4>0.7<\/h4>\n\n<ul>\n<li>Added support for horizontal bars (<code>horizontal=true<\/code>)<\/li>\n<li>Added support for stacked bars (<code>stack=true<\/code>)<\/li>\n<li>Added simple animation for line charts<\/li>\n<li>Merged \u201cAddition of donut chart type #1\u201d by <a href=\"https:\/\/github.com\/shaharhesse\">shaharhesse<\/a><\/li>\n<\/ul>\n\n<h4>0.6<\/h4>\n\n<p>Switch to <code>[table-chart]<\/code> Shortcode.<\/p>\n\n<h4>0.5.1<\/h4>\n\n<ul>\n<li>Revert to PHP json_encode().<\/li>\n<\/ul>\n\n<h4>0.5<\/h4>\n\n<ul>\n<li><strong>Breaking change<\/strong>: Simplified optional parameters (removed prefix <code>chartist_<\/code>), new optional parameters are: showline, showarea, low, high, linesmooth, showpoint and aspect_ratio. See examples in <a href=\"https:\/\/wordpress.org\/plugins\/tablepress-chartist\/screenshots\/\">screenshots<\/a>.<\/li>\n<li>Added support for <code>chart=pie<\/code> and <code>chart=percent<\/code>.<\/li>\n<\/ul>\n\n<h4>0.4<\/h4>\n\n<ul>\n<li>Added support for bar chart: <code>chartist_chart=bar<\/code>.<\/li>\n<\/ul>\n\n<h4>0.3<\/h4>\n\n<ul>\n<li>0.3 Added support for CSS customizations.<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Added more optional parameters.<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Create a responsive chart based on the data in a TablePress table.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/53721","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=53721"}],"author":[{"embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/silsha"}],"wp:attachment":[{"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=53721"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=53721"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=53721"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=53721"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=53721"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=53721"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}