templates/charts-chartjs.html.twig line 1

Open in your IDE?
  1. {{ include('partials/main.html.twig') }}
  2.     <head>
  3.         
  4.         {{ include('partials/title-meta.html.twig', {title: 'Chartjs'}) }}
  5.         {{ include('partials/head-css.html.twig') }}
  6.     </head>
  7.     {{ include('partials/body.html.twig') }}
  8.         <!-- Begin page -->
  9.         <div id="layout-wrapper">
  10.             {{ include('partials/menu.html.twig') }}
  11.             <!-- ============================================================== -->
  12.             <!-- Start right Content here -->
  13.             <!-- ============================================================== -->
  14.             <div class="main-content">
  15.                 <div class="page-content">
  16.                     <div class="container-fluid">
  17.                         {{ include('partials/page-title.html.twig', {pagetitle: 'Charts', title: 'Chartjs'}) }}
  18.                         <div class="row">
  19.                             <div class="col-xl-6">
  20.                                 <div class="card">
  21.                                     <div class="card-header">
  22.                                         <h4 class="card-title mb-0">Line Chart</h4>
  23.                                     </div>
  24.                                     <div class="card-body">
  25.         
  26.                                         <canvas id="lineChart" height="300" data-colors='["rgba(81, 86, 190, 0.2)", "#5156be", "rgba(235, 239, 242, 0.2)", "#ebeff2"]'></canvas>
  27.         
  28.                                     </div>
  29.                                 </div>
  30.                             </div> <!-- end col -->
  31.         
  32.                             <div class="col-xl-6">
  33.                                 <div class="card">
  34.                                     <div class="card-header">
  35.                                         <h4 class="card-title mb-0">Bar Chart</h4>
  36.                                     </div>
  37.                                     <div class="card-body">
  38.         
  39.                                         <canvas id="bar" height="300" data-colors='["rgba(41, 181, 125, 0.8)", "rgba(41, 181, 125, 0.9)"]'></canvas>
  40.         
  41.                                     </div>
  42.                                 </div>
  43.                             </div> <!-- end col -->
  44.                         </div> <!-- end row -->
  45.         
  46.         
  47.                         <div class="row">
  48.                             <div class="col-xl-6">
  49.                                 <div class="card">
  50.                                     <div class="card-header">
  51.                                         <h4 class="card-title mb-0">Pie Chart</h4>
  52.                                     </div>
  53.                                     <div class="card-body">
  54.         
  55.                                         <canvas id="pie" height="260" data-colors='["#2ab57d", "#ebeff2"]'></canvas>
  56.         
  57.                                     </div>
  58.                                 </div>
  59.                             </div> <!-- end col -->
  60.         
  61.                             <div class="col-xl-6">
  62.                                 <div class="card">
  63.                                     <div class="card-header">
  64.                                         <h4 class="card-title mb-0">Donut Chart</h4>
  65.                                     </div>
  66.                                     <div class="card-body">
  67.         
  68.                                         <canvas id="doughnut" height="260" data-colors='["#5156be", "#ebeff2"]'></canvas>
  69.         
  70.                                     </div>
  71.                                 </div>
  72.                             </div> <!-- end col -->
  73.                         </div> <!-- end row -->
  74.         
  75.                         <div class="row">
  76.                             <div class="col-xl-6">
  77.                                 <div class="card">
  78.                                     <div class="card-header">
  79.                                         <h4 class="card-title mb-0">Polar Chart</h4>
  80.                                     </div>
  81.                                     <div class="card-body">
  82.         
  83.                                         <canvas id="polarArea" height="300" data-colors='["#fd625e", "#2ab57d", "#ffbf53", "#5156be"]'> </canvas>
  84.         
  85.                                     </div>
  86.                                 </div>
  87.                             </div> <!-- end col -->
  88.         
  89.                             <div class="col-xl-6">
  90.                                 <div class="card">
  91.                                     <div class="card-header">
  92.                                         <h4 class="card-title mb-0">Radar Chart</h4>
  93.                                     </div>
  94.                                     <div class="card-body">
  95.                                         <canvas id="radar" height="300" data-colors='["rgba(42, 181, 125, 0.2)", "#2ab57d", "rgba(81, 86, 190, 0.2)", "#5156be"]'></canvas>
  96.                                     </div>
  97.                                 </div>
  98.                             </div> <!-- end col -->
  99.                         </div> <!-- end row -->
  100.                         
  101.                     </div> <!-- container-fluid -->
  102.                 </div>
  103.                 <!-- End Page-content -->
  104.                 
  105.                 {{ include('partials/footer.html.twig') }}
  106.             </div>
  107.             <!-- end main content-->
  108.         </div>
  109.         <!-- END layout-wrapper -->
  110.         {{ include('partials/right-sidebar.html.twig') }}
  111.         {{ include('partials/vendor-scripts.html.twig') }}
  112.         <!-- Chart JS -->
  113.         <script src="/libs/chart.js/dist/Chart.bundle.min.js"></script>
  114.         <!-- chartjs init -->
  115.         <script src="/js/pages/chartjs.init.js"></script> 
  116.         <script src="/js/app.js"></script>
  117.     </body>
  118. </html>