• 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": "area",
    18. "title": {
    19. "text": "X-Axis Scale"
    20. },
    21. "scale-x": {
    22. "format": "Scale Value: %v"
    23. },
    24. "plotarea": {
    25. "margin-bottom": "dynamic"
    26. },
    27. "series": [{
    28. "values": [30, 34, 14, 15, 31, 35]
    29. }]
    30. };
    31.  
    32. zingchart.render({
    33. id: 'myChart',
    34. data: myConfig,
    35. height: 400,
    36. width: "100%"
    37. });
    38. </script>
    39. </body>
    40.  
    41. </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": "area",
    3. "title": {
    4. "text": "X-Axis Scale"
    5. },
    6. "scale-x": {
    7. "format": "Scale Value: %v"
    8. },
    9. "plotarea": {
    10. "margin-bottom": "dynamic"
    11. },
    12. "series": [{
    13. "values": [30, 34, 14, 15, 31, 35]
    14. }]
    15. };
    16.  
    17. zingchart.render({
    18. id: 'myChart',
    19. data: myConfig,
    20. height: 400,
    21. width: "100%"
    22. });