<!doctype html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
	layout:decorate="~{layout}">

<th:block layout:fragment="pagetitle">
	<!--page title-->
	<div th:replace="partials/title-meta :: title-meta('Apex Area Charts')"></div>
</th:block>

<head>

</head>

<body>
	<div layout:fragment="content">
		<!-- start page title -->
		<div th:replace="partials/page-title :: page-title('Area Charts','Apexcharts')"></div>

		<div class="row">
			<div class="col-xl-6">
				<div class="card">
					<div class="card-header">
						<h4 class="card-title mb-0">Basic Area Chart</h4>
					</div><!-- end card header -->

					<div class="card-body">
						<div id="area_chart_basic" data-colors='["--vz-success"]' class="apex-charts" dir="ltr"></div>
					</div><!-- end card-body -->
				</div><!-- end card -->
			</div>
			<!-- end col -->

			<div class="col-xl-6">
				<div class="card">
					<div class="card-header">
						<h4 class="card-title mb-0">Spline Area Chart</h4>
					</div><!-- end card header -->

					<div class="card-body">
						<div id="area_chart_spline" data-colors='["--vz-primary", "--vz-success"]' class="apex-charts"
							dir="ltr"></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-header">
						<h4 class="card-title mb-0">Area Chart - Datetime X - Axis Chart</h4>
					</div><!-- end card header -->

					<div class="card-body">
						<div>
							<div class="toolbar d-flex align-items-start justify-content-center flex-wrap gap-2">
								<button type="button" class="btn btn-soft-primary timeline-btn btn-sm" id="one_month">
									1M
								</button>
								<button type="button" class="btn btn-soft-primary timeline-btn btn-sm" id="six_months">
									6M
								</button>
								<button type="button" class="btn btn-soft-primary timeline-btn btn-sm active"
									id="one_year">
									1Y
								</button>
								<button type="button" class="btn btn-soft-primary timeline-btn btn-sm" id="all">
									ALL
								</button>
							</div>
							<div id="area_chart_datetime" data-colors='["--vz-info"]' class="apex-charts" dir="ltr">
							</div>
						</div>
					</div><!-- end card-body -->
				</div><!-- end card -->
			</div>
			<!-- end col -->

			<div class="col-xl-6">
				<div class="card">
					<div class="card-header">
						<h4 class="card-title mb-0">Area with Negative Values Chart</h4>
					</div><!-- end card header -->

					<div class="card-body">
						<div id="area_chart_negative" data-colors='["--vz-success", "--vz-info"]' class="apex-charts"
							dir="ltr"></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-header">
						<h4 class="card-title mb-0">Area Chart - Github Style</h4>
					</div><!-- end card header -->

					<div class="card-body">
						<div>
							<div class="bg-light">
								<div id="area_chart-months" data-colors='["--vz-danger"]' class="apex-charts" dir="ltr">
								</div>
							</div>

							<div class="github-style d-flex align-items-center my-2">
								<div class="flex-shrink-0 me-2">
									<img class="avatar-sm rounded" src="assets/images/users/avatar-2.jpg"
										data-hovercard-user-id="634573" alt="" />
								</div>
								<div class="flex-grow-1">
									<a class="font-size-14 text-dark fw-medium">coder</a>
									<div class="cmeta text-muted font-size-11">
										<span class="commits text-dark fw-medium"></span> commits
									</div>
								</div>
							</div>

							<div class="bg-light">
								<div id="area_chart-years" data-colors='["--vz-success"]' class="apex-charts" dir="ltr">
								</div>
							</div>
						</div>
					</div><!-- end card-body -->
				</div><!-- end card -->
			</div>
			<!-- end col -->

			<div class="col-xl-6">
				<div class="card">
					<div class="card-header">
						<h4 class="card-title mb-0">Stacked Area Chart</h4>
					</div><!-- end card header -->

					<div class="card-body">
						<div id="area_chart_stacked" data-colors='["--vz-success", "--vz-info", "--vz-light"]'
							class="apex-charts" dir="ltr"></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-header">
						<h4 class="card-title mb-0">Irregular Timeseries Chart</h4>
					</div><!-- end card header -->

					<div class="card-body">
						<div id="area_chart_irregular" data-colors='["--vz-primary", "--vz-warning", "--vz-success"]'
							class="apex-charts" dir="ltr"></div>
					</div><!-- end card-body -->
				</div><!-- end card -->
			</div>
			<!-- end col -->

			<div class="col-xl-6">
				<div class="card">
					<div class="card-header">
						<h4 class="card-title mb-0">Area Chart With Null Values Chart</h4>
					</div><!-- end card header -->

					<div class="card-body">
						<div id="area-missing-null-value" data-colors='["--vz-success"]' class="apex-charts" dir="ltr">
						</div>
					</div><!-- end card-body -->
				</div><!-- end card -->
			</div>
			<!-- end col -->
		</div>
		<!-- end row -->
	</div>

	<th:block layout:fragment="modal">

	</th:block>
	<th:block layout:fragment="pagejs">
		<!-- apexcharts -->
		<script src="/assets/libs/apexcharts/apexcharts.min.js"></script>

		<script src="https://img.themesbrand.com/velzon/apexchart-js/stock-prices.js"></script>
		<!-- for github style chart -->
		<script src="https://img.themesbrand.com/velzon/apexchart-js/github-data.js"></script>
		<!-- for irregular timeseries chart -->
		<script src="https://img.themesbrand.com/velzon/apexchart-js/irregular-data-series.js"></script>
		<script src="/assets/libs/moment/moment.js"></script>
		<!-- linecharts init -->
		<script src="/assets/js/pages/apexcharts-area.init.js"></script>
	</th:block>
</body>

</html>