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

<head>

</head>

<body>
	<div layout:fragment="content">
		<!-- start page title -->
		<div th:replace="partials/page-title :: page-title('Candlestick 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 Candlestick Chart</h4>
					</div><!-- end card header -->

					<div class="card-body">
						<div id="basic_candlestick" data-colors='["--vz-success", "--vz-danger"]' 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">Candlestick Synced with Brush Chart (Combo)</h4>
					</div><!-- end card header -->

					<div class="card-body">
						<div>
							<div id="combo_candlestick" data-colors='["--vz-info", "--vz-danger"]' class="apex-charts"
								dir="ltr"></div>
							<div id="combo_candlestick_chart" data-colors='["--vz-warning", "--vz-danger"]'
								class="apex-charts" dir="ltr"></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-header">
						<h4 class="card-title mb-0">Category X-Axis</h4>
					</div><!-- end card header -->

					<div class="card-body">
						<div id="category_candlestick" data-colors='["--vz-success", "--vz-danger"]' 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">Candlestick with line</h4>
					</div><!-- end card header -->

					<div class="card-body">
						<div id="candlestick_with_line"
							data-colors='["--vz-success", "--vz-danger", "--vz-info", "--vz-warning"]'
							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://apexcharts.com/samples/assets/ohlc.js"></script>
		<script src="https://img.themesbrand.com/velzon/apexchart-js/dayjs.min.js"></script>
		<!-- candlestick init -->
		<script src="/assets/js/pages/apexcharts-candlestick.init.js"></script>
	</th:block>
</body>

</html>