• 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. var myConfig = {
    17. "type": "bar",
    18. "plot": {
    19. "border-color": "#ff00ff",
    20. "border-width": 2,
    21. "border-radius": "5px",
    22. "line-style": "dashdot"
    23. },
    24. "series": [{
    25. "values": [31, 16, 35, 5, 59, 33]
    26. }]
    27. };
    28.  
    29. zingchart.render({
    30. id: 'myChart',
    31. data: myConfig,
    32. height: 400,
    33. width: "100%"
    34. });
    35. </script>
    36. </body>
    37.  
    38. </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. var myConfig = {
    2. "type": "bar",
    3. "plot": {
    4. "border-color": "#ff00ff",
    5. "border-width": 2,
    6. "border-radius": "5px",
    7. "line-style": "dashdot"
    8. },
    9. "series": [{
    10. "values": [31, 16, 35, 5, 59, 33]
    11. }]
    12. };
    13.  
    14. zingchart.render({
    15. id: 'myChart',
    16. data: myConfig,
    17. height: 400,
    18. width: "100%"
    19. });