{"id":33985,"date":"2019-03-04T11:15:38","date_gmt":"2019-03-04T11:15:38","guid":{"rendered":"http:\/\/getshortcodes.com\/?post_type=docs&#038;p=33985"},"modified":"2022-08-03T07:16:59","modified_gmt":"2022-08-03T07:16:59","slug":"progress-pie","status":"publish","type":"docs","link":"https:\/\/getshortcodes.com\/docs\/progress-pie\/","title":{"rendered":"Progress Pie"},"content":{"rendered":"<div class=\"block-demo block-demo-details\">\n\t<div class=\"block-demo-viewport\">\n\t\t<div class=\"sue-progress-pie sue-progress-pie-align-none\" style=\"width:200px;height:200px\" data-percent=\"75\" data-size=\"200\" data-pie_width=\"10\" data-pie_color=\"#7ce2f7\" data-fill_color=\"#F73F43\"><canvas width=\"200\" height=\"200\"><\/canvas><\/p>\n<div style=\"color:#F73F43;line-height:200px;font-size:40px\"><span class=\"sue-progress-pie-before\"><\/span><span class=\"sue-progress-pie-text\">75<\/span><span class=\"sue-progress-pie-after\">%<\/span><\/div>\n<\/div>\n\t<\/div>\n\t<details class=\"block-demo-source\">\n\t\t<summary>Get the code<\/summary>\n\t\t<pre contenteditable=\"true\"><div class=\"sue-progress-pie sue-progress-pie-align-&quot;none&quot;\" style=\"width:&quot;200&quot;px;height:&quot;200&quot;px\" data-percent=\"&quot;75&quot;\" data-size=\"&quot;200&quot;\" data-pie_width=\"&quot;10&quot;\" data-pie_color=\"&quot;#7ce2f7&quot;\" data-fill_color=\"&quot;#F73F43&quot;\"><canvas width=\"&quot;200&quot;\" height=\"&quot;200&quot;\"><\/canvas><div style=\"color:&quot;#F73F43&quot;;line-height:&quot;200&quot;px;font-size:&quot;40&quot;px\"><span class=\"sue-progress-pie-before\"><\/span><span class=\"sue-progress-pie-text\">&quot;&quot;<\/span><span class=\"sue-progress-pie-after\">&quot;%&quot;<\/span><\/div><\/div><\/pre>\n\t<\/details>\n<\/div>\n\n\n<div class=\"block-demo block-demo-details\">\n\t<div class=\"block-demo-viewport\">\n\t\t<div class=\"su-row\">\n<div class=\"su-column su-column-size-1-3\">\n<div class=\"su-column-inner su-u-clearfix su-u-trim\">\n<div class=\"sue-progress-pie sue-progress-pie-align-center\" style=\"width:180px;height:180px\" data-percent=\"75\" data-size=\"180\" data-pie_width=\"30\" data-pie_color=\"#b9e092\" data-fill_color=\"#4dd100\"><canvas width=\"180\" height=\"180\"><\/canvas><\/p>\n<div style=\"color:#4dd100;line-height:180px;font-size:40px\"><span class=\"sue-progress-pie-before\"><\/span><span class=\"sue-progress-pie-text\">75<\/span><span class=\"sue-progress-pie-after\">%<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"su-column su-column-size-1-3\">\n<div class=\"su-column-inner su-u-clearfix su-u-trim\">\n<div class=\"sue-progress-pie sue-progress-pie-align-center\" style=\"width:180px;height:180px\" data-percent=\"63\" data-size=\"180\" data-pie_width=\"8\" data-pie_color=\"#e0f3f8\" data-fill_color=\"#e3004e\"><canvas width=\"180\" height=\"180\"><\/canvas><\/p>\n<div style=\"color:#e3004e;line-height:180px;font-size:80px\"><span class=\"sue-progress-pie-before\">$<\/span><span class=\"sue-progress-pie-text\">9<\/span><span class=\"sue-progress-pie-after\"><\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"su-column su-column-size-1-3\">\n<div class=\"su-column-inner su-u-clearfix su-u-trim\">\n<div class=\"sue-progress-pie sue-progress-pie-align-center\" style=\"width:180px;height:180px\" data-percent=\"77\" data-size=\"180\" data-pie_width=\"35\" data-pie_color=\"#f1f1f1\" data-fill_color=\"#0097fc\"><canvas width=\"180\" height=\"180\"><\/canvas><\/p>\n<div style=\"color:#0097fc;line-height:180px;font-size:21px\"><span class=\"sue-progress-pie-before\"><\/span><span class=\"sue-progress-pie-text\">Hi!<\/span><span class=\"sue-progress-pie-after\"><\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n\t<\/div>\n\t<details class=\"block-demo-source\">\n\t\t<summary>Get the code<\/summary>\n\t\t<pre contenteditable=\"true\"><div class=\"su-row\">\n<div class=\"su-column su-column-size-&quot;1-3&quot;\"><div class=\"su-column-inner su-u-clearfix su-u-trim\">\n<div class=\"sue-progress-pie sue-progress-pie-align-&quot;center&quot;\" style=\"width:&quot;180&quot;px;height:&quot;180&quot;px\" data-percent=\"&quot;75&quot;\" data-size=\"&quot;180&quot;\" data-pie_width=\"30\" data-pie_color=\"&quot;#b9e092&quot;\" data-fill_color=\"&quot;#4dd100&quot;\"><canvas width=\"&quot;180&quot;\" height=\"&quot;180&quot;\"><\/canvas><div style=\"color:&quot;#4dd100&quot;;line-height:&quot;180&quot;px;font-size:40px\"><span class=\"sue-progress-pie-before\"><\/span><span class=\"sue-progress-pie-text\">&quot;75&quot;<\/span><span class=\"sue-progress-pie-after\">&quot;%&quot;<\/span><\/div><\/div>\n<\/div><\/div>\n<div class=\"su-column su-column-size-&quot;1-3&quot;\"><div class=\"su-column-inner su-u-clearfix su-u-trim\">\n<div class=\"sue-progress-pie sue-progress-pie-align-&quot;center&quot;\" style=\"width:&quot;180&quot;px;height:&quot;180&quot;px\" data-percent=\"&quot;63&quot;\" data-size=\"&quot;180&quot;\" data-pie_width=\"&quot;8&quot;\" data-pie_color=\"&quot;#e0f3f8&quot;\" data-fill_color=\"&quot;#e3004e&quot;\"><canvas width=\"&quot;180&quot;\" height=\"&quot;180&quot;\"><\/canvas><div style=\"color:&quot;#e3004e&quot;;line-height:&quot;180&quot;px;font-size:&quot;80&quot;px\"><span class=\"sue-progress-pie-before\">&quot;$&quot;<\/span><span class=\"sue-progress-pie-text\">&quot;9&quot;<\/span><span class=\"sue-progress-pie-after\"><\/span><\/div><\/div>\n<\/div><\/div>\n<div class=\"su-column su-column-size-&quot;1-3&quot;\"><div class=\"su-column-inner su-u-clearfix su-u-trim\">\n<div class=\"sue-progress-pie sue-progress-pie-align-&quot;center&quot;\" style=\"width:&quot;180&quot;px;height:&quot;180&quot;px\" data-percent=\"&quot;77&quot;\" data-size=\"&quot;180&quot;\" data-pie_width=\"&quot;35&quot;\" data-pie_color=\"&quot;#f1f1f1&quot;\" data-fill_color=\"&quot;#0097fc&quot;\"><canvas width=\"&quot;180&quot;\" height=\"&quot;180&quot;\"><\/canvas><div style=\"color:&quot;#0097fc&quot;;line-height:&quot;180&quot;px;font-size:&quot;21&quot;px\"><span class=\"sue-progress-pie-before\"><\/span><span class=\"sue-progress-pie-text\">&quot;Hi!&quot;<\/span><span class=\"sue-progress-pie-after\"><\/span><\/div><\/div>\n<\/div><\/div>\n<\/div><\/pre>\n\t<\/details>\n<\/div>\n\n\n\n<p class=\"has-black-color has-light-background-color has-text-color has-background\">This shortcode is available in <a href=\"\/pricing\/\">Shortcodes Ultimate Pro<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"description\">Description<\/h2>\n\n\n\n<p>This shortcode allows you to create beautiful progress pies. You can adjust the percentage, set custom text and colors.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"options\">Options<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><th>Option name<\/th><th>Possible values<\/th><th>Default value<\/th><\/tr><tr><td><strong>percent<\/strong><br>Specify percentage<\/td><td>Number from 0 to 100<\/td><td>75<\/td><\/tr><tr><td><strong>text<\/strong><br>You can show custom text instead of percent. Leave this field empty to show the percent<\/td><td>Any text value<\/td><td><em>\u2013 none \u2013<\/em><\/td><\/tr><tr><td><strong>before<\/strong><br>This content will be shown before the percent<\/td><td>Any text value<\/td><td><em>\u2013 none \u2013<\/em><\/td><\/tr><tr><td><strong>after<\/strong><br>This content will be shown after the percent<\/td><td>Any text value<\/td><td><em>\u2013 none \u2013<\/em><\/td><\/tr><tr><td><strong>size<\/strong><br>Pie size (pixels)<\/td><td>Number from 20 to 1200<\/td><td>200<\/td><\/tr><tr><td><strong>pie_width<\/strong><br>Pie border width (percents)<\/td><td>Number from 0 to 100<\/td><td>30<\/td><\/tr><tr><td><strong>text_size<\/strong><br>Pie text size (pixels)<\/td><td>Number from 10 to 120<\/td><td>40<\/td><\/tr><tr><td><strong>align<\/strong><br>Pie alignment<\/td><td>none (None)<br>left (Left)<br>center (Center)<br>right (Right)<\/td><td>center<\/td><\/tr><tr><td><strong>pie_color<\/strong><br>Unfilled pie background color<\/td><td>#HEX color<\/td><td>#f0f0f0<\/td><\/tr><tr><td><strong>fill_color<\/strong><br>Filled pie background color<\/td><td>#HEX color<\/td><td>#97daed<\/td><\/tr><tr><td><strong>text_color<\/strong><br>Select pie text color<\/td><td>#HEX color<\/td><td>#cccccc<\/td><\/tr><tr><td><strong>class<\/strong><br>Additional CSS class name(s) separated by space(s)<\/td><td>CSS class name(s) separated by space(s)<\/td><td><em>\u2013 none \u2013<\/em><\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"featured_media":36687,"template":"","docs_category":[21],"class_list":["post-33985","docs","type-docs","status-publish","has-post-thumbnail","hentry","docs_category-shortcodes"],"_links":{"self":[{"href":"https:\/\/getshortcodes.com\/api\/wp\/v2\/docs\/33985","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/getshortcodes.com\/api\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/getshortcodes.com\/api\/wp\/v2\/types\/docs"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/getshortcodes.com\/api\/wp\/v2\/media\/36687"}],"wp:attachment":[{"href":"https:\/\/getshortcodes.com\/api\/wp\/v2\/media?parent=33985"}],"wp:term":[{"taxonomy":"docs_category","embeddable":true,"href":"https:\/\/getshortcodes.com\/api\/wp\/v2\/docs_category?post=33985"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}