<commit_before><?php
use app\assets\HighchartAsset;
?>
<?php
$js = <<<JS
        $('#view').highcharts({
        chart: {
            type: 'column'
        },
        title: {
            text: '铁道大学年级分布图'
        },
        xAxis: {
            type: 'category'
        },
        yAxis: {
            title: {
                text: '人数'
            }
   
        },
        credits: {
          enabled:false
       },
        legend: {
            enabled: false
        },
        plotOptions: {
            series: {
                borderWidth: 0,
                dataLabels: {
                    enabled: true,
                    format: '{point.y:.1f}%'
                }
            }
        },

        tooltip: {
            headerFormat: '<span style="font-size:11px">{series.name}</span><br>',
            pointFormat: '<span style="color:{point.color}">{point.name}</span>: <b>{point.y:.2f}%</b> of total<br/>'
        },
        series: [{
            name: 'Brands',
            colorByPoint: true,
            data: $json
        }],
    });
JS;
$this->registerJs($js);
?>
<div id="view" >
</div><commit_msg>edit views grade<commit_after><?php
use app\assets\HighchartAsset;
?>
<?php
$js = <<<JS
        $('#view').highcharts({
        chart: {
            type: 'column'
        },
        title: {
            text: '铁道大学年级分布图'
        },
        xAxis: {
            type: 'category'
        },
        yAxis: {
            title: {
                text: '人数'
            }
   
        },
        credits: {
          enabled:false
       },
        legend: {
            enabled: false
        },
        plotOptions: {
            series: {
                borderWidth: 0,
                dataLabels: {
                    enabled: true,
                    format: '{point.y:.1f}%'
                }
            }
        },

        tooltip: {
            headerFormat: '<span style="font-size:11px">{series.name}</span><br>',
            pointFormat: '<span style="color:{point.color}">{point.name}</span>: <b>{point.y:.2f}%</b> of total<br/>'
        },
        series: [{
            name: 'Brands',
            colorByPoint: true,
            data: $jsondata
        }],
    });
JS;
$this->registerJs($js);
?>
<div id="view" >
</div>
{'fraction_non_alphanumeric': 0.1598233995584989, 'fraction_numerical': 0.004415011037527594, 'mean_word_length': 1.127699530516432, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 29, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '313276', 'n_tokens_mistral': 699, 'n_tokens_neox': 685, 'n_words': 113}