PageSourceSearch

https://frontiersemi.com/Designs/admin/js/easy-pie-chart.js

js frontiersemi.com collected 2026-10-10 00:31:14 UTC 1,176 bytes, 39 lines download raw bytes

1var Script = function () {
2
3// easy pie chart
4
5    $('.percentage').easyPieChart({
6        animate: 1000,
7        size: 135,
8        barColor:'#ff6c60'
9    });
10    $('.percentage-light').easyPieChart({
11        barColor: function(percent) {
12            percent /= 100;
13            return "rgb(" + Math.round(255 * (1-percent)) + ", " + Math.round(255 * percent) + ", 0)";
14        },
15        trackColor: '#666',
16        scaleColor: false,
17        lineCap: 'butt',
18        lineWidth: 15,
19        animate: 1000
20    });
21
22    $('.update-easy-pie-chart').click(function(){
23        $('.easy-pie-chart .percentage').each(function() {
24            var newValue = Math.floor(100*Math.random());
25            $(this).data('easyPieChart').update(newValue);
26            $('span', this).text(newValue);
27        });
28    });
29
30    $('.updateEasyPieChart').on('click', function(e) {
31        e.preventDefault();
32        $('.percentage, .percentage-light').each(function() {
33            var newValue = Math.round(100*Math.random());
34            $(this).data('easyPieChart').update(newValue);
35            $('span', this).text(newValue);
36        });
37    });
38
39}();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.