title = "Home"
url = "/:year?"
layout = "platform_main"
is_hidden = 0
==
<?php
function onStart(){
    $currentDate = Carbon\Carbon::now();

    $year = $this->param("year");

    if($year){
        $year = $this->param("year");
        $this["year"] = $this->param("year");
    }else{
        $year = $currentDate->year;
        $this["year"] = $currentDate->year;
    }

    if($year == 'default'){
        $year = $currentDate->year;
        $this["year"] = $currentDate->year;
    }

    $this["production1"] = Romanah\Gokbakja\Models\SewerProduction::whereMonth('date', 1)->whereYear('date', $year)->count() ?? 0;

    $this["production2"] = Romanah\Gokbakja\Models\SewerProduction::whereMonth('date', 2)->whereYear('date', $year)->sum('produced_bag_qty') ?? 0;
    $this["production3"] = Romanah\Gokbakja\Models\SewerProduction::whereMonth('date', 3)->whereYear('date', $year)->sum('produced_bag_qty') ?? 0;
    $this["production4"] = Romanah\Gokbakja\Models\SewerProduction::whereMonth('date', 4)->whereYear('date', $year)->sum('produced_bag_qty') ?? 0;
    $this["production5"] = Romanah\Gokbakja\Models\SewerProduction::whereMonth('date', 5)->whereYear('date', $year)->sum('produced_bag_qty') ?? 0;
    $this["production6"] = Romanah\Gokbakja\Models\SewerProduction::whereMonth('date', 6)->whereYear('date', $year)->sum('produced_bag_qty') ?? 0;
    $this["production7"] = Romanah\Gokbakja\Models\SewerProduction::whereMonth('date', 7)->whereYear('date', $year)->sum('produced_bag_qty') ?? 0;
    $this["production8"] = Romanah\Gokbakja\Models\SewerProduction::whereMonth('date', 8)->whereYear('date', $year)->sum('produced_bag_qty') ?? 0;
    $this["production9"] = Romanah\Gokbakja\Models\SewerProduction::whereMonth('date', 9)->whereYear('date', $year)->sum('produced_bag_qty') ?? 0;
    $this["production10"] = Romanah\Gokbakja\Models\SewerProduction::whereMonth('date', 10)->whereYear('date', $year)->sum('produced_bag_qty') ?? 0;
    $this["production11"] = Romanah\Gokbakja\Models\SewerProduction::whereMonth('date', 11)->whereYear('date', $year)->sum('produced_bag_qty') ?? 0;
    $this["production12"] = Romanah\Gokbakja\Models\SewerProduction::whereMonth('date', 12)->whereYear('date', $year)->sum('produced_bag_qty') ?? 0;

    $this["brakProduction1"] = Romanah\Gokbakja\Models\SewerProduction::whereMonth('date', 1)->whereYear('date', $year)->sum('defective_bag_qty') ?? 0;
    $this["brakProduction2"] = Romanah\Gokbakja\Models\SewerProduction::whereMonth('date', 2)->whereYear('date', $year)->sum('defective_bag_qty') ?? 0;
    $this["brakProduction3"] = Romanah\Gokbakja\Models\SewerProduction::whereMonth('date', 3)->whereYear('date', $year)->sum('defective_bag_qty') ?? 0;
    $this["brakProduction4"] = Romanah\Gokbakja\Models\SewerProduction::whereMonth('date', 4)->whereYear('date', $year)->sum('defective_bag_qty') ?? 0;
    $this["brakProduction5"] = Romanah\Gokbakja\Models\SewerProduction::whereMonth('date', 5)->whereYear('date', $year)->sum('defective_bag_qty') ?? 0;
    $this["brakProduction6"] = Romanah\Gokbakja\Models\SewerProduction::whereMonth('date', 6)->whereYear('date', $year)->sum('defective_bag_qty') ?? 0;
    $this["brakProduction7"] = Romanah\Gokbakja\Models\SewerProduction::whereMonth('date', 7)->whereYear('date', $year)->sum('defective_bag_qty') ?? 0;
    $this["brakProduction8"] = Romanah\Gokbakja\Models\SewerProduction::whereMonth('date', 8)->whereYear('date', $year)->sum('defective_bag_qty') ?? 0;
    $this["brakProduction9"] = Romanah\Gokbakja\Models\SewerProduction::whereMonth('date', 9)->whereYear('date', $year)->sum('defective_bag_qty') ?? 0;
    $this["brakProduction10"] = Romanah\Gokbakja\Models\SewerProduction::whereMonth('date', 10)->whereYear('date', $year)->sum('defective_bag_qty') ?? 0;
    $this["brakProduction11"] = Romanah\Gokbakja\Models\SewerProduction::whereMonth('date', 11)->whereYear('date', $year)->sum('defective_bag_qty') ?? 0;
    $this["brakProduction12"] = Romanah\Gokbakja\Models\SewerProduction::whereMonth('date', 12)->whereYear('date', $year)->sum('defective_bag_qty') ?? 0;

    $this["repairBrakProduction1"] = Romanah\Gokbakja\Models\SewerProduction::whereMonth('date', 1)->whereYear('date', $year)->sum('defective_repair_qty') ?? 0;
    $this["repairBrakProduction2"] = Romanah\Gokbakja\Models\SewerProduction::whereMonth('date', 2)->whereYear('date', $year)->sum('defective_repair_qty') ?? 0;
    $this["repairBrakProduction3"] = Romanah\Gokbakja\Models\SewerProduction::whereMonth('date', 3)->whereYear('date', $year)->sum('defective_repair_qty') ?? 0;
    $this["repairBrakProduction4"] = Romanah\Gokbakja\Models\SewerProduction::whereMonth('date', 4)->whereYear('date', $year)->sum('defective_repair_qty') ?? 0;
    $this["repairBrakProduction5"] = Romanah\Gokbakja\Models\SewerProduction::whereMonth('date', 5)->whereYear('date', $year)->sum('defective_repair_qty') ?? 0;
    $this["repairBrakProduction6"] = Romanah\Gokbakja\Models\SewerProduction::whereMonth('date', 6)->whereYear('date', $year)->sum('defective_repair_qty') ?? 0;
    $this["repairBrakProduction7"] = Romanah\Gokbakja\Models\SewerProduction::whereMonth('date', 7)->whereYear('date', $year)->sum('defective_repair_qty') ?? 0;
    $this["repairBrakProduction8"] = Romanah\Gokbakja\Models\SewerProduction::whereMonth('date', 8)->whereYear('date', $year)->sum('defective_repair_qty') ?? 0;
    $this["repairBrakProduction9"] = Romanah\Gokbakja\Models\SewerProduction::whereMonth('date', 9)->whereYear('date', $year)->sum('defective_repair_qty') ?? 0;
    $this["repairBrakProduction10"] = Romanah\Gokbakja\Models\SewerProduction::whereMonth('date', 10)->whereYear('date', $year)->sum('defective_repair_qty') ?? 0;
    $this["repairBrakProduction11"] = Romanah\Gokbakja\Models\SewerProduction::whereMonth('date', 11)->whereYear('date', $year)->sum('defective_repair_qty') ?? 0;
    $this["repairBrakProduction12"] = Romanah\Gokbakja\Models\SewerProduction::whereMonth('date', 12)->whereYear('date', $year)->sum('defective_repair_qty') ?? 0;


    $this["order1"] = Romanah\Gokbakja\Models\Order::whereMonth('created_at', 1)->whereYear('created_at', $year)->count() ?? 0;
    $this["order2"] = Romanah\Gokbakja\Models\Order::whereMonth('created_at', 2)->whereYear('created_at', $year)->count() ?? 0;
    $this["order3"] = Romanah\Gokbakja\Models\Order::whereMonth('created_at', 3)->whereYear('created_at', $year)->count() ?? 0;
    $this["order4"] = Romanah\Gokbakja\Models\Order::whereMonth('created_at', 4)->whereYear('created_at', $year)->count() ?? 0;
    $this["order5"] = Romanah\Gokbakja\Models\Order::whereMonth('created_at', 5)->whereYear('created_at', $year)->count() ?? 0;
    $this["order6"] = Romanah\Gokbakja\Models\Order::whereMonth('created_at', 6)->whereYear('created_at', $year)->count() ?? 0;
    $this["order7"] = Romanah\Gokbakja\Models\Order::whereMonth('created_at', 7)->whereYear('created_at', $year)->count() ?? 0;
    $this["order8"] = Romanah\Gokbakja\Models\Order::whereMonth('created_at', 8)->whereYear('created_at', $year)->count() ?? 0;
    $this["order9"] = Romanah\Gokbakja\Models\Order::whereMonth('created_at', 9)->whereYear('created_at', $year)->count() ?? 0;
    $this["order10"] = Romanah\Gokbakja\Models\Order::whereMonth('created_at', 10)->whereYear('created_at', $year)->count() ?? 0;
    $this["order11"] = Romanah\Gokbakja\Models\Order::whereMonth('created_at', 11)->whereYear('created_at', $year)->count() ?? 0;
    $this["order12"] = Romanah\Gokbakja\Models\Order::whereMonth('created_at', 12)->whereYear('created_at', $year)->count() ?? 0;


    $this["rulonProduction1"] = Romanah\Gokbakja\Models\ProductionMachine::whereMonth('date', 1)->whereYear('date', $year)->count() ?? 0;
    $this["rulonProduction2"] = Romanah\Gokbakja\Models\ProductionMachine::whereMonth('date', 2)->whereYear('date', $year)->count() ?? 0;
    $this["rulonProduction3"] = Romanah\Gokbakja\Models\ProductionMachine::whereMonth('date', 3)->whereYear('date', $year)->count() ?? 0;
    $this["rulonProduction4"] = Romanah\Gokbakja\Models\ProductionMachine::whereMonth('date', 4)->whereYear('date', $year)->count() ?? 0;
    $this["rulonProduction5"] = Romanah\Gokbakja\Models\ProductionMachine::whereMonth('date', 5)->whereYear('date', $year)->count() ?? 0;
    $this["rulonProduction6"] = Romanah\Gokbakja\Models\ProductionMachine::whereMonth('date', 6)->whereYear('date', $year)->count() ?? 0;
    $this["rulonProduction7"] = Romanah\Gokbakja\Models\ProductionMachine::whereMonth('date', 7)->whereYear('date', $year)->count() ?? 0;
    $this["rulonProduction8"] = Romanah\Gokbakja\Models\ProductionMachine::whereMonth('date', 8)->whereYear('date', $year)->count() ?? 0;
    $this["rulonProduction9"] = Romanah\Gokbakja\Models\ProductionMachine::whereMonth('date', 9)->whereYear('date', $year)->count() ?? 0;
    $this["rulonProduction10"] = Romanah\Gokbakja\Models\ProductionMachine::whereMonth('date', 10)->whereYear('date', $year)->count() ?? 0;
    $this["rulonProduction11"] = Romanah\Gokbakja\Models\ProductionMachine::whereMonth('date', 11)->whereYear('date', $year)->count() ?? 0;
    $this["rulonProduction12"] = Romanah\Gokbakja\Models\ProductionMachine::whereMonth('date', 12)->whereYear('date', $year)->count() ?? 0;




    $this["mechanicRulonProduction1"] = Romanah\Gokbakja\Models\ProductionMachine::whereMonth('date', 1)->whereYear('date', $year)->sum('produced_weight') ?? 0;
    $this["mechanicRulonProduction2"] = Romanah\Gokbakja\Models\ProductionMachine::whereMonth('date', 2)->whereYear('date', $year)->sum('produced_weight') ?? 0;
    $this["mechanicRulonProduction3"] = Romanah\Gokbakja\Models\ProductionMachine::whereMonth('date', 3)->whereYear('date', $year)->sum('produced_weight') ?? 0;
    $this["mechanicRulonProduction4"] = Romanah\Gokbakja\Models\ProductionMachine::whereMonth('date', 4)->whereYear('date', $year)->sum('produced_weight') ?? 0;
    $this["mechanicRulonProduction5"] = Romanah\Gokbakja\Models\ProductionMachine::whereMonth('date', 5)->whereYear('date', $year)->sum('produced_weight') ?? 0;
    $this["mechanicRulonProduction6"] = Romanah\Gokbakja\Models\ProductionMachine::whereMonth('date', 6)->whereYear('date', $year)->sum('produced_weight') ?? 0;
    $this["mechanicRulonProduction7"] = Romanah\Gokbakja\Models\ProductionMachine::whereMonth('date', 7)->whereYear('date', $year)->sum('produced_weight') ?? 0;
    $this["mechanicRulonProduction8"] = Romanah\Gokbakja\Models\ProductionMachine::whereMonth('date', 8)->whereYear('date', $year)->sum('produced_weight') ?? 0;
    $this["mechanicRulonProduction9"] = Romanah\Gokbakja\Models\ProductionMachine::whereMonth('date', 9)->whereYear('date', $year)->sum('produced_weight') ?? 0;
    $this["mechanicRulonProduction10"] = Romanah\Gokbakja\Models\ProductionMachine::whereMonth('date', 10)->whereYear('date', $year)->sum('produced_weight') ?? 0;
    $this["mechanicRulonProduction11"] = Romanah\Gokbakja\Models\ProductionMachine::whereMonth('date', 11)->whereYear('date', $year)->sum('produced_weight') ?? 0;
    $this["mechanicRulonProduction12"] = Romanah\Gokbakja\Models\ProductionMachine::whereMonth('date', 12)->whereYear('date', $year)->sum('produced_weight') ?? 0;


    $this["othodMechanicRulonProduction1"] = Romanah\Gokbakja\Models\ProductionMachine::whereMonth('date', 1)->whereYear('date', $year)->sum('defective_weight') ?? 0;
    $this["othodMechanicRulonProduction2"] = Romanah\Gokbakja\Models\ProductionMachine::whereMonth('date', 2)->whereYear('date', $year)->sum('defective_weight') ?? 0;
    $this["othodMechanicRulonProduction3"] = Romanah\Gokbakja\Models\ProductionMachine::whereMonth('date', 3)->whereYear('date', $year)->sum('defective_weight') ?? 0;
    $this["othodMechanicRulonProduction4"] = Romanah\Gokbakja\Models\ProductionMachine::whereMonth('date', 4)->whereYear('date', $year)->sum('defective_weight') ?? 0;
    $this["othodMechanicRulonProduction5"] = Romanah\Gokbakja\Models\ProductionMachine::whereMonth('date', 5)->whereYear('date', $year)->sum('defective_weight') ?? 0;
    $this["othodMechanicRulonProduction6"] = Romanah\Gokbakja\Models\ProductionMachine::whereMonth('date', 6)->whereYear('date', $year)->sum('defective_weight') ?? 0;
    $this["othodMechanicRulonProduction7"] = Romanah\Gokbakja\Models\ProductionMachine::whereMonth('date', 7)->whereYear('date', $year)->sum('defective_weight') ?? 0;
    $this["othodMechanicRulonProduction8"] = Romanah\Gokbakja\Models\ProductionMachine::whereMonth('date', 8)->whereYear('date', $year)->sum('defective_weight') ?? 0;
    $this["othodMechanicRulonProduction9"] = Romanah\Gokbakja\Models\ProductionMachine::whereMonth('date', 9)->whereYear('date', $year)->sum('defective_weight') ?? 0;
    $this["othodMechanicRulonProduction10"] = Romanah\Gokbakja\Models\ProductionMachine::whereMonth('date', 10)->whereYear('date', $year)->sum('defective_weight') ?? 0;
    $this["othodMechanicRulonProduction11"] = Romanah\Gokbakja\Models\ProductionMachine::whereMonth('date', 11)->whereYear('date', $year)->sum('defective_weight') ?? 0;
    $this["othodMechanicRulonProduction12"] = Romanah\Gokbakja\Models\ProductionMachine::whereMonth('date', 12)->whereYear('date', $year)->sum('defective_weight') ?? 0;


}
?>
==
<!-- start page title -->
<div class="row">
    <div class="col-12">
        <div class="page-title-box d-flex align-items-center justify-content-between">
            <h3 class="mb-0">GOK BAKJA</h3>
