• 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 myConfig2 = {
    24. "type": "hbubble",
    25. "series": [{
    26. "values": [
    27. [1, 9, 59],
    28. [2, 15, 15],
    29. [3, 21, 30],
    30. [4, 30, 5],
    31. [5, 40, 35],
    32. [6, 59, 21],
    33. [7, 60, 25],
    34. [8, 75, 85],
    35. [9, 81, 87],
    36. [10, 99, 12]
    37. ]
    38. }]
    39. };
    40.  
    41. zingchart.render({
    42. id: 'myChart',
    43. data: myConfig2,
    44. height: "100%",
    45. width: "100%"
    46. });
    47. </script>
    48. </body>
    49.  
    50. </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 myConfig2 = {
    2. "type": "hbubble",
    3. "series": [{
    4. "values": [
    5. [1, 9, 59],
    6. [2, 15, 15],
    7. [3, 21, 30],
    8. [4, 30, 5],
    9. [5, 40, 35],
    10. [6, 59, 21],
    11. [7, 60, 25],
    12. [8, 75, 85],
    13. [9, 81, 87],
    14. [10, 99, 12]
    15. ]
    16. }]
    17. };
    18.  
    19. zingchart.render({
    20. id: 'myChart',
    21. data: myConfig2,
    22. height: "100%",
    23. width: "100%"
    24. });