{% extends 'partials/layout-vertical.html.twig' %}

{% block title %}Chartjs
{% endblock %}

{% block css %}{% endblock %}

{% block pagetitle %}
	{{ include('partials/page-title.html.twig', { sub_title: 'Charts', page_title: 'Chartjs ' }) }}
{% endblock %}

{% block body %}
	<div class="row">
		<div class="col-xl-6">
			<div class="card">
				<div class="card-body">
					<h4 class="header-title mb-4">Border Radius</h4>

					<div dir="ltr">
						<div class="mt-3 chartjs-chart" style="height: 320px;">
							<canvas id="border-radius-example" data-colors="#4254ba,#17a497"></canvas>
						</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">Floating</h4>

					<div dir="ltr">
						<div class="mt-3 chartjs-chart" style="height: 320px;">
							<canvas id="floating-example" data-colors="#4254ba,#17a497"></canvas>
						</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">Horizontal</h4>

					<div dir="ltr">
						<div class="mt-3 chartjs-chart" style="height: 320px;">
							<canvas id="horizontal-example" data-colors="#4254ba,#17a497"></canvas>
						</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</h4>

					<div dir="ltr">
						<div class="mt-3 chartjs-chart" style="height: 320px;">
							<canvas id="stacked-example" data-colors="#4254ba,#17a497"></canvas>
						</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">Stacked with Groups</h4>

					<div dir="ltr">
						<div class="mt-3 chartjs-chart" style="height: 320px;">
							<canvas id="group-stack-example" data-colors="#4254ba,#17a497"></canvas>
						</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">Vertical</h4>

					<div dir="ltr">
						<div class="mt-3 chartjs-chart" style="height: 320px;">
							<canvas id="vertical-example" data-colors="#4254ba,#17a497"></canvas>
						</div>
					</div>
				</div>
				<!-- end card body-->
			</div>
			<!-- end card -->
		</div>
		<!-- end col-->
	</div>
	<!-- end row-->

{% endblock %}

{% block javascript %}
	<!-- Chart.js -->
	<script src="/vendor/chart.js/chart.min.js"></script>

	<!-- Chart.js Bar Demo js -->
	<script src="/js/pages/demo.chartjs-bar.js"></script>
{% endblock %}