demointeractions.html 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  6. <meta name="description" content="Example showing how to use TChartJS">
  7. <meta name="author" content="silvioprog">
  8. <script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.3/Chart.min.js" integrity="sha256-oSgtFCCmHWRPQ/JmR4OoZ3Xke1Pw4v50uh6pLcu+fIc=" crossorigin="anonymous"></script>
  9. <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
  10. <script src="js/demointeractions.js"></script>
  11. <title>TChartJS example</title>
  12. <style>
  13. canvas {
  14. -moz-user-select: none;
  15. -webkit-user-select: none;
  16. -ms-user-select: none;
  17. }
  18. .chart-container {
  19. width: 500px;
  20. margin-left: 40px;
  21. margin-right: 40px;
  22. margin-bottom: 40px;
  23. }
  24. .container {
  25. display: flex;
  26. flex-direction: column;
  27. flex-wrap: wrap;
  28. justify-content: center;
  29. }
  30. </style>
  31. </head>
  32. <body>
  33. <div class="container">
  34. <h3 class="title">
  35. TChartJS <small class="text-muted">Interaction charts using Pas2JS & ChartJS (<a href="demointeractions.lpr">view source</a>)</small>
  36. </h3>
  37. <div class="demoarea"></div>
  38. </div>
  39. <script>
  40. rtl.run();
  41. </script>
  42. </body>
  43. </html>