• 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. #myChart {
    13. height: 100%;
    14. width: 100%;
    15. }
    16. </style>
    17. </head>
    18.  
    19. <body>
    20. <div id='myChart'></div>
    21. <script>
    22. ZC.LICENSE = ["569d52cefae586f634c54f86dc99e6a9", "b55b025e438fa8a98e32482b5f768ff5"];
    23. var myConfig = {
    24. "type": "heatmap",
    25. "scale-x": {
    26. "labels": ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
    27. "line-color": "none", //Axis Lines
    28. "guide": { //Plot Lines
    29. "visible": false
    30. },
    31. "tick": { //Tick Marks
    32. "visible": false
    33. },
    34. "placement": "opposite"
    35. },
    36. "scale-y": {
    37. "labels": ["SD", "OC", "LA"],
    38. "line-color": "none",
    39. "guide": {
    40. "visible": false
    41. },
    42. "tick": {
    43. "visible": false
    44. }
    45. },
    46. "series": [{
    47. "values": [59, 15, 5, 30, 60, 99, 28]
    48. },
    49. {
    50. "values": [34, 32, 87, 65, 9, 17, 40]
    51. },
    52. {
    53. "values": [90, 19, 50, 39, 12, 49, 14]
    54. }
    55. ]
    56. };
    57.  
    58.  
    59. zingchart.render({
    60. id: 'myChart',
    61. data: myConfig,
    62. height: "100%",
    63. width: "100%"
    64. });
    65. </script>
    66. </body>
    67.  
    68. </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. <div id='myChart'></div>
    13. </body>
    14.  
    15. </html>
    1. html,
    2. body,
    3. #myChart {
    4. height: 100%;
    5. width: 100%;
    6. }
    1. var myConfig = {
    2. "type": "heatmap",
    3. "scale-x": {
    4. "labels": ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
    5. "line-color": "none", //Axis Lines
    6. "guide": { //Plot Lines
    7. "visible": false
    8. },
    9. "tick": { //Tick Marks
    10. "visible": false
    11. },
    12. "placement": "opposite"
    13. },
    14. "scale-y": {
    15. "labels": ["SD", "OC", "LA"],
    16. "line-color": "none",
    17. "guide": {
    18. "visible": false
    19. },
    20. "tick": {
    21. "visible": false
    22. }
    23. },
    24. "series": [{
    25. "values": [59, 15, 5, 30, 60, 99, 28]
    26. },
    27. {
    28. "values": [34, 32, 87, 65, 9, 17, 40]
    29. },
    30. {
    31. "values": [90, 19, 50, 39, 12, 49, 14]
    32. }
    33. ]
    34. };
    35.  
    36.  
    37. zingchart.render({
    38. id: 'myChart',
    39. data: myConfig,
    40. height: "100%",
    41. width: "100%"
    42. });