• 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/dev/zingchart.min.js"></script>
    9. <style></style>
    10. </head>
    11.  
    12. <body>
    13. <div id='myChart'></div>
    14. <script>
    15. zingchart.loadModules('maps, maps-mar', function(e) {
    16. zingchart.render({
    17. id: 'myChart',
    18. data: {
    19. shapes: [{
    20. type: 'zingchart.maps',
    21. options: {
    22. name: 'mar'
    23. }
    24. }]
    25. },
    26. height: 400,
    27. width: '100%'
    28. });
    29. });
    30. </script>
    31. </body>
    32.  
    33. </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/dev/zingchart.min.js"></script>
    9. </head>
    10.  
    11. <body>
    12. <div id='myChart'></div>
    13. </body>
    14.  
    15. </html>
    1.  
    1. zingchart.loadModules('maps, maps-mar', function(e) {
    2. zingchart.render({
    3. id: 'myChart',
    4. data: {
    5. shapes: [{
    6. type: 'zingchart.maps',
    7. options: {
    8. name: 'mar'
    9. }
    10. }]
    11. },
    12. height: 400,
    13. width: '100%'
    14. });
    15. });