• 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 myConfig9 = {
    24. "type": "bubble",
    25. "scale-x": {
    26. "label": {
    27. "text": "Bubble Chart with a Linear Scale"
    28. },
    29. "values": "0:10:2",
    30. },
    31. "scale-y": {
    32. "values": "0:100:25",
    33. "format": "$%v"
    34. },
    35. "series": [{
    36. "values": [
    37. [1, 9, 59],
    38. [2, 15, 15],
    39. [3, 21, 30],
    40. [4, 30, 5],
    41. [5, 40, 35],
    42. [6, 59, 21],
    43. [7, 60, 25],
    44. [8, 75, 85],
    45. [9, 81, 87],
    46. [10, 99, 12]
    47. ]
    48. },
    49. {
    50. "values": [
    51. [0.9, 3, 18],
    52. [2.1, 13, 21],
    53. [3.5, 25, 33],
    54. [4.9, 35, 54],
    55. [5.3, 41, 59],
    56. [6.5, 57, 34],
    57. [7.1, 61, 17],
    58. [8.7, 70, 3],
    59. [9.2, 82, 28],
    60. [9.9, 95, 76]
    61. ]
    62. },
    63. {
    64. "values": [
    65. [0.1, 9, 3],
    66. [1.8, 21, 60],
    67. [1.9, 29, 9],
    68. [4.1, 33, 9],
    69. [4.5, 39, 4],
    70. [6.9, 51, 3],
    71. [7.4, 64, 11],
    72. [8.9, 70, 12],
    73. [9, 75, 3],
    74. [9.3, 93, 29]
    75. ]
    76. },
    77. {
    78. "values": [
    79. [0.3, 11, 11],
    80. [0.9, 15, 21],
    81. [1.1, 24, 54],
    82. [2.3, 29, 6],
    83. [2.9, 30, 9],
    84. [3.3, 35, 59],
    85. [5.6, 67, 30],
    86. [6.9, 70, 14],
    87. [7.3, 71, 7],
    88. [8.9, 90, 9]
    89. ]
    90. },
    91. {
    92. "values": [
    93. [0.5, 5, 8],
    94. [1.9, 5, 3],
    95. [2.5, 10, 2],
    96. [3.1, 30, 8],
    97. [6.5, 45, 87],
    98. [6.9, 74, 1],
    99. [7.2, 50, 7],
    100. [7.8, 56, 20],
    101. [8, 61, 3],
    102. [8.5, 71, 4]
    103. ]
    104. },
    105. ]
    106. };
    107.  
    108. zingchart.render({
    109. id: 'myChart',
    110. data: myConfig9,
    111. height: "100%",
    112. width: "100%"
    113. });
    114. </script>
    115. </body>
    116.  
    117. </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 myConfig9 = {
    2. "type": "bubble",
    3. "scale-x": {
    4. "label": {
    5. "text": "Bubble Chart with a Linear Scale"
    6. },
    7. "values": "0:10:2",
    8. },
    9. "scale-y": {
    10. "values": "0:100:25",
    11. "format": "$%v"
    12. },
    13. "series": [{
    14. "values": [
    15. [1, 9, 59],
    16. [2, 15, 15],
    17. [3, 21, 30],
    18. [4, 30, 5],
    19. [5, 40, 35],
    20. [6, 59, 21],
    21. [7, 60, 25],
    22. [8, 75, 85],
    23. [9, 81, 87],
    24. [10, 99, 12]
    25. ]
    26. },
    27. {
    28. "values": [
    29. [0.9, 3, 18],
    30. [2.1, 13, 21],
    31. [3.5, 25, 33],
    32. [4.9, 35, 54],
    33. [5.3, 41, 59],
    34. [6.5, 57, 34],
    35. [7.1, 61, 17],
    36. [8.7, 70, 3],
    37. [9.2, 82, 28],
    38. [9.9, 95, 76]
    39. ]
    40. },
    41. {
    42. "values": [
    43. [0.1, 9, 3],
    44. [1.8, 21, 60],
    45. [1.9, 29, 9],
    46. [4.1, 33, 9],
    47. [4.5, 39, 4],
    48. [6.9, 51, 3],
    49. [7.4, 64, 11],
    50. [8.9, 70, 12],
    51. [9, 75, 3],
    52. [9.3, 93, 29]
    53. ]
    54. },
    55. {
    56. "values": [
    57. [0.3, 11, 11],
    58. [0.9, 15, 21],
    59. [1.1, 24, 54],
    60. [2.3, 29, 6],
    61. [2.9, 30, 9],
    62. [3.3, 35, 59],
    63. [5.6, 67, 30],
    64. [6.9, 70, 14],
    65. [7.3, 71, 7],
    66. [8.9, 90, 9]
    67. ]
    68. },
    69. {
    70. "values": [
    71. [0.5, 5, 8],
    72. [1.9, 5, 3],
    73. [2.5, 10, 2],
    74. [3.1, 30, 8],
    75. [6.5, 45, 87],
    76. [6.9, 74, 1],
    77. [7.2, 50, 7],
    78. [7.8, 56, 20],
    79. [8, 61, 3],
    80. [8.5, 71, 4]
    81. ]
    82. },
    83. ]
    84. };
    85.  
    86. zingchart.render({
    87. id: 'myChart',
    88. data: myConfig9,
    89. height: "100%",
    90. width: "100%"
    91. });