<!--
            <div class="page-title-right">
                <form action="/year/dynamic" class="search" method="POST">
                    <input type="text" class="form-control" type="number" name="year" placeholder="Введите год"
                        aria-label="Введите год">
                </form>
            </div> -->

        </div>
    </div>
</div>
<!-- end page title -->

<div class="row">

    <div class="col-lg-12">
        <div class="card">
            <div class="card-body">
                <h4 class="card-title mb-4">Rulon hasabaty (kg) {{year}} ýyl </h4>

                <div id="line_chart_datalabel4" class="apex-charts" dir="ltr"></div>
            </div>
        </div>
        <!--end card-->
    </div>
    <div class="col-lg-6">
        <div class="card">
            <div class="card-body">
                <h4 class="card-title mb-4">Tikilen Halta hasabaty {{year}} ýyl </h4>

                <div id="line_chart_datalabel" class="apex-charts" dir="ltr"></div>
            </div>
        </div>
        <!--end card-->
    </div>
    <div class="col-lg-6">
        <div class="card">
            <div class="card-body">
                <h4 class="card-title mb-4">Sargytlar hasabaty {{year}} ýyl </h4>

                <div id="line_chart_datalabel3" class="apex-charts" dir="ltr"></div>
            </div>
        </div>
        <!--end card-->
    </div>

    <div class="col-lg-12">
        <div class="card">
            <div class="card-body">
                <h4 class="card-title mb-4">Rulon hasabaty {{year}} ýyl </h4>

                <div id="line_chart_datalabel2" class="apex-charts" dir="ltr"></div>
            </div>
        </div>
        <!--end card-->
    </div>

    <!-- end col -->
