• 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 myConfig7 = {
    24. "type": "bubble",
    25. "tooltip": {
    26. "text": "%node-size-value bubble value,<br>with 'scaling' set to '%t'"
    27. },
    28. "series": [{
    29. "values": [
    30. [1, 9, 59],
    31. [3, 21, 30],
    32. [5, 40, 35],
    33. [7, 60, 25],
    34. [9, 81, 87]
    35. ],
    36. "scaling": "area", //"area" (default) or "radius"
    37. "text": "area"
    38. },
    39. {
    40. "values": [
    41. [1.5, 9, 59],
    42. [3.5, 21, 30],
    43. [5.5, 40, 35],
    44. [7.5, 60, 25],
    45. [9.5, 81, 87]
    46. ],
    47. "scaling": "radius", //"area" (default) or "radius"
    48. "text": "radius"
    49. }
    50. ]
    51. };
    52.  
    53. zingchart.render({
    54. id: 'myChart',
    55. data: myConfig7,
    56. height: "100%",
    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. html,
    2. body,
    3. #myChart {
    4. height: 100%;
    5. width: 100%;
    6. }
    1. var myConfig7 = {
    2. "type": "bubble",
    3. "tooltip": {
    4. "text": "%node-size-value bubble value,<br>with 'scaling' set to '%t'"
    5. },
    6. "series": [{
    7. "values": [
    8. [1, 9, 59],
    9. [3, 21, 30],
    10. [5, 40, 35],
    11. [7, 60, 25],
    12. [9, 81, 87]
    13. ],
    14. "scaling": "area", //"area" (default) or "radius"
    15. "text": "area"
    16. },
    17. {
    18. "values": [
    19. [1.5, 9, 59],
    20. [3.5, 21, 30],
    21. [5.5, 40, 35],
    22. [7.5, 60, 25],
    23. [9.5, 81, 87]
    24. ],
    25. "scaling": "radius", //"area" (default) or "radius"
    26. "text": "radius"
    27. }
    28. ]
    29. };
    30.  
    31. zingchart.render({
    32. id: 'myChart',
    33. data: myConfig7,
    34. height: "100%",
    35. width: "100%"
    36. });