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