/* Template Name: webadmin - Admin & Dashboard Template Author: Themesdesign Website: https://Themesdesign.com/ Contact: Themesdesign@gmail.com File: Ecommerce order Js File */ // Chart Mini-1 var sparklineoptions1 = { series: [{ data: [12, 14, 2, 47, 42, 15, 47, 75, 65, 19, 14] }], chart: { type: 'area', width: 150, height: 50, sparkline: { enabled: true } }, fill: { type: 'gradient', gradient: { shadeIntensity: 1, inverseColors: false, opacityFrom: 0.45, opacityTo: 0.05, stops: [20, 100, 100, 100] }, }, stroke: { curve: 'smooth', width: 2, }, colors: ['#1f58c7'], tooltip: { fixed: { enabled: false }, x: { show: false }, y: { title: { formatter: function (seriesName) { return '' } } }, marker: { show: false } } }; var sparklinechart1 = new ApexCharts(document.querySelector("#mini-1"), sparklineoptions1); sparklinechart1.render(); // Chart Mini-2 var sparklineoptions1 = { series: [{ data: [65, 14, 2, 47, 42, 15, 47, 75, 65, 19, 14] }], chart: { type: 'area', width: 150, height: 50, sparkline: { enabled: true } }, fill: { type: 'gradient', gradient: { shadeIntensity: 1, inverseColors: false, opacityFrom: 0.45, opacityTo: 0.05, stops: [20, 100, 100, 100] }, }, stroke: { curve: 'smooth', width: 2, }, colors: ['#1f58c7'], tooltip: { fixed: { enabled: false }, x: { show: false }, y: { title: { formatter: function (seriesName) { return '' } } }, marker: { show: false } } }; var sparklinechart1 = new ApexCharts(document.querySelector("#mini-2"), sparklineoptions1); sparklinechart1.render(); // Chart Mini-3 var sparklineoptions1 = { series: [{ data: [12, 75, 2, 47, 42, 15, 47, 75, 65, 19, 14] }], chart: { type: 'area', width: 150, height: 50, sparkline: { enabled: true } }, fill: { type: 'gradient', gradient: { shadeIntensity: 1, inverseColors: false, opacityFrom: 0.45, opacityTo: 0.05, stops: [20, 100, 100, 100] }, }, stroke: { curve: 'smooth', width: 2, }, colors: ['#1f58c7'], tooltip: { fixed: { enabled: false }, x: { show: false }, y: { title: { formatter: function (seriesName) { return '' } } }, marker: { show: false } } }; var sparklinechart1 = new ApexCharts(document.querySelector("#mini-3"), sparklineoptions1); sparklinechart1.render(); // Chart Mini-4 var sparklineoptions1 = { series: [{ data: [12, 14, 2, 47, 42, 15, 47, 75, 65, 19, 70] }], chart: { type: 'area', width: 150, height: 50, sparkline: { enabled: true } }, fill: { type: 'gradient', gradient: { shadeIntensity: 1, inverseColors: false, opacityFrom: 0.45, opacityTo: 0.05, stops: [20, 100, 100, 100] }, }, stroke: { curve: 'smooth', width: 2, }, colors: ['#1f58c7'], tooltip: { fixed: { enabled: false }, x: { show: false }, y: { title: { formatter: function (seriesName) { return '' } } }, marker: { show: false } } }; var sparklinechart1 = new ApexCharts(document.querySelector("#mini-4"), sparklineoptions1); sparklinechart1.render(); // Basic Table new gridjs.Grid({ columns: [ { name: '#', sort: { enabled: false }, formatter: (function (cell) { return gridjs.html('
'); }) }, { name: 'Order ID', formatter: (function (cell) { return gridjs.html('' + cell + ''); }) }, { name: 'Billing Name', formatter: (function (cell) { return gridjs.html('