File manager - Edit - /usr/local/CyberCP/cyberpanel/static/baseTemplate/assets/widgets/charts/justgage/justgage-demo.js
Back
/* justGage charts */ $(function() { "use strict"; var g1, g2, g3, g4, g5; window.onload = function() { var g1 = new JustGage({ id: "g1", value: getRandomInt(0, 100), min: 0, max: 100, title: "Big Fella", label: "pounds" }); var g2 = new JustGage({ id: "g2", value: getRandomInt(0, 100), min: 0, max: 100, title: "Small Buddy", label: "oz" }); var g3 = new JustGage({ id: "g3", value: getRandomInt(0, 100), min: 0, max: 100, title: "Tiny Lad", label: "oz" }); var g4 = new JustGage({ id: "g4", value: getRandomInt(0, 100), min: 0, max: 100, title: "Little Pal", label: "oz" }); var g5 = new JustGage({ id: "g5", value: getRandomInt(0, 100), min: 0, max: 100, title: "Little Pal", label: "oz" }); setInterval(function() { g1.refresh(getRandomInt(50, 100)); g2.refresh(getRandomInt(50, 100)); g3.refresh(getRandomInt(0, 50)); g4.refresh(getRandomInt(0, 50)); g5.refresh(getRandomInt(0, 50)); }, 2500); }; });
| ver. 1.4 |
Github
|
.
| PHP 8.2.28 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings