{% extends "pxy_dashboard/partials/base.html" %} 
{% load static %} 

{% block title %}Apex Pie Charts{% endblock title %} 

{% block extra_css %} 
{% endblock extra_css %} 


{% block pagetitle %}
{% include "pxy_dashboard/partials/page-title.html" with pagetitle="Pie Charts" title="Apex" %}
{% endblock pagetitle %}

{% block content %} 
<div class="row">
    <div class="col-xl-6">
        <div class="card">
            <div class="card-body">
                <h4 class="header-title">Simple Pie Chart</h4>
                <div dir="ltr">
                    <div id="simple-pie" class="apex-charts" data-colors="#3e60d5,#6c757d,#47ad77,#fa5c7c,#e3eaef"></div>
                </div>
            </div>
            <!-- end card body-->
        </div>
        <!-- end card -->
    </div>
    <!-- end col-->

    <div class="col-xl-6">
        <div class="card">
            <div class="card-body">
                <h4 class="header-title">Simple Donut Chart</h4>
                <div dir="ltr">
                    <div id="simple-donut" class="apex-charts" data-colors="#39afd1,#ffbc00,#313a46,#fa5c7c,#47ad77"></div>
                </div>
            </div>
            <!-- end card body-->
        </div>
        <!-- end card -->
    </div>
    <!-- end col-->
</div>
<!-- end row-->

<div class="row">
    <div class="col-xl-6">
        <div class="card">
            <div class="card-body">
                <h4 class="header-title mb-4">Monochrome Pie Chart</h4>
                <div dir="ltr">
                    <div id="monochrome-pie" class="apex-charts"></div>
                </div>
            </div>
            <!-- end card body-->
        </div>
        <!-- end card -->
    </div>
    <!-- end col-->

    <div class="col-xl-6">
        <div class="card">
            <div class="card-body">
                <h4 class="header-title mb-4">Gradient Donut Chart</h4>
                <div dir="ltr">
                    <div id="gradient-donut" class="apex-charts" data-colors="#3e60d5,#6c757d,#47ad77,#fa5c7c,#e3eaef"></div>
                </div>
            </div>
            <!-- end card body-->
        </div>
        <!-- end card -->
    </div>
    <!-- end col-->
</div>
<!-- end row-->

<div class="row">
    <div class="col-xl-6">
        <div class="card">
            <div class="card-body">
                <h4 class="header-title mb-4">Patterned Donut Chart</h4>
                <div dir="ltr">
                    <div id="patterned-donut" class="apex-charts" data-colors="#39afd1,#ffbc00,#313a46,#fa5c7c,#47ad77"></div>
                </div>
            </div>
            <!-- end card body-->
        </div>
        <!-- end card -->
    </div>
    <!-- end col-->

    <div class="col-xl-6">
        <div class="card">
            <div class="card-body">
                <h4 class="header-title mb-4">Pie Chart with Image fill</h4>
                <div dir="ltr">
                    <div id="image-pie" class="apex-charts" data-colors="#39afd1,#ffbc00,#3e60d5,#47ad77"></div>
                </div>
            </div>
            <!-- end card body-->
        </div>
        <!-- end card -->
    </div>
    <!-- end col-->
</div>
<!-- end row-->

<div class="row">
    <div class="col-xl-6">
        <div class="card">
            <div class="card-body">
                <h4 class="header-title mb-4">Donut Update</h4>
                <div dir="ltr">
                    <div id="update-donut" class="apex-charts" data-colors="#3e60d5,#6c757d,#47ad77,#fa5c7c"></div>
                </div>

                <div class="text-center mt-2">
                    <button class="btn btn-sm btn-primary" id="randomize">RANDOMIZE</button>
                    <button class="btn btn-sm btn-primary" id="add">ADD</button>
                    <button class="btn btn-sm btn-primary" id="remove">REMOVE</button>
                    <button class="btn btn-sm btn-primary" id="reset">RESET</button>
                </div>

            </div>
            <!-- end card body-->
        </div>
        <!-- end card -->
    </div>
    <!-- end col-->
</div>
<!-- end row-->



{% endblock content %} 

{% block extra_js %} 

        <!-- Apex Charts js -->
        <script src="{% static 'dashboard/vendor/apexcharts/apexcharts.min.js' %}"></script> 

        <!-- Apex Chart Pie Demo js -->   
        <script src="{% static 'dashboard/js/pages/demo.apex-pie.js' %}"></script>        

        <!-- App js -->
        <script src="{% static 'dashboard/js/app.min.js' %}"></script>

{% endblock extra_js %}

