dfoso 7 months ago
parent
commit
efaf3f2c16
  1. 22
      app/Controllers/Kewilayahan/Kytp.php
  2. 55
      app/Controllers/Kewilayahan/Sebaran/JenisStatus.php
  3. 54
      app/Controllers/Kewilayahan/Sebaran/Pengampu.php
  4. 214
      app/Views/kewilayahan/dist/kpdl.js
  5. 4
      app/Views/kewilayahan/kytp/TabPenugasan.js
  6. 15
      app/Views/kewilayahan/kytp/TabProgresifitas.js
  7. 88
      app/Views/kewilayahan/kytp/componentProgresifitas/JenisStatusWp.js
  8. 6
      app/Views/kewilayahan/kytp/componentProgresifitas/PayComp.js
  9. 6
      app/Views/kewilayahan/kytp/componentProgresifitas/Pembayaran.js
  10. 88
      app/Views/kewilayahan/kytp/componentProgresifitas/Pengampu.js
  11. 1
      writable/debugbar/debugbar_1724900748.015814.json
  12. 1
      writable/debugbar/debugbar_1724900748.150831.json
  13. 1
      writable/debugbar/debugbar_1724900771.858280.json
  14. 1
      writable/debugbar/debugbar_1724900775.343763.json
  15. 1
      writable/debugbar/debugbar_1724900784.928079.json
  16. 1
      writable/debugbar/debugbar_1724900788.830827.json
  17. 1
      writable/debugbar/debugbar_1724902852.868758.json
  18. 1
      writable/debugbar/debugbar_1724902858.782074.json
  19. 1
      writable/debugbar/debugbar_1724902868.536777.json
  20. 1
      writable/debugbar/debugbar_1724905577.455385.json
  21. 1
      writable/debugbar/debugbar_1724906830.733328.json
  22. 1
      writable/debugbar/debugbar_1724906866.950286.json
  23. 1
      writable/debugbar/debugbar_1724906867.236224.json
  24. 1
      writable/debugbar/debugbar_1725183970.778237.json
  25. 1
      writable/debugbar/debugbar_1725183971.608997.json

22
app/Controllers/Kewilayahan/Kytp.php