</div><!-- end col -->

{% put scripts %}

<!-- apexcharts -->
<script src="{{'assets/libs/apexcharts/apexcharts.min.js'|theme}}"></script>

<script>
    var options = {
        chart: {
            height: 380,
            type: "line",
            zoom: {
                enabled: !1
            },
            toolbar: {
                show: !1
            }
        },
        colors: ["#00aba7", "#ff5d5d"],
        dataLabels: {
            enabled: !1
        },
        stroke: {
            width: [3, 3],
            curve: "straight"
        },
        series: [{
            name: "Rulon Kg ",
            data: ['{{mechanicRulonProduction1}}', '{{mechanicRulonProduction2}}', '{{mechanicRulonProduction3}}', '{{mechanicRulonProduction4}}', '{{mechanicRulonProduction5}}', '{{mechanicRulonProduction6}}', '{{mechanicRulonProduction7}}', '{{mechanicRulonProduction8}}', '{{mechanicRulonProduction9}}', '{{mechanicRulonProduction10}}', '{{mechanicRulonProduction11}}', '{{mechanicRulonProduction12}}']
        },
        {
            name: "Rulon Othod Kg ",
            data: ['{{othodMechanicRulonProduction1}}', '{{othodMechanicRulonProduction2}}', '{{othodMechanicRulonProduction3}}', '{{othodMechanicRulonProduction4}}', '{{othodMechanicRulonProduction5}}', '{{othodMechanicRulonProduction6}}', '{{othodMechanicRulonProduction7}}', '{{othodMechanicRulonProduction8}}', '{{othodMechanicRulonProduction9}}', '{{othodMechanicRulonProduction10}}', '{{othodMechanicRulonProduction11}}', '{{othodMechanicRulonProduction12}}']
        }],
        title: {
            text: "Rulon kg Hasabat",
            align: "left"
        },
        grid: {
            row: {
                colors: ["transparent", "transparent"],
                opacity: .2
            },
            borderColor: "#f1f1f1"
        },
        markers: {
            style: "inverted",
            size: 6
        },
        xaxis: {
            categories: ['Ýanwar', 'Fewral', 'Mart', 'Aprel', 'Maý', 'Iýun', 'Iýul', 'Awgust', 'Sentýabr', 'Oktýabr', 'Noýabr', 'Dekabr'],
            title: {
                text: "Aýlar"
            }
        },
        yaxis: {
            title: {
                text: ""
            }
        },
        legend: {
            position: "top",
            horizontalAlign: "right",
            floating: !0,
            offsetY: -25,
            offsetX: -5
        },
        responsive: [{
            breakpoint: 600,
            options: {
                chart: {
                    toolbar: {
                        show: !1
                    }
                },
                legend: {
                    show: !1
                }
            }
        }]
    },
        chart = new ApexCharts(document.querySelector("#line_chart_datalabel4"), options);
    chart.render();
