{"id":45,"date":"2024-12-08T23:25:42","date_gmt":"2024-12-08T23:25:42","guid":{"rendered":"https:\/\/www.datapetaniterlatih.fortasbi.org\/host\/?page_id=45"},"modified":"2024-12-08T23:31:59","modified_gmt":"2024-12-08T23:31:59","slug":"chart-2021","status":"publish","type":"page","link":"https:\/\/www.datapetaniterlatih.fortasbi.org\/host\/chart-2021\/","title":{"rendered":"Chart 2021"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"45\" class=\"elementor elementor-45\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-aaeface elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"aaeface\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-9454b5c\" data-id=\"9454b5c\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-c8be45f elementor-widget elementor-widget-pie_chart\" data-id=\"c8be45f\" data-element_type=\"widget\" data-widget_type=\"pie_chart.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t<div class=\"chart-card\">\n\t\t<div class=\"\">\n\t\t\t                <h4 class=\"heading graphina-chart-heading\" style=\"text-align:center;color:#000000;\">\n\t\t\t\t\tJumlah Petani Laki-laki &amp; Perempuan\t\t\t\t<\/h4>\n\t\t\t\t                <p class=\"sub-heading graphina-chart-sub-heading\" style=\"text-align:center;color:#000000;\">\n\t\t\t\t\t\t\t\t\t<\/p>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"chart-box\">\n\t\t\t\t\t\t\t\t\t<div class=\"chart-texture pie-chart-c8be45f\"\n\t\t\t\t\t\tstyle=\"min-height:350px;\"\n\t\t\t\t\t\tid='pie_chartc8be45f'><\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<div style=\"height:350px;\t\t\t\tdisplay: flex;justify-content: center;align-items: center;\"\n\t\t\tclass=\"d-none area-texture pie-chart-c8be45f-loader\" >\n\t\t\t\t\t\t<p class=\"graphina-filter-notext d-none\" style=\"text-align: center;\">\n\t\t\t\tNo Data Found\t\t\t<\/p>\n\t\t<\/div>\n\t<\/div>\n\t\t\t\t<script>\n\n\t\t\t\t(function (){\n\t\t\t\t\tif (typeof isInit === 'undefined') {\n\t\t\t\t\t\tvar isInit = {};\n\t\t\t\t\t}\n\t\t\t\t\tisInit['c8be45f'] = false;\n\n\t\t\t\t\tconst myElement = document.querySelector(\".pie-chart-c8be45f\");\n\t\t\t\t\tconst pieOptions = {\n\t\t\t\t\t\tseries: [981,365],\n\t\t\t\t\t\tchart: {\n\t\t\t\t\t\t\tbackground: '',\n\t\t\t\t\t\t\theight: parseInt('350'),\n\t\t\t\t\t\t\ttype: 'pie',\n\t\t\t\t\t\t\tfontFamily: 'Poppins',\n\t\t\t\t\t\t\tlocales: [JSON.parse('{\"name\":\"en\",\"options\":{\"toolbar\":{\"download\":\"Download SVG\",\"selection\":\"Selection\",\"selectionZoom\":\"Selection Zoom\",\"zoomIn\":\"Zoom In\",\"zoomOut\":\"Zoom Out\",\"pan\":\"Panning\",\"reset\":\"Reset Zoom\",\"menu\":\"Menu\",\"exportToSVG\":\"Download SVG\",\"exportToPNG\":\"Download PNG\",\"exportToCSV\":\"Download CSV\"}}}')],\n\t\t\t\t\t\t\tdefaultLocale: \"en\",\n\t\t\t\t\t\t\ttoolbar: {\n\t\t\t\t\t\t\t\toffsetX: parseInt('0') || 0,\n\t\t\t\t\t\t\t\toffsetY: parseInt('0')|| 0,\n\t\t\t\t\t\t\t\tshow: '',\n\t\t\t\t\t\t\t\texport: {\n\t\t\t\t\t\t\t\t\tcsv: {\n\t\t\t\t\t\t\t\t\t\tfilename: \"c8be45f\"\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tsvg: {\n\t\t\t\t\t\t\t\t\t\tfilename: \"c8be45f\"\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tpng: {\n\t\t\t\t\t\t\t\t\t\tfilename: \"c8be45f\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tanimations: {\n\t\t\t\t\t\t\t\tenabled: '1',\n\t\t\t\t\t\t\t\tspeed: '800',\n\t\t\t\t\t\t\t\tdelay: '150',\n\t\t\t\t\t\t\t\tdynamicAnimation: {\n\t\t\t\t\t\t\t\t\tenabled: true\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\tplotOptions: {\n\t\t\t\t\t\t\tpie: {\n\t\t\t\t\t\t\t\tdonut: {\n\t\t\t\t\t\t\t\t\tlabels: {\n\t\t\t\t\t\t\t\t\t\tshow: 'yes',\n\t\t\t\t\t\t\t\t\t\tvalue: {\n\t\t\t\t\t\t\t\t\t\t\tfontFamily: 'Poppins',\n\t\t\t\t\t\t\t\t\t\t\tfontWeight: '',\n\t\t\t\t\t\t\t\t\t\t\tcolor: '#000000',\n\t\t\t\t\t\t\t\t\t\t\tfontSize: '12px',\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\ttotal: {\n\t\t\t\t\t\t\t\t\t\t\tshow: '',\n\t\t\t\t\t\t\t\t\t\t\tshowAlways:'',\n\t\t\t\t\t\t\t\t\t\t\tlabel: 'Total',\n\t\t\t\t\t\t\t\t\t\t\tfontFamily: 'Poppins',\n\t\t\t\t\t\t\t\t\t\t\tfontWeight: '',\n\t\t\t\t\t\t\t\t\t\t\tcolor: '#000000',\n\t\t\t\t\t\t\t\t\t\t\tformatter: function (w) {\n\t\t\t\t\t\t\t\t\t\t\t\tlet totals = w.globals.seriesTotals.reduce((a, b) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\treturn  a + b;\n\t\t\t\t\t\t\t\t\t\t\t\t}, 0)\n\t\t\t\t\t\t\t\t\t\t\t\tlet prefix = ''\n\t\t\t\t\t\t\t\t\t\t\t\tlet postfix = ''\n\t\t\t\t\t\t\t\t\t\t\t\tlet valueInStringShow =  'no'\n\t\t\t\t\t\t\t\t\t\t\t\tlet valueInString =  parseInt('0')\n\t\t\t\t\t\t\t\t\t\t\t\tif(''){\n\t\t\t\t\t\t\t\t\t\t\t\t\ttotals= graphinNumberWithCommas(totals,',')\n\t\t\t\t\t\t\t\t\t\t\t\t}else if(valueInStringShow === 'yes'){\n\t\t\t\t\t\t\t\t\t\t\t\t\ttotals = graphinaAbbrNum(totals , valueInString);\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\treturn prefix + totals + postfix\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\tlabels: 'Laki-laki_,_Perempuan'.split('_,_'),\n\t\t\t\t\t\tnoData: {\n\t\t\t\t\t\t\ttext: 'No Data Available',\n\t\t\t\t\t\t\talign: 'center',\n\t\t\t\t\t\t\tverticalAlign: 'middle',\n\t\t\t\t\t\t\tstyle: {\n\t\t\t\t\t\t\t\tfontSize: '12px',\n\t\t\t\t\t\t\t\tfontFamily: 'Poppins',\n\t\t\t\t\t\t\t\tcolor: '#000000'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdataLabels: {\n\t\t\t\t\t\t\tenabled: '1',\n\t\t\t\t\t\t\tstyle: {\n\t\t\t\t\t\t\t\tfontSize: '12px',\n\t\t\t\t\t\t\t\tfontFamily: 'Poppins',\n\t\t\t\t\t\t\t\tfontWeight: '',\n\t\t\t\t\t\t\t\tcolors: ['#000000'],\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tbackground:{\n\t\t\t\t\t\t\t\tenabled: false\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tdropShadow: {\n\t\t\t\t\t\t\t\tenabled: false,\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\tcolors: '#00FF15_,_#0633CF'.split('_,_'),\n\t\t\t\t\t\tfill: {\n\t\t\t\t\t\t\ttype: 'classic',\n\t\t\t\t\t\t\topacity: 1,\n\t\t\t\t\t\t\tcolors: '#00FF15_,_#0633CF'.split('_,_'),\n\t\t\t\t\t\t\tgradient: {\n\t\t\t\t\t\t\t\tgradientToColors: '#00FF15_,_#0633CF'.split('_,_'),\n\t\t\t\t\t\t\t\tinverseColors: '',\n\t\t\t\t\t\t\t\topacityFrom: parseFloat(''),\n\t\t\t\t\t\t\t\topacityTo: parseFloat('')\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tpattern: {\n\t\t\t\t\t\t\t\tstyle: 'verticalLines_,_verticalLines'.split('_,_'),\n\t\t\t\t\t\t\t\twidth: 6,\n\t\t\t\t\t\t\t\theight: 6,\n\t\t\t\t\t\t\t\tstrokeWidth: 2\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\tlegend: {\n\t\t\t\t\t\t\tshowForSingleSeries:true,\n\t\t\t\t\t\t\tshow: '1',\n\t\t\t\t\t\t\tposition: 'bottom',\n\t\t\t\t\t\t\thorizontalAlign: 'center',\n\t\t\t\t\t\t\tfontSize: '12px',\n\t\t\t\t\t\t\tfontFamily: 'Poppins',\n\t\t\t\t\t\t\tfontWeight: '',\n\t\t\t\t\t\t\tlabels: {\n\t\t\t\t\t\t\t\tcolors: '#000000'\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tformatter: function(seriesName, opts) {\n\t\t\t\t\t\t\t\tif(''){\n\t\t\t\t\t\t\t\t\tlet prefix = ''\n\t\t\t\t\t\t\t\t\tlet postfix = ''\n\t\t\t\t\t\t\t\t\tlet divEl= document.createElement(\"div\");\n\t\t\t\t\t\t\t\t\tdivEl.classList.add(\"legend-info\");\n\t\t\t\t\t\t\t\t\tdivEl.append(document.createElement(\"span\").innerText=seriesName,\":\",document.createElement(\"strong\").innerText=prefix+opts.w.globals.series[opts.seriesIndex]+postfix)\n\t\t\t\t\t\t\t\t\treturn divEl.outerHTML;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\treturn seriesName\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\ttooltip: {\n\t\t\t\t\t\t\tenabled: '1',\n\t\t\t\t\t\t\ttheme: 'light',\n\t\t\t\t\t\t\tstyle: {\n\t\t\t\t\t\t\t\tfontSize: '12px',\n\t\t\t\t\t\t\t\tfontFamily: 'Poppins'\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\ty: {\n\t\t\t\t\t\t\t\tformatter: function(val,w) {\n\t\t\t\t\t\t\t\t\tlet valueInStringShow =  'no'\n\t\t\t\t\t\t\t\t\tlet valueInString =  parseInt('0')\n\t\t\t\t\t\t\t\t\tlet prefix = ''\n\t\t\t\t\t\t\t\t\tlet postfix = ''\n\t\t\t\t\t\t\t\t\tif(''){\n\t\t\t\t\t\t\t\t\t\tval= graphinNumberWithCommas(val,',')\n\t\t\t\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t\t\t\tval = valueInStringShow === 'no' ? val : graphinaAbbrNum(val , valueInString);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif(\"\"){\n\t\t\t\t\t\t\t\t\t\tlet totals = w.globals.seriesTotals.reduce((a, b) => {\n\t\t\t\t\t\t\t\t\t\t\treturn  a + b;\n\t\t\t\t\t\t\t\t\t\t}, 0)\n\t\t\t\t\t\t\t\t\t\tif(postfix.trim() === ''){\n\t\t\t\t\t\t\t\t\t\t\tpostfix = '%';\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\treturn prefix + val+\" (\" + parseFloat(val\/totals * 100).toFixed('0') +postfix+\")\"\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\treturn prefix + val + postfix\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\tstroke: {\n\t\t\t\t\t\t\tshow: '',\n\t\t\t\t\t\t\twidth: parseInt('0')\n\t\t\t\t\t\t},\n\t\t\t\t\t\tresponsive: [{\n\t\t\t\t\t\t\tbreakpoint: 1024,\n\t\t\t\t\t\t\toptions: {\n\t\t\t\t\t\t\t\tchart: {\n\t\t\t\t\t\t\t\t\theight: parseInt('350')\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tbreakpoint: 674,\n\t\t\t\t\t\t\t\toptions: {\n\t\t\t\t\t\t\t\t\tchart: {\n\t\t\t\t\t\t\t\t\t\theight: parseInt('350')\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t]\n\t\t\t\t\t};\n\n\t\t\t\t\t\n\n\n\t\t\t\t\tif(\"\"){\n\t\t\t\t\t\tlet valueInStringShow =  'no'\n\t\t\t\t\t\tlet valueInStringValue =  parseInt('0')\n\t\t\t\t\t\tlet showlabel = 'no'\n\t\t\t\t\t\tlet showValue = 'no'\n\t\t\t\t\t\tlet prefix = ''\n\t\t\t\t\t\tlet postfix = ''\n\t\t\t\t\t\tlet numberformat = 'no'\n\t\t\t\t\t\tif(typeof chartDatalabelsFormat !== \"undefined\"){\n\t\t\t\t\t\t\tchartDatalabelsFormat(pieOptions, showlabel, showValue, numberformat, prefix, postfix ,valueInStringShow, valueInStringValue,'','0');\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (typeof initNowGraphina !== \"undefined\") {\n\t\t\t\t\t\tinitNowGraphina(\n\t\t\t\t\t\t\tmyElement,\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tele: document.querySelector(\".pie-chart-c8be45f\"),\n\t\t\t\t\t\t\t\toptions: pieOptions,\n\t\t\t\t\t\t\t\tseries: [{name: '', data: []}],\n\t\t\t\t\t\t\t\tanimation: true,\n\t\t\t\t\t\t\t\tsetting_date:{\"iq_pie_can_chart_reload_ajax\":\"\",\"iq_pie_interval_data_refresh\":0,\"iq_pie_chart_filter_enable\":\"\"}\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t'c8be45f'\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tif (window.ajaxIntervalGraphina_c8be45f !== undefined) {\n\t\t\t\t\t\tclearInterval(window.ajaxIntervalGraphina_c8be45f)\n\t\t\t\t\t}\n\t\t\t\t})()\n\n\n\t\t\t<\/script>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Jumlah Petani Laki-laki &amp; Perempuan No Data Found<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_canvas","meta":{"footnotes":""},"class_list":["post-45","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.datapetaniterlatih.fortasbi.org\/host\/wp-json\/wp\/v2\/pages\/45","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.datapetaniterlatih.fortasbi.org\/host\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.datapetaniterlatih.fortasbi.org\/host\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.datapetaniterlatih.fortasbi.org\/host\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.datapetaniterlatih.fortasbi.org\/host\/wp-json\/wp\/v2\/comments?post=45"}],"version-history":[{"count":4,"href":"https:\/\/www.datapetaniterlatih.fortasbi.org\/host\/wp-json\/wp\/v2\/pages\/45\/revisions"}],"predecessor-version":[{"id":50,"href":"https:\/\/www.datapetaniterlatih.fortasbi.org\/host\/wp-json\/wp\/v2\/pages\/45\/revisions\/50"}],"wp:attachment":[{"href":"https:\/\/www.datapetaniterlatih.fortasbi.org\/host\/wp-json\/wp\/v2\/media?parent=45"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}