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