• 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. let chartConfig = {
    17. type: 'bubble',
    18. series: [{
    19. values: [
    20. [1, 22, 30],
    21. [1.5, 34, 7],
    22. [2, 55, 5],
    23. [2.5, 71, 18],
    24. [3, 42, 22],
    25. [3.5, 39, 8],
    26. [4, 50, 17],
    27. [4.5, 70, 27]
    28. ],
    29. marker: {
    30. backgroundColor: '#FFEB3B #FBC02D',
    31. type: 'star5'
    32. }
    33. },
    34. {
    35. values: [
    36. [5.5, 35, 10],
    37. [6, 42, 21],
    38. [6.5, 67, 33],
    39. [7, 89, 18],
    40. [7.5, 25, 9],
    41. [8, 34, 11],
    42. [8.5, 67, 20],
    43. [9, 85, 3]
    44. ],
    45. marker: {
    46. backgroundColor: '#7986CB #3F51B5',
    47. type: 'rpoly6'
    48. }
    49. }
    50. ]
    51. };
    52.  
    53. zingchart.render({
    54. id: 'myChart',
    55. data: chartConfig,
    56. height: 400,
    57. width: '100%'
    58. });
    59. </script>
    60. </body>
    61.  
    62. </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. let chartConfig = {
    2. type: 'bubble',
    3. series: [{
    4. values: [
    5. [1, 22, 30],
    6. [1.5, 34, 7],
    7. [2, 55, 5],
    8. [2.5, 71, 18],
    9. [3, 42, 22],
    10. [3.5, 39, 8],
    11. [4, 50, 17],
    12. [4.5, 70, 27]
    13. ],
    14. marker: {
    15. backgroundColor: '#FFEB3B #FBC02D',
    16. type: 'star5'
    17. }
    18. },
    19. {
    20. values: [
    21. [5.5, 35, 10],
    22. [6, 42, 21],
    23. [6.5, 67, 33],
    24. [7, 89, 18],
    25. [7.5, 25, 9],
    26. [8, 34, 11],
    27. [8.5, 67, 20],
    28. [9, 85, 3]
    29. ],
    30. marker: {
    31. backgroundColor: '#7986CB #3F51B5',
    32. type: 'rpoly6'
    33. }
    34. }
    35. ]
    36. };
    37.  
    38. zingchart.render({
    39. id: 'myChart',
    40. data: chartConfig,
    41. height: 400,
    42. width: '100%'
    43. });