PageSourceSearch

https://sifrovacky.cz/assets/stats/views/charts/user-count-2eda5d5a.js

js sifrovacky.cz collected 2026-10-05 02:17:47 UTC 843 bytes, 39 lines download raw bytes

1import Highcharts from 'highcharts'
2
3import 'stats/highcharts-defaults'
4
5const url = location.pathname + '.json' + location.search
6
7fetch(url)
8  .then((response) => response.json())
9  .then((stats) => {
10    const data = stats.map((stat) => ({
11      x: parseInt(stat.year),
12      y: stat.user_count
13    }))
14    Highcharts.chart('user-count-chart', {
15      chart: { type: 'column' },
16      title: { text: 'Počet hráčů za rok' },
17      xAxis: {
18        type: 'category',
19        labels: {
20          rotation: -45
21        }
22      },
23      legend: false,
24      yAxis: {
25        min: 0,
26        title: { text: 'Počet hráčů' }
27      },
28      series: [
29        {
30          name: 'Počet hráčů',
31          data,
32          dataLabels: {
33            enabled: true,
34            format: '{point.y:.0f}'
35          }
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.