• 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. height: 100%;
    13. width: 100%;
    14. margin: 0;
    15. padding: 0;
    16. }
    17.  
    18. #myChart {
    19. height: 100%;
    20. width: 100%;
    21. min-height: 150px;
    22. }
    23.  
    24. .zc-ref {
    25. display: none;
    26. }
    27. </style>
    28. </head>
    29.  
    30. <body>
    31. <div id="myChart"><a class="zc-ref" href="https://www.zingchart.com">Powered by ZingChart</a></div>
    32. <script>
    33. ZC.LICENSE = ["569d52cefae586f634c54f86dc99e6a9", "b55b025e438fa8a98e32482b5f768ff5"];
    34. var myConfig = {
    35. "type": "venn",
    36. "plot": {
    37. "value-box": {
    38. "text": "%t"
    39. }
    40. },
    41. "series": [{
    42. "values": [100],
    43. "join": [15],
    44. "text": "Set One"
    45. },
    46. {
    47. "values": [100],
    48. "join": [15],
    49. "text": "Set Two"
    50. },
    51. {
    52. "values": [100],
    53. "join": [15],
    54. "text": "Set Three"
    55. }
    56. ]
    57. };
    58.  
    59. zingchart.render({
    60. id: 'myChart',
    61. data: myConfig,
    62. height: "100%",
    63. width: "100%"
    64. });
    65. </script>
    66. </body>
    67.  
    68. </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"><a class="zc-ref" href="https://www.zingchart.com">Powered by ZingChart</a></div>
    13. </body>
    14.  
    15. </html>
    1. html,
    2. body {
    3. height: 100%;
    4. width: 100%;
    5. margin: 0;
    6. padding: 0;
    7. }
    8.  
    9. #myChart {
    10. height: 100%;
    11. width: 100%;
    12. min-height: 150px;
    13. }
    14.  
    15. .zc-ref {
    16. display: none;
    17. }
    1. var myConfig = {
    2. "type": "venn",
    3. "plot": {
    4. "value-box": {
    5. "text": "%t"
    6. }
    7. },
    8. "series": [{
    9. "values": [100],
    10. "join": [15],
    11. "text": "Set One"
    12. },
    13. {
    14. "values": [100],
    15. "join": [15],
    16. "text": "Set Two"
    17. },
    18. {
    19. "values": [100],
    20. "join": [15],
    21. "text": "Set Three"
    22. }
    23. ]
    24. };
    25.  
    26. zingchart.render({
    27. id: 'myChart',
    28. data: myConfig,
    29. height: "100%",
    30. width: "100%"
    31. });