• 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 myConfig15 = {
    24. "type": "bubble",
    25. "legend": {
    26. "layout": "5x1",
    27. "position": "97% 73%",
    28. "item": {
    29. "font-color": "brown",
    30. "font-family": "Georgia"
    31. },
    32. "background-color": "white",
    33. "alpha": 0.5,
    34. "border-color": "none",
    35. "shadow": false,
    36. "marker": {
    37. "type": "inherit",
    38. }
    39. },
    40. "series": [{
    41. "values": [
    42. [1, 9, 59],
    43. [2, 15, 15],
    44. [3, 21, 30],
    45. [4, 30, 5],
    46. [5, 40, 35],
    47. [6, 59, 21],
    48. [7, 60, 25],
    49. [8, 75, 85],
    50. [9, 81, 87],
    51. [10, 99, 12]
    52. ],
    53. "text": "Kale",
    54. "marker": {
    55. "type": "rpoly6",
    56. "alpha": 0.7
    57. }
    58. },
    59. {
    60. "values": [
    61. [0.9, 3, 18],
    62. [2.1, 13, 21],
    63. [3.5, 25, 33],
    64. [4.9, 35, 54],
    65. [5.3, 41, 59],
    66. [6.5, 57, 34],
    67. [7.1, 61, 17],
    68. [8.7, 70, 3],
    69. [9.2, 82, 28],
    70. [9.9, 95, 76]
    71. ],
    72. "text": "Blueberries",
    73. "marker": {
    74. "type": "circle",
    75. "alpha": 0.7
    76. }
    77. },
    78. {
    79. "values": [
    80. [0.1, 9, 3],
    81. [1.8, 21, 60],
    82. [1.9, 29, 9],
    83. [4.1, 33, 9],
    84. [4.5, 39, 4],
    85. [6.9, 51, 3],
    86. [7.4, 64, 11],
    87. [8.9, 70, 12],
    88. [9, 75, 3],
    89. [9.3, 93, 29]
    90. ],
    91. "text": "Tomatoes",
    92. "marker": {
    93. "type": "triangle",
    94. "alpha": 0.7
    95. }
    96. },
    97. {
    98. "values": [
    99. [0.3, 11, 11],
    100. [0.9, 15, 21],
    101. [1.1, 24, 54],
    102. [2.3, 29, 6],
    103. [2.9, 30, 9],
    104. [3.3, 35, 59],
    105. [5.6, 67, 30],
    106. [6.9, 70, 14],
    107. [7.3, 71, 7],
    108. [8.9, 90, 9]
    109. ],
    110. "text": "Pineapples",
    111. "marker": {
    112. "type": "diamond",
    113. "alpha": 0.7
    114. }
    115. },
    116. {
    117. "values": [
    118. [0.5, 5, 8],
    119. [1.9, 5, 3],
    120. [2.5, 10, 2],
    121. [3.1, 30, 8],
    122. [6.5, 45, 87],
    123. [6.9, 74, 1],
    124. [7.2, 50, 7],
    125. [7.8, 56, 20],
    126. [8, 61, 3],
    127. [8.5, 71, 4]
    128. ],
    129. "text": "Mushrooms",
    130. "marker": {
    131. "type": "gear5",
    132. "alpha": 0.7
    133. }
    134. }
    135. ]
    136. };
    137.  
    138. zingchart.render({
    139. id: 'myChart',
    140. data: myConfig15,
    141. height: "100%",
    142. width: "100%"
    143. });
    144. </script>
    145. </body>
    146.  
    147. </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 myConfig15 = {
    2. "type": "bubble",
    3. "legend": {
    4. "layout": "5x1",
    5. "position": "97% 73%",
    6. "item": {
    7. "font-color": "brown",
    8. "font-family": "Georgia"
    9. },
    10. "background-color": "white",
    11. "alpha": 0.5,
    12. "border-color": "none",
    13. "shadow": false,
    14. "marker": {
    15. "type": "inherit",
    16. }
    17. },
    18. "series": [{
    19. "values": [
    20. [1, 9, 59],
    21. [2, 15, 15],
    22. [3, 21, 30],
    23. [4, 30, 5],
    24. [5, 40, 35],
    25. [6, 59, 21],
    26. [7, 60, 25],
    27. [8, 75, 85],
    28. [9, 81, 87],
    29. [10, 99, 12]
    30. ],
    31. "text": "Kale",
    32. "marker": {
    33. "type": "rpoly6",
    34. "alpha": 0.7
    35. }
    36. },
    37. {
    38. "values": [
    39. [0.9, 3, 18],
    40. [2.1, 13, 21],
    41. [3.5, 25, 33],
    42. [4.9, 35, 54],
    43. [5.3, 41, 59],
    44. [6.5, 57, 34],
    45. [7.1, 61, 17],
    46. [8.7, 70, 3],
    47. [9.2, 82, 28],
    48. [9.9, 95, 76]
    49. ],
    50. "text": "Blueberries",
    51. "marker": {
    52. "type": "circle",
    53. "alpha": 0.7
    54. }
    55. },
    56. {
    57. "values": [
    58. [0.1, 9, 3],
    59. [1.8, 21, 60],
    60. [1.9, 29, 9],
    61. [4.1, 33, 9],
    62. [4.5, 39, 4],
    63. [6.9, 51, 3],
    64. [7.4, 64, 11],
    65. [8.9, 70, 12],
    66. [9, 75, 3],
    67. [9.3, 93, 29]
    68. ],
    69. "text": "Tomatoes",
    70. "marker": {
    71. "type": "triangle",
    72. "alpha": 0.7
    73. }
    74. },
    75. {
    76. "values": [
    77. [0.3, 11, 11],
    78. [0.9, 15, 21],
    79. [1.1, 24, 54],
    80. [2.3, 29, 6],
    81. [2.9, 30, 9],
    82. [3.3, 35, 59],
    83. [5.6, 67, 30],
    84. [6.9, 70, 14],
    85. [7.3, 71, 7],
    86. [8.9, 90, 9]
    87. ],
    88. "text": "Pineapples",
    89. "marker": {
    90. "type": "diamond",
    91. "alpha": 0.7
    92. }
    93. },
    94. {
    95. "values": [
    96. [0.5, 5, 8],
    97. [1.9, 5, 3],
    98. [2.5, 10, 2],
    99. [3.1, 30, 8],
    100. [6.5, 45, 87],
    101. [6.9, 74, 1],
    102. [7.2, 50, 7],
    103. [7.8, 56, 20],
    104. [8, 61, 3],
    105. [8.5, 71, 4]
    106. ],
    107. "text": "Mushrooms",
    108. "marker": {
    109. "type": "gear5",
    110. "alpha": 0.7
    111. }
    112. }
    113. ]
    114. };
    115.  
    116. zingchart.render({
    117. id: 'myChart',
    118. data: myConfig15,
    119. height: "100%",
    120. width: "100%"
    121. });