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

{% block title %}Apex Area Chart{% endblock title %} 

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


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

{% block content %} 

<div class="row">
    <div class="col-xl-6">
        <div class="card">
            <div class="card-body">
                <h4 class="header-title mb-4">Basic Area Chart</h4>
                <div dir="ltr">
                    <div id="basic-area" class="apex-charts" data-colors="#fa6767"></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">Spline Area</h4>
                <div dir="ltr">
                    <div id="spline-area" class="apex-charts" data-colors="#3e60d5,#6c757d"></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">Area Chart - Datetime X-axis</h4>
                <div class="toolbar apex-toolbar">
                    <button id="one_month" class="btn btn-sm btn-light">1M</button>
                    <button id="six_months" class="btn btn-sm btn-light">6M</button>
                    <button id="one_year" class="btn btn-sm btn-light active">1Y</button>
                    <button id="ytd" class="btn btn-sm btn-light">YTD</button>
                    <button id="all" class="btn btn-sm btn-light">ALL</button>
                </div>
                <div dir="ltr">
                    <div id="area-chart-datetime" class="apex-charts" data-colors="#6c757d"></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">Area with Negative Values</h4>
                <div dir="ltr">
                    <div id="area-chart-negative" class="apex-charts" data-colors="#47ad77,#ffbc00"></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">Selection - Github Style</h4>
                <div dir="ltr">
                    <div id="area-chart-github" class="apex-charts" data-colors="#7BD39A"></div>
                    <div class="pt-2 pb-2">
                        <div class="row align-items-center">
                            <div class="col-auto">
                                <img src="{% static 'dashboard/images/users/avatar-2.jpg' %}" class="avatar-xs rounded" alt="file-image">
                            </div>
                            <div class="col ps-0">
                                <a href="javascript:void(0);" class="text-muted fw-bold">Coderthemes</a>
                            </div>
                        </div>
                    </div>
                    <div id="area-chart-github2" class="apex-charts" data-colors="#FF7F00"></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">Stacked Area</h4>
                <div dir="ltr">
                    <div id="stacked-area" class="apex-charts" data-colors="#3e60d5,#47ad77,#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">Irregular TimeSeries</h4>
                <div dir="ltr">
                    <div id="area-timeSeries" class="apex-charts" data-colors="#39afd1,#fa5c7c,#3e60d5"></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">Area Chart with Null values</h4>
                <div dir="ltr">
                    <div id="area-chart-nullvalues" class="apex-charts" data-colors="#6c757d"></div>
                </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>
        <script src="{% static 'dashboard/vendor/daterangepicker/moment.min.js' %}"></script>  

        <!-- Apex Chart Area Demo js -->
        <script src="https://apexcharts.com/samples/assets/stock-prices.js"></script>
        <script src="https://apexcharts.com/samples/assets/series1000.js"></script>
        <script src="https://apexcharts.com/samples/assets/github-data.js"></script>
        <script src="https://apexcharts.com/samples/assets/irregular-data-series.js"></script>
        <script src="{% static 'dashboard/js/pages/demo.apex-area.js' %}"></script>        

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

{% endblock extra_js %}

