Skip to content
This repository has been archived by the owner on Jun 19, 2020. It is now read-only.

Commit

Permalink
Release 1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rumblefrog authored Dec 27, 2016
1 parent 15f3fb5 commit 6adada8
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Log.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
$version = '1.1.1';
$version = '1.1.2';
$github_version = ltrim(json_decode(file_get_contents('https://api.github.com/repos/RumbleFrog/DragonballStatistical/releases/latest', false, stream_context_create(array('http'=> array('method'=>"GET", 'header'=>"Accept-language: en\r\n" . "Cookie: foo=bar\r\n" . "User-Agent: DragonballStatistical\r\n")))), true)['tag_name'], 'v');
$outdated = (version_compare($version, $github_version, ">=")) ? false : true;

Expand Down Expand Up @@ -129,8 +129,11 @@
}
});
Highcharts.chart('servers-graph', {
chart: {
zoomType: 'x'
},
title: {
text: 'Servers Stats'
text: 'Server Statistics'
},
xAxis: {
type: 'datetime',
Expand Down Expand Up @@ -166,7 +169,7 @@
$x[] = $y;
} ?>
{
type: 'spline',
type: 'area',
name: '<?= $k; ?>',
turboThreshold: 0,
data: <?= json_encode($x, JSON_NUMERIC_CHECK); ?>,
Expand All @@ -187,7 +190,7 @@
}, <?php $i++; } ?>
],
tooltip: {
pointFormat: '{series.name} of <b>{point.y:,.0f}</b><br/>players'
pointFormat: 'Occupied <b>{point.percentage:,.0f}</b>% of monthly traffic'
},
center: [100, 80],
size: 100,
Expand Down

0 comments on commit 6adada8

Please sign in to comment.