• 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. zingchart.loadModules('maps, maps-gbrL2', function(e) {
    17. zingchart.render({
    18. id: 'myChart',
    19. data: {
    20. shapes: [{
    21. type: 'zingchart.maps',
    22. options: {
    23. name: 'gbrL2',
    24. style: {
    25. controls: {
    26. placement: 'bl', //tl,tr,bl,br,
    27. zoomIn: {
    28. backgroundColor: '#ce93d8',
    29. text: '++'
    30. },
    31. zoomOut: {
    32. backgroundImage: '',
    33. tooltip: {
    34. text: 'New Zoom Out Text',
    35. backgroundColor: 'red',
    36. padding: 10
    37. }
    38. }
    39. }
    40. }
    41. }
    42. }]
    43. },
    44. height: 600,
    45. width: '100%'
    46. });
    47. });
    48. </script>
    49. </body>
    50.  
    51. </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. zingchart.loadModules('maps, maps-gbrL2', function(e) {
    2. zingchart.render({
    3. id: 'myChart',
    4. data: {
    5. shapes: [{
    6. type: 'zingchart.maps',
    7. options: {
    8. name: 'gbrL2',
    9. style: {
    10. controls: {
    11. placement: 'bl', //tl,tr,bl,br,
    12. zoomIn: {
    13. backgroundColor: '#ce93d8',
    14. text: '++'
    15. },
    16. zoomOut: {
    17. backgroundImage: '',
    18. tooltip: {
    19. text: 'New Zoom Out Text',
    20. backgroundColor: 'red',
    21. padding: 10
    22. }
    23. }
    24. }
    25. }
    26. }
    27. }]
    28. },
    29. height: 600,
    30. width: '100%'
    31. });
    32. });