<!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('Chartjs')"></div>
</th:block>

<head>

</head>

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

		<div class="row">
			<div class="col-xl-6">
				<div class="card">
					<div class="card-header">
						<h4 class="card-title mb-0">Line Chart</h4>
					</div>
					<div class="card-body">
						<canvas id="lineChart" class="chartjs-chart"
							data-colors='["--vz-primary-rgb, 0.2", "--vz-primary", "--vz-success-rgb, 0.2", "--vz-success"]'></canvas>
					</div>
				</div>
			</div> <!-- end col -->

			<div class="col-xl-6">
				<div class="card">
					<div class="card-header">
						<h4 class="card-title mb-0">Bar Chart</h4>
					</div>
					<div class="card-body">
						<canvas id="bar" class="chartjs-chart"
							data-colors='["--vz-primary-rgb, 0.8", "--vz-primary-rgb, 0.9"]'></canvas>

					</div>
				</div>
			</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">Pie Chart</h4>
					</div>
					<div class="card-body">
						<canvas id="pieChart" class="chartjs-chart"
							data-colors='["--vz-success", "--vz-light"]'></canvas>
					</div>
				</div>
			</div> <!-- end col -->

			<div class="col-xl-6">
				<div class="card">
					<div class="card-header">
						<h4 class="card-title mb-0">Donut Chart</h4>
					</div>
					<div class="card-body">
						<canvas id="doughnut" class="chartjs-chart"
							data-colors='["--vz-primary", "--vz-light"]'></canvas>
					</div>
				</div>
			</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">Polar Chart</h4>
					</div>
					<div class="card-body">
						<canvas id="polarArea" class="chartjs-chart"
							data-colors='["--vz-danger", "--vz-success", "--vz-warning", "--vz-primary"]'> </canvas>
					</div>
				</div>
			</div> <!-- end col -->

			<div class="col-xl-6">
				<div class="card">
					<div class="card-header">
						<h4 class="card-title mb-0">Radar Chart</h4>
					</div>
					<div class="card-body">
						<canvas id="radar" class="chartjs-chart"
							data-colors='["--vz-success-rgb, 0.2", "--vz-success", "--vz-primary-rgb, 0.2", "--vz-primary"]'></canvas>
					</div>
				</div>
			</div> <!-- end col -->
		</div> <!-- end row -->
	</div>

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

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

		<!-- chartjs init -->
		<script src="/assets/js/pages/chartjs.init.js"></script>
	</th:block>
</body>

</html>