• 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. topState: {
    33. backgroundColor: 'red',
    34. offsetX: 20,
    35. offsetY: 20
    36. }
    37. }
    38. },
    39. {
    40. values: [
    41. [5.5, 35, 10],
    42. [6, 42, 21],
    43. [6.5, 67, 33],
    44. [7, 89, 18],
    45. [7.5, 25, 9],
    46. [8, 34, 11],
    47. [8.5, 67, 20],
    48. [9, 85, 3]
    49. ],
    50. marker: {
    51. backgroundColor: '#7986CB #3F51B5',
    52. type: 'rpoly6',
    53. topState: {
    54. backgroundColor: 'blue',
    55. offsetX: 20,
    56. offsetY: 20
    57. }
    58. }
    59. }
    60. ]
    61. };
    62.  
    63. zingchart.render({
    64. id: 'myChart',
    65. data: chartConfig,
    66. height: 400,
    67. width: '100%'
    68. });
    69. </script>
    70. </body>
    71.  
    72. </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. topState: {
    18. backgroundColor: 'red',
    19. offsetX: 20,
    20. offsetY: 20
    21. }
    22. }
    23. },
    24. {
    25. values: [
    26. [5.5, 35, 10],
    27. [6, 42, 21],
    28. [6.5, 67, 33],
    29. [7, 89, 18],
    30. [7.5, 25, 9],
    31. [8, 34, 11],
    32. [8.5, 67, 20],
    33. [9, 85, 3]
    34. ],
    35. marker: {
    36. backgroundColor: '#7986CB #3F51B5',
    37. type: 'rpoly6',
    38. topState: {
    39. backgroundColor: 'blue',
    40. offsetX: 20,
    41. offsetY: 20
    42. }
    43. }
    44. }
    45. ]
    46. };
    47.  
    48. zingchart.render({
    49. id: 'myChart',
    50. data: chartConfig,
    51. height: 400,
    52. width: '100%'
    53. });