• Edit
  • Download
    1. <!DOCTYPE html>
    2. <html>
    3.  
    4. <head>
    5. <meta charset="utf-8">
    6. <title>ZingSoft Demo</title>
    7.  
    8. <script nonce="undefined" src="https://cdn.zingchart.com/zingchart.min.js"></script>
    9. <style>
    10. html,
    11. body {
    12. height: 100%;
    13. width: 100%;
    14. margin: 0;
    15. padding: 0;
    16. }
    17.  
    18. .chart--container {
    19. height: 100%;
    20. width: 100%;
    21. min-height: 150px;
    22. }
    23.  
    24. .zc-ref {
    25. display: none;
    26. }
    27. </style>
    28. </head>
    29.  
    30. <body>
    31. <!-- CHART CONTAINER -->
    32. <div id="myChart" class="chart--container">
    33. <a class="zc-ref" href="https://www.zingchart.com">Powered by ZingChart</a>
    34. </div>
    35. <script>
    36. ZC.LICENSE = ["569d52cefae586f634c54f86dc99e6a9", "b55b025e438fa8a98e32482b5f768ff5"];
    37. var myConfig = {
    38. type: 'calendar', // Set the chart type to 'calendar'.
    39.  
    40. plotarea: {
    41. marginTop: '35%',
    42. marginBottom: '45%'
    43. }
    44. };
    45.  
    46. // render chart with width and height to
    47. // fill the parent container CSS dimensions
    48. zingchart.render({
    49. id: 'myChart',
    50. data: myConfig,
    51. height: '100%',
    52. width: '100%',
    53. modules: 'calendar',
    54. });
    55. </script>
    56. </body>
    57.  
    58. </html>
    1. <!DOCTYPE html>
    2. <html>
    3.  
    4. <head>
    5. <meta charset="utf-8">
    6. <title>ZingSoft Demo</title>
    7.  
    8. <script src="https://cdn.zingchart.com/zingchart.min.js"></script>
    9. </head>
    10.  
    11. <body>
    12. <!-- CHART CONTAINER -->
    13. <div id="myChart" class="chart--container">
    14. <a class="zc-ref" href="https://www.zingchart.com">Powered by ZingChart</a>
    15. </div>
    16. </body>
    17.  
    18. </html>
    1. html,
    2. body {
    3. height: 100%;
    4. width: 100%;
    5. margin: 0;
    6. padding: 0;
    7. }
    8.  
    9. .chart--container {
    10. height: 100%;
    11. width: 100%;
    12. min-height: 150px;
    13. }
    14.  
    15. .zc-ref {
    16. display: none;
    17. }
    1. var myConfig = {
    2. type: 'calendar', // Set the chart type to 'calendar'.
    3.  
    4. plotarea: {
    5. marginTop: '35%',
    6. marginBottom: '45%'
    7. }
    8. };
    9.  
    10. // render chart with width and height to
    11. // fill the parent container CSS dimensions
    12. zingchart.render({
    13. id: 'myChart',
    14. data: myConfig,
    15. height: '100%',
    16. width: '100%',
    17. modules: 'calendar',
    18. });