Server IP : 150.95.80.236 / Your IP : 3.149.26.27 Web Server : Apache System : Linux host-150-95-80-236 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64 User : social-telecare ( 10000) PHP Version : 7.4.33 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/pcu.in.th/uat.pcu.in.th/demo15/src/js/custom/documentation/charts/flotcharts/ |
Upload File : |
"use strict"; // Class definition var KTFlotDemoBar = function () { // Private functions var exampleBar = function () { // horizontal bar chart: var data1 = [ [10, 10], [20, 20], [30, 30], [40, 40], [50, 50], [60, 60], [70, 70], [80, 80], [90, 90], [100, 100], ]; var options = { colors: [KTUtil.getCssVariableValue('--bs-active-primary')], series: { bars: { show: true } }, bars: { horizontal: true, barWidth: 6, lineWidth: 0, // in pixels shadowSize: 0, align: 'left' }, grid: { tickColor: KTUtil.getCssVariableValue('--bs-light-dark'), borderColor: KTUtil.getCssVariableValue('--bs-light-dark'), borderWidth: 1 } }; $.plot($("#kt_docs_flot_bar"), [data1], options); } return { // Public Functions init: function () { exampleBar(); } }; }(); // On document ready KTUtil.onDOMContentLoaded(function () { KTFlotDemoBar.init(); });