HEX
Server: Apache
System: Linux b:u:newjapaneti:1 3.10.0-1160.31.1.el7.x86_64 #1 SMP Thu Jun 10 13:32:12 UTC 2021 x86_64
User: newjapaneti (381717)
PHP: 5.6.30
Disabled: apache_get_modules, apache_get_version, apache_reset_timeout, apache_getenv, apache_note, apache_setenv
Upload Files
File: //proc/self/cwd/docs_old/scripts/charts/easypie.js
/**
 * Easypie chart page
 */
(function ($) {
  'use strict';

  $('.bounce').easyPieChart({
    size: 180,
    lineWidth: 8,
    barColor: 'rgba(0,0,0,.1)',
    trackColor: 'rgba(0,0,0,.1)',
    lineCap: 'butt',
    easing: 'easeOutBounce',
    onStep: function (from, to, percent) {
      $(this.el).find('.percent').text(Math.round(percent));
    }
  });

  $('.visitor').easyPieChart({
    size: 180,
    lineWidth: 15,
    barColor: 'rgba(0,0,0,.1)',
    trackColor: false,
    lineCap: 'round',
    easing: 'easeOutBounce',
    onStep: function (from, to, percent) {
      $(this.el).find('.percent').text(Math.round(percent));
    }
  });

  $('.newvisitor').easyPieChart({
    size: 180,
    lineWidth: 15,
    barColor: 'rgba(0,0,0,.1)',
    trackColor: 'rgba(0,0,0,.1)',
    lineCap: 'butt',
    easing: 'easeOutBounce',
    onStep: function (from, to, percent) {
      $(this.el).find('.percent').text(Math.round(percent));
    }
  });

  $('.signup').easyPieChart({
    size: 180,
    lineWidth: 8,
    barColor: 'rgba(0,0,0,.1)',
    trackColor: 'rgba(0,0,0,.1)',
    lineCap: 'butt',
    easing: 'easeOutBounce',
    onStep: function (from, to, percent) {
      $(this.el).find('.percent').text(Math.round(percent));
    }
  });

  $('.downtime').easyPieChart({
    size: 180,
    lineWidth: 8,
    barColor: 'rgba(0,0,0,.1)',
    trackColor: 'rgba(0,0,0,.1)',
    lineCap: 'round',
    easing: 'easeOutBounce',
    scaleColor: false,
    onStep: function (from, to, percent) {
      $(this.el).find('.percent').text(Math.round(percent));
    }
  });

  $('.purge').easyPieChart({
    size: 180,
    lineWidth: 2,
    barColor: 'rgba(0,0,0,.1)',
    trackColor: 'rgba(0,0,0,.1)',
    lineCap: 'round',
    easing: 'easeOutBounce',
    scaleColor: false,
    onStep: function (from, to, percent) {
      $(this.el).find('.percent').text(Math.round(percent));
    }
  });

  $('.piechart').each(function () {
    var canvas = $(this).find('canvas');
    $(this).css({
      'width': canvas.width(),
      'height': canvas.height()
    });
  });
})(jQuery);