![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/job-board.corals.io/public/assets/themes/admin-doctors/js/ |
$(function(){ /* Morris Area Chart */ window.mA = Morris.Area({ element: 'morrisArea', data: [ { y: '2013', a: 60}, { y: '2014', a: 100}, { y: '2015', a: 240}, { y: '2016', a: 120}, { y: '2017', a: 80}, { y: '2018', a: 100}, { y: '2019', a: 300}, ], xkey: 'y', ykeys: ['a'], labels: ['Revenue'], lineColors: ['#1b5a90'], lineWidth: 2, fillOpacity: 0.5, gridTextSize: 10, hideHover: 'auto', resize: true, redraw: true }); /* Morris Line Chart */ window.mL = Morris.Line({ element: 'morrisLine', data: [ { y: '2015', a: 100, b: 30}, { y: '2016', a: 20, b: 60}, { y: '2017', a: 90, b: 120}, { y: '2018', a: 50, b: 80}, { y: '2019', a: 120, b: 150}, ], xkey: 'y', ykeys: ['a', 'b'], labels: ['Doctors', 'Patients'], lineColors: ['#1b5a90','#ff9d00'], lineWidth: 1, gridTextSize: 10, hideHover: 'auto', resize: true, redraw: true }); $(window).on("resize", function(){ mA.redraw(); mL.redraw(); }); });