@ -2,8 +2,10 @@
namespace App\Controllers\Kewilayahan;
use App\Controllers\Kewilayahan\Sebaran\Identifikasi;
use App\Controllers\Kewilayahan\Sebaran\JenisStatus;
use App\Controllers\Kewilayahan\Sebaran\PayComp;
use App\Controllers\Kewilayahan\Sebaran\Pembayaran;
use App\Controllers\Kewilayahan\Sebaran\Pengampu;
use App\Controllers\Kewilayahan\Sebaran\Sof;
use CodeIgniter\API\ResponseTrait;
use CodeIgniter\Controller;
@ -86,6 +88,26 @@ class Kytp extends Controller
return $this->respond($dataReturn, 200);
}
public function sebaranJenisStatusWp()
{
$sebaran = new JenisStatus;
$dataReturn['dataJenis'] = $sebaran->data($this->request, 'jenis');
$dataReturn['dataStatus'] = $sebaran->data($this->request, 'status');
return $this->respond($dataReturn, 200);
}
public function sebaranPengampu()
{
$sebaran = new Pengampu;
$dataReturn['assign'] = $sebaran->data($this->request, 'assign');
$dataReturn['unassign'] = $sebaran->data($this->request, 'unassign');
return $this->respond($dataReturn, 200);
}
private function get_poi_agg()
{

55
app/Controllers/Kewilayahan/Sebaran/JenisStatus.php

@ -0,0 +1,55 @@
<?php
namespace App\Controllers\Kewilayahan\Sebaran;
class JenisStatus extends \App\Controllers\Kewilayahan\Kytp
{
protected function data($request, $jenisOrStatus)
{
$opsiWilZona = $request->getPost('opsiWilZona');
$adm4_pcode = $request->getPost('adm4_pcode') ?? [];
$id_poly_zona = $request->getPost('id_poly_zona') ?? [];
$db = \Config\Database::connect();
$kolom = "JNS_WP_MFWP";
switch ($jenisOrStatus) {
case 'jenis':
$kolom = "JNS_WP_MFWP";
break;
case 'status':
$kolom = "STATUS_WP_MFWP";
break;
default:
break;
}
$npwp = $db->table('KPDL_MV_LOKASI_SUBJEK')->select($kolom . ", count(1) JML", false)
->where($kolom . " IS NOT NULL")
->groupBy($kolom);
if ($opsiWilZona == 'wilayah') {
$npwp->whereIn('ADM4_PCODE', $adm4_pcode);
}
if ($opsiWilZona == 'zona') {
$npwp->whereIn('ID_POLY_ZONA', $id_poly_zona);
}
$data = $npwp->get()->getResult();
$ret = [];
foreach ($data as $b) {
array_push($ret, ['name' => $b->{$kolom},
// 'color' => ,
'y' => floatval($b->JML),
]
);
}
return $ret;
}
}

54
app/Controllers/Kewilayahan/Sebaran/Pengampu.php

@ -0,0 +1,54 @@
<?php
namespace App\Controllers\Kewilayahan\Sebaran;
class Pengampu extends \App\Controllers\Kewilayahan\Kytp
{
protected function data($request, $jenis)
{
$opsiWilZona = $request->getPost('opsiWilZona');
$adm4_pcode = $request->getPost('adm4_pcode') ?? [];
$id_poly_zona = $request->getPost('id_poly_zona') ?? [];
$db = \Config\Database::connect();
$npwp = $db->table('KPDL_MV_LOKASI_SUBJEK')->select("NM_KPP_ADM, count(1) JML", false)
->groupBy("NM_KPP_ADM")->orderBy("JML", 'desc');
$kolom = "JNS_WP_MFWP";
switch ($jenis) {
case 'assign':
break;
case 'unassign':
$npwp = $npwp->where("NIP_AR_PENGAMPU", "NPWP TIDAK DITEMUKAN");
break;
default:
break;
}
if ($opsiWilZona == 'wilayah') {
$npwp->whereIn('ADM4_PCODE', $adm4_pcode);
}
if ($opsiWilZona == 'zona') {
$npwp->whereIn('ID_POLY_ZONA', $id_poly_zona);
}
$data = $npwp->get()->getResult();
$ret = [];
foreach ($data as $b) {
array_push($ret, ['name' => $b->NM_KPP_ADM,
// 'color' => ,
'y' => floatval($b->JML),
]
);
}
return $ret;
}
}

214
app/Views/kewilayahan/dist/kpdl.js vendored

@ -3855,7 +3855,7 @@ module.exports = function zip(array) {
/***/ }),
/***/ 32:
/***/ 8032:
/***/ ((module, __webpack_exports__, __webpack_require__) => {
"use strict";
@ -60878,7 +60878,7 @@ var update = injectStylesIntoStyleTag_default()(theme/* default */.A, theme_opti
/* harmony default export */ const bootstrap4_light_blue_theme = (theme/* default */.A && theme/* default */.A.locals ? theme/* default */.A.locals : undefined);
// EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/primeflex/primeflex.css
var primeflex = __webpack_require__(32);
var primeflex = __webpack_require__(8032);
;// CONCATENATED MODULE: ./node_modules/primeflex/primeflex.css
@ -61791,6 +61791,8 @@ const Pembayaran = ({
}) => {
const base_url = "<?=base_url()?>";
const refChart = (0,react.useRef)(null);
const refChart1 = (0,react.useRef)(null);
const refChart2 = (0,react.useRef)(null);
const [dataC, setDataC] = (0,react.useState)(null);
const [dataMin1, setDataMin1] = (0,react.useState)(null);
const [dataMin2, setDataMin2] = (0,react.useState)(null);
@ -61863,11 +61865,11 @@ const Pembayaran = ({
highcharts: (highcharts_default()),
options: optionsChart(dataC, "s.d. bulan ini", "C")
})), /*#__PURE__*/react.createElement(es_Col, null, /*#__PURE__*/react.createElement((highcharts_react_min_default()), {
ref: refChart,
ref: refChart1,
highcharts: (highcharts_default()),
options: optionsChart(dataMin1, "s.d. bulan lalu", "Min1")
})), /*#__PURE__*/react.createElement(es_Col, null, /*#__PURE__*/react.createElement((highcharts_react_min_default()), {
ref: refChart,
ref: refChart2,
highcharts: (highcharts_default()),
options: optionsChart(dataMin2, "s.d. 2 bulan yang lalu", "Min2")
}))));
@ -61965,6 +61967,8 @@ const PayComp = ({
}) => {
const base_url = "<?=base_url()?>";
const refChart = (0,react.useRef)(null);
const refChart1 = (0,react.useRef)(null);
const refChart2 = (0,react.useRef)(null);
const [dataC, setDataC] = (0,react.useState)(null);
const [dataMin1, setDataMin1] = (0,react.useState)(null);
const [dataMin2, setDataMin2] = (0,react.useState)(null);
@ -62037,11 +62041,11 @@ const PayComp = ({
highcharts: (highcharts_default()),
options: optionsChart(dataC, "s.d. bulan ini", "C")
})), /*#__PURE__*/react.createElement(es_Col, null, /*#__PURE__*/react.createElement((highcharts_react_min_default()), {
ref: refChart,
ref: refChart1,
highcharts: (highcharts_default()),
options: optionsChart(dataMin1, "s.d. bulan lalu", "Min1")
})), /*#__PURE__*/react.createElement(es_Col, null, /*#__PURE__*/react.createElement((highcharts_react_min_default()), {
ref: refChart,
ref: refChart2,
highcharts: (highcharts_default()),
options: optionsChart(dataMin2, "s.d. 2 bulan yang lalu", "Min2")
}))));
@ -62232,6 +62236,184 @@ const Sof = ({
}, "100%"))))))));
};
/* harmony default export */ const componentProgresifitas_Sof = (Sof);
;// CONCATENATED MODULE: ./app/Views/kewilayahan/kytp/componentProgresifitas/JenisStatusWp.js
const JenisStatusWp = ({
dataSend
}) => {
const base_url = "<?=base_url()?>";
const refChart = (0,react.useRef)(null);
const refChart2 = (0,react.useRef)(null);
const [dataJenis, setDataJenis] = (0,react.useState)(null);
const [dataStatus, setDataStatus] = (0,react.useState)(null);
(0,react.useEffect)(() => {
jQuery.get({
url: base_url + "kewilayahan/kytp/sebaranJenisStatusWp",
dataType: "json",
type: "POST",
data: {
...dataSend
},
success: data => {
setDataJenis(data.dataJenis);
setDataStatus(data.dataStatus);
}
});
}, [dataSend]);
const optionsChart = (data, title) => {
const total_wp = dist_default()(data).sum("y");
return {
chart: {
plotBackgroundColor: null,
plotBorderWidth: null,
plotShadow: false,
type: "pie",
zoomType: "xy",
height: "300"
},
title: {
text: title,
style: {
fontSize: "10px"
}
},
tooltip: {
pointFormat: "<b>{point.percentage:.1f}%</b><br>: {point.y} dari " + format_angka(total_wp) + " total NPWP"
},
accessibility: {
point: {
valueSuffix: "%"
}
},
plotOptions: {
pie: {
allowPointSelect: true,
cursor: "pointer",
dataLabels: {
enabled: true,
style: {
fontSize: "10px"
},
format: "{point.name}: <br> {point.percentage:.1f} %"
}
}
// series: pie_click
},
series: [{
name: "",
data
}]
};
};
return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(es_Row, null, /*#__PURE__*/react.createElement(es_Col, {
md: "6"
}, /*#__PURE__*/react.createElement((highcharts_react_min_default()), {
ref: refChart,
highcharts: (highcharts_default()),
options: optionsChart(dataJenis, "Jenis WP")
})), /*#__PURE__*/react.createElement(es_Col, {
md: "6"
}, /*#__PURE__*/react.createElement((highcharts_react_min_default()), {
ref: refChart2,
highcharts: (highcharts_default()),
options: optionsChart(dataStatus, "Status WP")
}))));
};
/* harmony default export */ const componentProgresifitas_JenisStatusWp = (JenisStatusWp);
;// CONCATENATED MODULE: ./app/Views/kewilayahan/kytp/componentProgresifitas/Pengampu.js
const Pengampu = ({
dataSend
}) => {
const base_url = "<?=base_url()?>";
const refChart = (0,react.useRef)(null);
const refChart2 = (0,react.useRef)(null);
const [dataAssign, setDataAssign] = (0,react.useState)(null);
const [dataUnAssign, setDataUnAssign] = (0,react.useState)(null);
(0,react.useEffect)(() => {
jQuery.get({
url: base_url + "kewilayahan/kytp/sebaranPengampu",
dataType: "json",
type: "POST",
data: {
...dataSend
},
success: data => {
setDataAssign(data.assign);
setDataUnAssign(data.unassign);
}
});
}, [dataSend]);
const optionsChart = (data, title) => {
const total_wp = dist_default()(data).sum("y");
return {
chart: {
plotBackgroundColor: null,
plotBorderWidth: null,
plotShadow: false,
type: "pie",
zoomType: "xy",
height: "300"
},
title: {
text: title,
style: {
fontSize: "10px"
}
},
tooltip: {
pointFormat: "<b>{point.percentage:.1f}%</b><br>: {point.y} dari " + format_angka(total_wp) + " total NPWP"
},
accessibility: {
point: {
valueSuffix: "%"
}
},
plotOptions: {
pie: {
allowPointSelect: true,
cursor: "pointer",
dataLabels: {
enabled: true,
style: {
fontSize: "10px"
},
format: "{point.name}: <br> {point.percentage:.1f} %"
}
}
// series: pie_click
},
series: [{
name: "",
data
}]
};
};
return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(es_Row, null, /*#__PURE__*/react.createElement(es_Col, {
md: "6"
}, /*#__PURE__*/react.createElement((highcharts_react_min_default()), {
ref: refChart,
highcharts: (highcharts_default()),
options: optionsChart(dataAssign, "KPP Terdaftar")
})), /*#__PURE__*/react.createElement(es_Col, {
md: "6"
}, /*#__PURE__*/react.createElement((highcharts_react_min_default()), {
ref: refChart2,
highcharts: (highcharts_default()),
options: optionsChart(dataUnAssign, "Status UnAssign")
}))));
};
/* harmony default export */ const componentProgresifitas_Pengampu = (Pengampu);
;// CONCATENATED MODULE: ./app/Views/kewilayahan/kytp/TabProgresifitas.js
@ -62240,6 +62422,8 @@ const Sof = ({
function TabProgresifitas({
dataSend
}) {
@ -62263,19 +62447,19 @@ function TabProgresifitas({
})), /*#__PURE__*/react.createElement(TabPanel, {
id: "tab_4",
header: "Strength Of Figure"
}, /*#__PURE__*/react.createElement("div", {
style: {
minHeight: "300px"
}
}, /*#__PURE__*/react.createElement(componentProgresifitas_Sof, {
}, /*#__PURE__*/react.createElement("div", null, /*#__PURE__*/react.createElement(componentProgresifitas_Sof, {
dataSend: dataSend
}))), /*#__PURE__*/react.createElement(TabPanel, {
id: "tab_5",
header: "Jenis/Status WP"
}), /*#__PURE__*/react.createElement(TabPanel, {
}, /*#__PURE__*/react.createElement(componentProgresifitas_JenisStatusWp, {
dataSend: dataSend
})), /*#__PURE__*/react.createElement(TabPanel, {
id: "tab_5",
header: "Pengampu"
}), /*#__PURE__*/react.createElement(TabPanel, {
}, /*#__PURE__*/react.createElement(componentProgresifitas_Pengampu, {
dataSend: dataSend
})), /*#__PURE__*/react.createElement(TabPanel, {
id: "tab_6",
header: "KLU"
})));
@ -62290,10 +62474,10 @@ function TabPenugasan({
className: "card"
}, /*#__PURE__*/react.createElement(TabView, null, /*#__PURE__*/react.createElement(TabPanel, {
id: "tab_1",
header: "Penugasan"
header: "Identifikasi Lapangan (KPDL)"
}), /*#__PURE__*/react.createElement(TabPanel, {
id: "tab_2",
header: "Aktifitas"
header: "Aktifitas pasca identifikasi"
}), /*#__PURE__*/react.createElement(TabPanel, {
id: "tab_3",
header: "Hasil"

4
app/Views/kewilayahan/kytp/TabPenugasan.js

@ -5,8 +5,8 @@ export default function TabPenugasan({ dataSend }) {
return (
<div className="card">
<TabView>
<TabPanel id="tab_1" header="Penugasan"></TabPanel>
<TabPanel id="tab_2" header="Aktifitas"></TabPanel>
<TabPanel id="tab_1" header="Identifikasi Lapangan (KPDL)"></TabPanel>
<TabPanel id="tab_2" header="Aktifitas pasca identifikasi"></TabPanel>
<TabPanel id="tab_3" header="Hasil"></TabPanel>
</TabView>
</div>

15
app/Views/kewilayahan/kytp/TabProgresifitas.js

@ -5,6 +5,8 @@ import Pembayaran from "./componentProgresifitas/Pembayaran"
import Identifikasi from "./componentProgresifitas/Identifikasi"
import PayComp from "./componentProgresifitas/PayComp"
import Sof from "./componentProgresifitas/Sof"
import JenisStatusWp from "./componentProgresifitas/JenisStatusWp"
import Pengampu from "./componentProgresifitas/Pengampu"
export default function TabProgresifitas({ dataSend }) {
return (
@ -13,21 +15,28 @@ export default function TabProgresifitas({ dataSend }) {
<TabPanel id="tab_1" header="Identifikasi">
<Identifikasi dataSend={dataSend} />
</TabPanel>
<TabPanel id="tab_2" header="Pembayaran">
<Pembayaran dataSend={dataSend} />
</TabPanel>
<TabPanel id="tab_3" header="Payment Compliance">
<PayComp dataSend={dataSend} />
</TabPanel>
<TabPanel id="tab_4" header="Strength Of Figure">
<div style={{ minHeight: "300px" }}>
<div>
<Sof dataSend={dataSend} />
</div>
</TabPanel>
<TabPanel id="tab_5" header="Jenis/Status WP"></TabPanel>
<TabPanel id="tab_5" header="Jenis/Status WP">
<JenisStatusWp dataSend={dataSend} />
</TabPanel>
<TabPanel id="tab_5" header="Pengampu"></TabPanel>
<TabPanel id="tab_5" header="Pengampu">
<Pengampu dataSend={dataSend} />
</TabPanel>
<TabPanel id="tab_6" header="KLU"></TabPanel>
</TabView>
</div>

88
app/Views/kewilayahan/kytp/componentProgresifitas/JenisStatusWp.js

@ -0,0 +1,88 @@
import React, { useEffect, useRef, useState } from "react"
import Highcharts from "highcharts"
import HighchartsReact from "highcharts-react-official"
import { Col, Row } from "reactstrap"
import { format_angka } from "../util"
import collect from "collect.js"
const JenisStatusWp = ({ dataSend }) => {
const base_url = "<?=base_url()?>"
const refChart = useRef(null)
const refChart2 = useRef(null)
const [dataJenis, setDataJenis] = useState(null)
const [dataStatus, setDataStatus] = useState(null)
useEffect(() => {
jQuery.get({
url: base_url + "kewilayahan/kytp/sebaranJenisStatusWp",
dataType: "json",
type: "POST",
data: {
...dataSend
},
success: (data) => {
setDataJenis(data.dataJenis)
setDataStatus(data.dataStatus)
}
})
}, [dataSend])
const optionsChart = (data, title) => {
const total_wp = collect(data).sum("y")
return {
chart: {
plotBackgroundColor: null,
plotBorderWidth: null,
plotShadow: false,
type: "pie",
zoomType: "xy",
height: "300"
},
title: {
text: title,
style: { fontSize: "10px" }
},
tooltip: {
pointFormat: "<b>{point.percentage:.1f}%</b><br>: {point.y} dari " + format_angka(total_wp) + " total NPWP"
},
accessibility: {
point: {
valueSuffix: "%"
}
},
plotOptions: {
pie: {
allowPointSelect: true,
cursor: "pointer",
dataLabels: {
enabled: true,
style: { fontSize: "10px" },
format: "{point.name}: <br> {point.percentage:.1f} %"
}
}
// series: pie_click
},
series: [
{
name: "",
data
}
]
}
}
return (
<>
<Row>
<Col md="6">
<HighchartsReact ref={refChart} highcharts={Highcharts} options={optionsChart(dataJenis, "Jenis WP")} />
</Col>
<Col md="6">
<HighchartsReact ref={refChart2} highcharts={Highcharts} options={optionsChart(dataStatus, "Status WP")} />
</Col>
</Row>
</>
)
}
export default JenisStatusWp

6
app/Views/kewilayahan/kytp/componentProgresifitas/PayComp.js

@ -10,6 +10,8 @@ const PayComp = ({ dataSend }) => {
const base_url = "<?=base_url()?>"
const refChart = useRef(null)
const refChart1 = useRef(null)
const refChart2 = useRef(null)
const [dataC, setDataC] = useState(null)
const [dataMin1, setDataMin1] = useState(null)
const [dataMin2, setDataMin2] = useState(null)
@ -84,10 +86,10 @@ const PayComp = ({ dataSend }) => {
<HighchartsReact ref={refChart} highcharts={Highcharts} options={optionsChart(dataC, "s.d. bulan ini", "C")} />
</Col>
<Col>
<HighchartsReact ref={refChart} highcharts={Highcharts} options={optionsChart(dataMin1, "s.d. bulan lalu", "Min1")} />
<HighchartsReact ref={refChart1} highcharts={Highcharts} options={optionsChart(dataMin1, "s.d. bulan lalu", "Min1")} />
</Col>
<Col>
<HighchartsReact ref={refChart} highcharts={Highcharts} options={optionsChart(dataMin2, "s.d. 2 bulan yang lalu", "Min2")} />
<HighchartsReact ref={refChart2} highcharts={Highcharts} options={optionsChart(dataMin2, "s.d. 2 bulan yang lalu", "Min2")} />
</Col>
</Row>
</>

6
app/Views/kewilayahan/kytp/componentProgresifitas/Pembayaran.js

@ -10,6 +10,8 @@ const Pembayaran = ({ dataSend }) => {
const base_url = "<?=base_url()?>"
const refChart = useRef(null)
const refChart1 = useRef(null)
const refChart2 = useRef(null)
const [dataC, setDataC] = useState(null)
const [dataMin1, setDataMin1] = useState(null)
const [dataMin2, setDataMin2] = useState(null)
@ -84,10 +86,10 @@ const Pembayaran = ({ dataSend }) => {
<HighchartsReact ref={refChart} highcharts={Highcharts} options={optionsChart(dataC, "s.d. bulan ini", "C")} />
</Col>
<Col>
<HighchartsReact ref={refChart} highcharts={Highcharts} options={optionsChart(dataMin1, "s.d. bulan lalu", "Min1")} />
<HighchartsReact ref={refChart1} highcharts={Highcharts} options={optionsChart(dataMin1, "s.d. bulan lalu", "Min1")} />
</Col>
<Col>
<HighchartsReact ref={refChart} highcharts={Highcharts} options={optionsChart(dataMin2, "s.d. 2 bulan yang lalu", "Min2")} />
<HighchartsReact ref={refChart2} highcharts={Highcharts} options={optionsChart(dataMin2, "s.d. 2 bulan yang lalu", "Min2")} />
</Col>
</Row>
</>

88
app/Views/kewilayahan/kytp/componentProgresifitas/Pengampu.js

@ -0,0 +1,88 @@
import React, { useEffect, useRef, useState } from "react"
import Highcharts from "highcharts"
import HighchartsReact from "highcharts-react-official"
import { Col, Row } from "reactstrap"
import { format_angka } from "../util"
import collect from "collect.js"
const Pengampu = ({ dataSend }) => {
const base_url = "<?=base_url()?>"
const refChart = useRef(null)
const refChart2 = useRef(null)
const [dataAssign, setDataAssign] = useState(null)
const [dataUnAssign, setDataUnAssign] = useState(null)
useEffect(() => {
jQuery.get({
url: base_url + "kewilayahan/kytp/sebaranPengampu",
dataType: "json",
type: "POST",
data: {
...dataSend
},
success: (data) => {
setDataAssign(data.assign)
setDataUnAssign(data.unassign)
}
})
}, [dataSend])
const optionsChart = (data, title) => {
const total_wp = collect(data).sum("y")
return {
chart: {
plotBackgroundColor: null,
plotBorderWidth: null,
plotShadow: false,
type: "pie",
zoomType: "xy",
height: "300"
},
title: {
text: title,
style: { fontSize: "10px" }
},
tooltip: {
pointFormat: "<b>{point.percentage:.1f}%</b><br>: {point.y} dari " + format_angka(total_wp) + " total NPWP"
},
accessibility: {
point: {
valueSuffix: "%"
}
},
plotOptions: {
pie: {
allowPointSelect: true,
cursor: "pointer",
dataLabels: {
enabled: true,
style: { fontSize: "10px" },
format: "{point.name}: <br> {point.percentage:.1f} %"
}
}
// series: pie_click
},
series: [
{
name: "",
data
}
]
}
}
return (
<>
<Row>
<Col md="6">
<HighchartsReact ref={refChart} highcharts={Highcharts} options={optionsChart(dataAssign, "KPP Terdaftar")} />
</Col>
<Col md="6">
<HighchartsReact ref={refChart2} highcharts={Highcharts} options={optionsChart(dataUnAssign, "Status UnAssign")} />
</Col>
</Row>
</>
)
}
export default Pengampu

1
writable/debugbar/debugbar_1724900748.015814.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1724900748.150831.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1724900771.858280.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1724900775.343763.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1724900784.928079.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1724900788.830827.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1724902852.868758.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1724902858.782074.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1724902868.536777.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1724905577.455385.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1724906830.733328.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1724906866.950286.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1724906867.236224.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1725183970.778237.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1725183971.608997.json

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save