{"id":14,"date":"2025-03-26T02:17:05","date_gmt":"2025-03-26T02:17:05","guid":{"rendered":"https:\/\/demo1.swot.com.my\/?page_id=14"},"modified":"2025-05-06T07:35:15","modified_gmt":"2025-05-06T07:35:15","slug":"wpdatatable","status":"publish","type":"page","link":"https:\/\/demo1.swot.com.my\/","title":{"rendered":"wpdatatable"},"content":{"rendered":"<p>Testing123<br \/>\n\n<div class=\"wdt-wrapper-chart-loader\" data-id=\"1\"\n     style=\"height: 400px;\">\n    <div class=\"wdt-main-item\">\n                <div class=\"wdt-chart-animated-background\" style=\"height: 100px\">\n            <div class=\"wdt-background-masker wdt-btn-divide-left wdt-chart-one\"><\/div>\n            <div class=\"wdt-background-masker wdt-btn-divide-left-2\"><\/div>\n            <div class=\"wdt-background-masker wdt-btn-divide-left-3\"><\/div>\n            <div class=\"wdt-background-masker wdt-btn-divide-left-4 wdt-chart-three\"><\/div>\n            <div class=\"wdt-background-masker wdt-btn-divide-left-5\"><\/div>\n            <div class=\"wdt-background-masker wdt-btn-divide-left-6\"><\/div>\n            <div class=\"wdt-background-masker wdt-btn-divide-left-7 \"><\/div>\n            <div class=\"wdt-background-masker wdt-btn-divide-left-8\"><\/div>\n        <\/div>\n        <div class=\"wdt-chart-animated-background\" style=\"height: 100px\">\n            <div class=\"wdt-background-masker wdt-btn-divide-left\"><\/div>\n            <div class=\"wdt-background-masker wdt-btn-divide-left-2 wdt-chart-two\"><\/div>\n            <div class=\"wdt-background-masker wdt-btn-divide-left-3\"><\/div>\n            <div class=\"wdt-background-masker wdt-btn-divide-left-4\"><\/div>\n            <div class=\"wdt-background-masker wdt-btn-divide-left-5 wdt-chart-four\"><\/div>\n            <div class=\"wdt-background-masker wdt-btn-divide-left-6\"><\/div>\n            <div class=\"wdt-background-masker wdt-btn-divide-left-7\"><\/div>\n            <div class=\"wdt-background-masker wdt-btn-divide-left-8\"><\/div>\n        <\/div>\n        <div class=\"wdt-chart-animated-background\" style=\"height: 100px\">\n            <div class=\"wdt-background-masker wdt-btn-divide-left\"><\/div>\n            <div class=\"wdt-background-masker wdt-btn-divide-left-2\"><\/div>\n            <div class=\"wdt-background-masker wdt-btn-divide-left-3\"><\/div>\n            <div class=\"wdt-background-masker wdt-btn-divide-left-4\"><\/div>\n            <div class=\"wdt-background-masker wdt-btn-divide-left-5\"><\/div>\n            <div class=\"wdt-background-masker wdt-btn-divide-left-6 wdt-chart-five\"><\/div>\n            <div class=\"wdt-background-masker wdt-btn-divide-left-7\"><\/div>\n            <div class=\"wdt-background-masker wdt-btn-divide-left-8\"><\/div>\n        <\/div>\n        <div class=\"wdt-chart-animated-background\" style=\"height: 100px\">\n            <div class=\"wdt-background-masker wdt-btn-divide-left\"><\/div>\n            <div class=\"wdt-background-masker wdt-btn-divide-left-2\"><\/div>\n            <div class=\"wdt-background-masker wdt-btn-divide-left-3\"><\/div>\n            <div class=\"wdt-background-masker wdt-btn-divide-left-4\"><\/div>\n            <div class=\"wdt-background-masker wdt-btn-divide-left-5\"><\/div>\n            <div class=\"wdt-background-masker wdt-btn-divide-left-6\"><\/div>\n            <div class=\"wdt-background-masker wdt-btn-divide-left-7\"><\/div>\n            <div class=\"wdt-background-masker wdt-btn-divide-left-8\"><\/div>\n        <\/div>\n        <div class=\"wdt-static-background\">\n            <div class=\"wdt-background-masker\"><\/div>\n        <\/div>\n    <\/div>\n<\/div>\n    <script type=\"text\/javascript\">\n        if (typeof (wpDataCharts) == 'undefined') wpDataCharts = {};\n        wpDataCharts[1] = {\n            render_data: {\"options\":{\"data\":{\"labels\":[2022,2023,2024,2025],\"datasets\":[{\"label\":\"122\",\"orig_header\":\"122\",\"backgroundColor\":\"rgba(255,99,132,0.2)\",\"borderColor\":\"#ff6384\",\"borderWidth\":1,\"data\":[1444,888,874,55],\"lineTension\":0,\"fill\":false},{\"label\":\"223\",\"orig_header\":\"223\",\"backgroundColor\":\"rgba(54,162,235,0.2)\",\"borderColor\":\"#36a2eb\",\"borderWidth\":1,\"data\":[555,44,8,11],\"lineTension\":0,\"fill\":false},{\"label\":\"3344\",\"orig_header\":\"3344\",\"backgroundColor\":\"rgba(75,192,192,0.2)\",\"borderColor\":\"#4bc0c0\",\"borderWidth\":1,\"data\":[55,88,0,52],\"lineTension\":0,\"fill\":false},{\"label\":\"555\",\"orig_header\":\"555\",\"backgroundColor\":\"rgba(255,206,86,0.2)\",\"borderColor\":\"#ffce56\",\"borderWidth\":1,\"data\":[2233,228,0,55],\"lineTension\":0,\"fill\":false}]},\"options\":{\"maintainAspectRatio\":true,\"scales\":{\"x\":{\"title\":{\"display\":true,\"text\":\"\",\"font\":{\"size\":12,\"weight\":\"bold\",\"style\":\"normal\",\"family\":\"Arial\"},\"color\":\"#666\"},\"ticks\":{\"color\":\"#666\",\"font\":{\"size\":12,\"weight\":\"bold\",\"style\":\"normal\",\"family\":\"Arial\"}}},\"y\":{\"title\":{\"display\":true,\"text\":\"\",\"font\":{\"size\":12,\"weight\":\"bold\",\"style\":\"normal\",\"family\":\"Arial\"},\"color\":\"#666\"},\"beginAtZero\":false,\"ticks\":{\"color\":\"#666\",\"font\":{\"size\":12,\"weight\":\"bold\",\"style\":\"normal\",\"family\":\"Arial\"}}}},\"plugins\":{\"title\":{\"display\":true,\"text\":\"New wpDataTable Chart\",\"position\":\"top\",\"font\":{\"family\":\"Arial\",\"weight\":\"bold\",\"style\":\"normal\",\"size\":12},\"color\":\"#666\"},\"tooltip\":{\"enabled\":true,\"mode\":\"nearest\",\"intersect\":true,\"backgroundColor\":\"rgb(0,0,0)\",\"cornerRadius\":\"3\",\"titleFont\":{\"size\":12},\"bodyFont\":{\"size\":12},\"footerFont\":{\"size\":12}},\"legend\":{\"display\":true,\"position\":\"top\",\"labels\":{\"color\":\"#666\",\"font\":{\"size\":12,\"weight\":\"bold\",\"style\":\"normal\"}}}}},\"globalOptions\":{\"font\":{\"size\":12,\"family\":\"Arial\",\"style\":\"normal\",\"weight\":\"bold\"},\"color\":\"#666\"}},\"configurations\":{\"type\":\"chartjs_line_chart\",\"container\":{\"height\":400,\"width\":0},\"canvas\":{\"backgroundColor\":\"\",\"borderWidth\":0,\"borderColor\":\"\",\"borderRadius\":0}}},\n            engine: \"chartjs\",\n            type: \"chartjs_line_chart\",\n            title: \"New wpDataTable Chart\",\n            container: \"wpDataChart_1\",\n            follow_filtering: 0,\n            wpdatatable_id: 1,\n            group_chart: 0        }\n    <\/script>\n\n    <div id=\"chartJSContainer_1\">\n        <canvas id=\"chartJSCanvas_1\" aria-label=\"New wpDataTable Chart\"\n                role=\"img\"><\/canvas>\n    <\/div>\n<\/p>\n\n\n\n<p>cpt<\/p>\n\n\n<div data-is-block=\"jet-engine\/dynamic-chart\"><div class=\"jet-engine-chart\" style=\"display: flex;justify-content: center;height: 400px\" data-config=\"{&quot;width&quot;:700,&quot;height&quot;:400,&quot;type&quot;:&quot;line&quot;,&quot;legend&quot;:{&quot;position&quot;:&quot;right&quot;}}\" data-data=\"[[&quot;Performance&quot;,&quot;USD&quot;,&quot;MYR&quot;,&quot;MYR Hedged&quot;],[&quot;2025-03-11&quot;,10000,12530,115322],[&quot;2025-03-29&quot;,135520,22250,5243],[&quot;2025-02-12&quot;,44225,13250,12558],[&quot;2025-03-01&quot;,12350,12350,12350]]\"><\/div><\/div>\n\n\n<p>RETREIVE from database<\/p>\n\n\n<div class=\"\"data-is-block=\"jet-engine\/dynamic-chart\"><div class=\"jet-engine-chart\" style=\"display: flex;justify-content: center;height: 400px\" data-config=\"{&quot;width&quot;:600,&quot;height&quot;:400,&quot;type&quot;:&quot;line&quot;,&quot;legend&quot;:{&quot;position&quot;:&quot;right&quot;}}\" data-data=\"[[{&quot;label&quot;:&quot;Year&quot;,&quot;type&quot;:&quot;string&quot;},{&quot;label&quot;:&quot;MYR&quot;,&quot;type&quot;:&quot;number&quot;},{&quot;label&quot;:&quot;MYR-HEDGE&quot;,&quot;type&quot;:&quot;number&quot;},{&quot;label&quot;:&quot;USD&quot;,&quot;type&quot;:&quot;number&quot;}],[&quot;2024-04-23 04:40:54&quot;,567.91,567.91,46.89],[&quot;2024-04-25 01:43:47&quot;,331.14,331.14,27.34],[&quot;2024-04-25 05:03:53&quot;,580.43,580.43,47.93],[&quot;2024-05-10 03:10:40&quot;,95.92,95.92,3.42],[&quot;2024-05-23 07:01:37&quot;,915.2,915.2,75.56],[&quot;2024-05-30 02:14:22&quot;,96.07,96.07,3.43],[&quot;2024-07-17 08:56:20&quot;,385.3,385.3,31.81],[&quot;2024-09-04 05:36:08&quot;,496.61,496.61,41.01],[&quot;2024-09-06 06:27:53&quot;,1724.92,1724.92,142.42],[&quot;2024-09-18 07:47:42&quot;,370.38,370.38,26.08],[&quot;2024-10-18 08:20:14&quot;,159.36,159.36,8.66],[&quot;2024-10-18 08:38:51&quot;,6291.48,6291.48,519.48],[&quot;2024-10-18 09:47:13&quot;,6815.77,6815.77,562.77]]\"><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>cpt RETREIVE from database<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-14","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/demo1.swot.com.my\/index.php\/wp-json\/wp\/v2\/pages\/14","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/demo1.swot.com.my\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/demo1.swot.com.my\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/demo1.swot.com.my\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/demo1.swot.com.my\/index.php\/wp-json\/wp\/v2\/comments?post=14"}],"version-history":[{"count":10,"href":"https:\/\/demo1.swot.com.my\/index.php\/wp-json\/wp\/v2\/pages\/14\/revisions"}],"predecessor-version":[{"id":45,"href":"https:\/\/demo1.swot.com.my\/index.php\/wp-json\/wp\/v2\/pages\/14\/revisions\/45"}],"wp:attachment":[{"href":"https:\/\/demo1.swot.com.my\/index.php\/wp-json\/wp\/v2\/media?parent=14"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}