• Edit
  • Download
    1. <!DOCTYPE html>
    2. <html>
    3.  
    4. <head>
    5. <meta charset="utf-8">
    6. <title>ZingSoft Demo</title>
    7. <script nonce="undefined" src="https://cdn.zingchart.com/zingchart.min.js"></script>
    8. <style>
    9. html,
    10. body {
    11. margin: 0;
    12. padding: 0;
    13. width: 100%;
    14. height: 100%;
    15. }
    16.  
    17. .chart--container {
    18. min-height: 150px;
    19. width: 100%;
    20. height: 100%;
    21. }
    22.  
    23. .zc-ref {
    24. display: none;
    25. }
    26. </style>
    27. </head>
    28.  
    29. <body>
    30. <div id="myChart" class="chart--container">
    31. <a class="zc-ref" href="https://www.zingchart.com/">Powered by ZingChart</a>
    32. </div>
    33. <script>
    34. ZC.LICENSE = ["569d52cefae586f634c54f86dc99e6a9", "b55b025e438fa8a98e32482b5f768ff5"];
    35. let chartConfig = {
    36. type: 'bubble',
    37. series: [{
    38. values: [
    39. [1, 9, 59],
    40. [3, 21, 30],
    41. [5, 40, 35],
    42. [7, 60, 25],
    43. [9, 81, 87]
    44. ],
    45. marker: {
    46. backgroundColor: 'none',
    47. backgroundImage: 'https://www.zingchart.com/resources/target.png',
    48. backgroundRepeat: 'no-repeat',
    49. size: '20px'
    50. }
    51. },
    52. {
    53. values: [
    54. [2, 15, 15],
    55. [4, 30, 5],
    56. [6, 59, 21],
    57. [8, 75, 85],
    58. [10, 99, 12]
    59. ],
    60. marker: {
    61. backgroundColor: 'none',
    62. backgroundImage: 'https://www.zingchart.com/resources/heart.png',
    63. backgroundRepeat: 'no-repeat',
    64. size: '20px'
    65. }
    66. }
    67. ]
    68. };
    69.  
    70. zingchart.render({
    71. id: 'myChart',
    72. data: chartConfig
    73. });
    74. </script>
    75. </body>
    76.  
    77. </html>
    1. <!DOCTYPE html>
    2. <html>
    3.  
    4. <head>
    5. <meta charset="utf-8">
    6. <title>ZingSoft Demo</title>
    7. <script src="https://cdn.zingchart.com/zingchart.min.js"></script>
    8. </head>
    9.  
    10. <body>
    11. <div id="myChart" class="chart--container">
    12. <a class="zc-ref" href="https://www.zingchart.com/">Powered by ZingChart</a>
    13. </div>
    14. </body>
    15.  
    16. </html>
    1. html,
    2. body {
    3. margin: 0;
    4. padding: 0;
    5. width: 100%;
    6. height: 100%;
    7. }
    8.  
    9. .chart--container {
    10. min-height: 150px;
    11. width: 100%;
    12. height: 100%;
    13. }
    14.  
    15. .zc-ref {
    16. display: none;
    17. }
    1. let chartConfig = {
    2. type: 'bubble',
    3. series: [{
    4. values: [
    5. [1, 9, 59],
    6. [3, 21, 30],
    7. [5, 40, 35],
    8. [7, 60, 25],
    9. [9, 81, 87]
    10. ],
    11. marker: {
    12. backgroundColor: 'none',
    13. backgroundImage: 'https://www.zingchart.com/resources/target.png',
    14. backgroundRepeat: 'no-repeat',
    15. size: '20px'
    16. }
    17. },
    18. {
    19. values: [
    20. [2, 15, 15],
    21. [4, 30, 5],
    22. [6, 59, 21],
    23. [8, 75, 85],
    24. [10, 99, 12]
    25. ],
    26. marker: {
    27. backgroundColor: 'none',
    28. backgroundImage: 'https://www.zingchart.com/resources/heart.png',
    29. backgroundRepeat: 'no-repeat',
    30. size: '20px'
    31. }
    32. }
    33. ]
    34. };
    35.  
    36. zingchart.render({
    37. id: 'myChart',
    38. data: chartConfig
    39. });