• 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. gui: {
    18. contextMenu: {
    19. button: {
    20. visible: true
    21. }
    22. }
    23. },
    24. graphset: [{
    25. type: "line",
    26. series: [{
    27. "values": [139, 51.8, 114, 93, 102, 78]
    28. },
    29. {
    30. "values": [157, 126, 83, 152, 150, 194]
    31. },
    32. {
    33. "values": [124, 111, 147, 137, 124, 170]
    34. },
    35. {
    36. "values": [155, 225, 225, 218, 200, 224]
    37. }
    38. ]
    39. }]
    40. };
    41.  
    42. zingchart.render({
    43. id: 'myChart',
    44. data: myConfig,
    45. height: 400,
    46. width: "100%"
    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. var myConfig = {
    2. gui: {
    3. contextMenu: {
    4. button: {
    5. visible: true
    6. }
    7. }
    8. },
    9. graphset: [{
    10. type: "line",
    11. series: [{
    12. "values": [139, 51.8, 114, 93, 102, 78]
    13. },
    14. {
    15. "values": [157, 126, 83, 152, 150, 194]
    16. },
    17. {
    18. "values": [124, 111, 147, 137, 124, 170]
    19. },
    20. {
    21. "values": [155, 225, 225, 218, 200, 224]
    22. }
    23. ]
    24. }]
    25. };
    26.  
    27. zingchart.render({
    28. id: 'myChart',
    29. data: myConfig,
    30. height: 400,
    31. width: "100%"
    32. });