</script>

<script>
    var options = {
        chart: {
            height: 380,
            type: "line",
            zoom: {
                enabled: !1
            },
            toolbar: {
                show: !1
            }
        },
        colors: ["#ff9b2d"],
        dataLabels: {
            enabled: !1
        },
        stroke: {
            width: [3, 3],
            curve: "straight"
        },
        series: [{
            name: "Sargyt Sany ",
            data: ['{{order1}}', '{{order2}}', '{{order3}}', '{{order4}}', '{{order5}}', '{{order6}}', '{{order7}}', '{{order8}}', '{{order9}}', '{{order10}}', '{{order11}}', '{{order12}}']
        }],
        title: {
            text: "Sargytlar Hasabat",
            align: "left"
        },
        grid: {
            row: {
                colors: ["transparent", "transparent"],
                opacity: .2
            },
            borderColor: "#f1f1f1"
        },
        markers: {
            style: "inverted",
            size: 6
        },
        xaxis: {
            categories: ['Ýanwar', 'Fewral', 'Mart', 'Aprel', 'Maý', 'Iýun', 'Iýul', 'Awgust', 'Sentýabr', 'Oktýabr', 'Noýabr', 'Dekabr'],
            title: {
                text: "Aýlar"
            }
        },
        yaxis: {
            title: {
                text: ""
            }
        },
        legend: {
            position: "top",
            horizontalAlign: "right",
            floating: !0,
            offsetY: -25,
            offsetX: -5
        },
        responsive: [{
            breakpoint: 600,
            options: {
                chart: {
                    toolbar: {
                        show: !1
                    }
                },
                legend: {
                    show: !1
                }
            }
        }]
    },
        chart = new ApexCharts(document.querySelector("#line_chart_datalabel3"), options);
    chart.render();
