• 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 myConfig12 = {
    24. "type": "bubble",
    25. "plot": {
    26. "marker": { //Apply marker styling globally.
    27. "background-color": "#00FFFF",
    28. "border-color": "#009999",
    29. "border-width": 1,
    30. "alpha": 0.3
    31. }
    32. },
    33. "series": [{
    34. "values": [
    35. [1, 9, 59],
    36. [2, 15, 15],
    37. [3, 21, 30],
    38. [4, 30, 5],
    39. [5, 40, 35],
    40. [6, 59, 21],
    41. [7, 60, 25],
    42. [8, 75, 85],
    43. [9, 81, 87],
    44. [10, 99, 12]
    45. ],
    46. "marker": { //Apply marker styling locally.
    47. "type": "star5",
    48. "background-color": "#FF0066",
    49. /* hexadecimal or RGB value */
    50. "border-color": "#FFFF66",
    51. /* hexadecimal or RBG value */
    52. "border-width": 3,
    53. /* in pixels */
    54. "alpha": 0.7
    55. }
    56. },
    57. {
    58. "values": [
    59. [0.9, 3, 18],
    60. [2.1, 13, 21],
    61. [3.5, 25, 33],
    62. [4.9, 35, 54],
    63. [5.3, 41, 59],
    64. [6.5, 57, 34],
    65. [7.1, 61, 17],
    66. [8.7, 70, 3],
    67. [9.2, 82, 28],
    68. [9.9, 95, 76]
    69. ]
    70. },
    71. {
    72. "values": [
    73. [0.1, 9, 3],
    74. [1.8, 21, 60],
    75. [1.9, 29, 9],
    76. [4.1, 33, 9],
    77. [4.5, 39, 4],
    78. [6.9, 51, 3],
    79. [7.4, 64, 11],
    80. [8.9, 70, 12],
    81. [9, 75, 3],
    82. [9.3, 93, 29]
    83. ]
    84. },
    85. {
    86. "values": [
    87. [0.3, 11, 11],
    88. [0.9, 15, 21],
    89. [1.1, 24, 54],
    90. [2.3, 29, 6],
    91. [2.9, 30, 9],
    92. [3.3, 35, 59],
    93. [5.6, 67, 30],
    94. [6.9, 70, 14],
    95. [7.3, 71, 7],
    96. [8.9, 90, 9]
    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. ]
    112. }
    113. ]
    114. };
    115.  
    116. zingchart.render({
    117. id: 'myChart',
    118. data: myConfig12,
    119. height: "100%",
    120. width: "100%"
    121. });
    122. </script>
    123. </body>
    124.  
    125. </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 myConfig12 = {
    2. "type": "bubble",
    3. "plot": {
    4. "marker": { //Apply marker styling globally.
    5. "background-color": "#00FFFF",
    6. "border-color": "#009999",
    7. "border-width": 1,
    8. "alpha": 0.3
    9. }
    10. },
    11. "series": [{
    12. "values": [
    13. [1, 9, 59],
    14. [2, 15, 15],
    15. [3, 21, 30],
    16. [4, 30, 5],
    17. [5, 40, 35],
    18. [6, 59, 21],
    19. [7, 60, 25],
    20. [8, 75, 85],
    21. [9, 81, 87],
    22. [10, 99, 12]
    23. ],
    24. "marker": { //Apply marker styling locally.
    25. "type": "star5",
    26. "background-color": "#FF0066",
    27. /* hexadecimal or RGB value */
    28. "border-color": "#FFFF66",
    29. /* hexadecimal or RBG value */
    30. "border-width": 3,
    31. /* in pixels */
    32. "alpha": 0.7
    33. }
    34. },
    35. {
    36. "values": [
    37. [0.9, 3, 18],
    38. [2.1, 13, 21],
    39. [3.5, 25, 33],
    40. [4.9, 35, 54],
    41. [5.3, 41, 59],
    42. [6.5, 57, 34],
    43. [7.1, 61, 17],
    44. [8.7, 70, 3],
    45. [9.2, 82, 28],
    46. [9.9, 95, 76]
    47. ]
    48. },
    49. {
    50. "values": [
    51. [0.1, 9, 3],
    52. [1.8, 21, 60],
    53. [1.9, 29, 9],
    54. [4.1, 33, 9],
    55. [4.5, 39, 4],
    56. [6.9, 51, 3],
    57. [7.4, 64, 11],
    58. [8.9, 70, 12],
    59. [9, 75, 3],
    60. [9.3, 93, 29]
    61. ]
    62. },
    63. {
    64. "values": [
    65. [0.3, 11, 11],
    66. [0.9, 15, 21],
    67. [1.1, 24, 54],
    68. [2.3, 29, 6],
    69. [2.9, 30, 9],
    70. [3.3, 35, 59],
    71. [5.6, 67, 30],
    72. [6.9, 70, 14],
    73. [7.3, 71, 7],
    74. [8.9, 90, 9]
    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. ]
    90. }
    91. ]
    92. };
    93.  
    94. zingchart.render({
    95. id: 'myChart',
    96. data: myConfig12,
    97. height: "100%",
    98. width: "100%"
    99. });