• 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></style>
    10. </head>
    11.  
    12. <body>
    13. <div id='myChart'></div>
    14. <script>
    15. ZC.LICENSE = ["569d52cefae586f634c54f86dc99e6a9", "b55b025e438fa8a98e32482b5f768ff5"];
    16. var myConfig = {
    17. type: 'bubble',
    18. plot: {
    19. selectionMode: 'plot'
    20. },
    21. series: [{
    22. values: [
    23. [1, 22, 30],
    24. [1.5, 34, 7],
    25. [2, 55, 5],
    26. [2.5, 71, 18],
    27. [3, 42, 22],
    28. [3.5, 39, 8],
    29. [4, 50, 17],
    30. [4.5, 70, 27]
    31. ],
    32. marker: {
    33. backgroundColor: '#43A047 #66BB6A'
    34. },
    35. backgroundMarker: {
    36. backgroundColor: '#FDD835 #FFEE58'
    37. },
    38.  
    39. },
    40. {
    41. values: [
    42. [5.5, 35, 10],
    43. [6, 42, 21],
    44. [6.5, 67, 33],
    45. [7, 89, 18],
    46. [7.5, 25, 9],
    47. [8, 34, 11],
    48. [8.5, 67, 20],
    49. [9, 85, 3]
    50. ],
    51. marker: {
    52. backgroundColor: '#039BE5 #29B6F6'
    53. },
    54. backgroundMarker: {
    55. backgroundColor: '#FB8C00 #FFA726',
    56. }
    57. }
    58. ]
    59. };
    60.  
    61. zingchart.render({
    62. id: 'myChart',
    63. data: myConfig,
    64. height: 400,
    65. width: "100%"
    66. });
    67. </script>
    68. </body>
    69.  
    70. </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.  
    1. var myConfig = {
    2. type: 'bubble',
    3. plot: {
    4. selectionMode: 'plot'
    5. },
    6. series: [{
    7. values: [
    8. [1, 22, 30],
    9. [1.5, 34, 7],
    10. [2, 55, 5],
    11. [2.5, 71, 18],
    12. [3, 42, 22],
    13. [3.5, 39, 8],
    14. [4, 50, 17],
    15. [4.5, 70, 27]
    16. ],
    17. marker: {
    18. backgroundColor: '#43A047 #66BB6A'
    19. },
    20. backgroundMarker: {
    21. backgroundColor: '#FDD835 #FFEE58'
    22. },
    23.  
    24. },
    25. {
    26. values: [
    27. [5.5, 35, 10],
    28. [6, 42, 21],
    29. [6.5, 67, 33],
    30. [7, 89, 18],
    31. [7.5, 25, 9],
    32. [8, 34, 11],
    33. [8.5, 67, 20],
    34. [9, 85, 3]
    35. ],
    36. marker: {
    37. backgroundColor: '#039BE5 #29B6F6'
    38. },
    39. backgroundMarker: {
    40. backgroundColor: '#FB8C00 #FFA726',
    41. }
    42. }
    43. ]
    44. };
    45.  
    46. zingchart.render({
    47. id: 'myChart',
    48. data: myConfig,
    49. height: 400,
    50. width: "100%"
    51. });