</script>


<script>
    var options = {
        chart: {
            height: 380,
            type: "line",
            zoom: {
                enabled: !1
            },
            toolbar: {
                show: !1
            }
        },
        colors: ["#2196f3", "#ff5d5d", "#6d0000"],
        dataLabels: {
            enabled: !1
        },
        stroke: {
            width: [3, 3],
            curve: "straight"
        },
        series: [{
            name: "Tikilen Halta ",
            data: ['{{production1}}', '{{production2}}', '{{production3}}', '{{production4}}', '{{production5}}', '{{production6}}', '{{production7}}', '{{production8}}', '{{production9}}', '{{production10}}', '{{production11}}', '{{production12}}']
        },
        {
            name: "Tikilen Halta BRAK ",
            data: ['{{brakProduction1}}', '{{brakProduction2}}', '{{brakProduction3}}', '{{brakProduction4}}', '{{brakProduction5}}', '{{brakProduction6}}', '{{brakProduction7}}', '{{brakProduction8}}', '{{brakProduction9}}', '{{brakProduction10}}', '{{brakProduction11}}', '{{brakProduction12}}']
        },
        {
            name: "Tikilen Halta SÜRÜLMEDIK ",
            data: ['{{repairBrakProduction1}}', '{{repairBrakProduction2}}', '{{repairBrakProduction3}}', '{{repairBrakProduction4}}', '{{repairBrakProduction5}}', '{{repairBrakProduction6}}', '{{repairBrakProduction7}}', '{{repairBrakProduction8}}', '{{repairBrakProduction9}}', '{{repairBrakProduction10}}', '{{repairBrakProduction11}}', '{{repairBrakProduction12}}']
        }],
        title: {
            text: "Tikilen Halta Hasabat",
            align: "left"
        },
        grid: {
            row: {
                colors: ["transparent", "transparent"],
                opacity: .2
            },
            borderColor: "#f1f1f1"
        },
        markers: {
            style: "inverted",
            size: 6
        },
        xaxis: {
            categories: ['Ýanwar', 'Fewral', 'Mart', 'Aprel', 'Maý', 'Iýun', 'Iýul', 'Awgust', 'Sentýabr', 'Oktýabr', 'Noýabr', 'Dekabr'],
            title: {
                text: "Aýlar"
            }
        },
        yaxis: {
            title: {
                text: ""
            }
        },
        legend: {
            position: "top",
            horizontalAlign: "right",
            floating: !0,
            offsetY: -25,
            offsetX: -5
        },
        responsive: [{
            breakpoint: 600,
            options: {
                chart: {
                    toolbar: {
                        show: !1
                    }
                },
                legend: {
                    show: !1
                }
            }
        }]
    },
        chart = new ApexCharts(document.querySelector("#line_chart_datalabel"), options);
    chart.render();
