• 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. "value-box": {
    20. "text": "Node Index: %node-index"
    21. }
    22. },
    23. "series": [{
    24. "values": [
    25. [1.3, 1.4],
    26. [2.3, 3.4],
    27. [3.3, 2.3],
    28. [4.3, 4.4],
    29. [4.7, 3.1]
    30. ]
    31. }]
    32. };
    33.  
    34. zingchart.render({
    35. id: 'myChart',
    36. data: myConfig,
    37. height: 300,
    38. width: "100%"
    39. });
    40. </script>
    41. </body>
    42.  
    43. </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. "value-box": {
    5. "text": "Node Index: %node-index"
    6. }
    7. },
    8. "series": [{
    9. "values": [
    10. [1.3, 1.4],
    11. [2.3, 3.4],
    12. [3.3, 2.3],
    13. [4.3, 4.4],
    14. [4.7, 3.1]
    15. ]
    16. }]
    17. };
    18.  
    19. zingchart.render({
    20. id: 'myChart',
    21. data: myConfig,
    22. height: 300,
    23. width: "100%"
    24. });