</script>


<script>
    var options = {
        chart: {
            height: 380,
            type: "line",
            zoom: {
                enabled: !1
            },
            toolbar: {
                show: !1
            }
        },
        colors: ["#6fbe36"],
        dataLabels: {
            enabled: !1
        },
        stroke: {
            width: [3, 3],
            curve: "straight"
        },
        series: [{
            name: "Rulon sany ",
            data: ['{{rulonProduction1}}', '{{rulonProduction2}}', '{{rulonProduction3}}', '{{rulonProduction4}}', '{{rulonProduction5}}', '{{rulonProduction6}}', '{{rulonProduction7}}', '{{rulonProduction8}}', '{{rulonProduction9}}', '{{rulonProduction10}}', '{{rulonProduction11}}', '{{rulonProduction12}}']
        }],
        title: {
            text: "Hasabat",
            align: "left"
        },
        grid: {
            row: {
                colors: ["transparent", "transparent"],
                opacity: .2
            },
            borderColor: "#f1f1f1"
        },
        markers: {
            style: "inverted",
            size: 6
        },
        xaxis: {
            categories: ['Ýanwar', 'Fewral', 'Mart', 'Aprel', 'Maý', 'Iýun', 'Iýul', 'Awgust', 'Sentýabr', 'Oktýabr', 'Noýabr', 'Dekabr'],
            title: {
                text: "Aýlar"
            }
        },
        yaxis: {
            title: {
                text: ""
            }
        },
        legend: {
            position: "top",
            horizontalAlign: "right",
            floating: !0,
            offsetY: -25,
            offsetX: -5
        },
        responsive: [{
            breakpoint: 600,
            options: {
                chart: {
                    toolbar: {
                        show: !1
                    }
                },
                legend: {
                    show: !1
                }
            }
        }]
    },
        chart = new ApexCharts(document.querySelector("#line_chart_datalabel2"), options);
    chart.render();
</script>
{% endput %}
