• 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. "title": {
    19. "text": "%plot-min-value"
    20. },
    21. "plot": {
    22. "value-box": {
    23. "text": "Lowest Plot Value: %plot-min-value",
    24. "type": "last",
    25. "placement": "right"
    26. }
    27. },
    28. "series": [{
    29. "values": [
    30. [1.3, 0.4],
    31. [2.3, 2.4],
    32. [3.3, 1.3]
    33. ]
    34. },
    35. {
    36. "values": [
    37. [1.3, 1.4],
    38. [2.3, 3.4],
    39. [3.3, 2.3]
    40. ]
    41. },
    42. {
    43. "values": [
    44. [1.3, 2.4],
    45. [2.3, 4.4],
    46. [3.3, 3.3]
    47. ]
    48. }
    49. ]
    50. };
    51.  
    52. zingchart.render({
    53. id: 'myChart',
    54. data: myConfig,
    55. height: 300,
    56. width: "100%"
    57. });
    58. </script>
    59. </body>
    60.  
    61. </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. "title": {
    4. "text": "%plot-min-value"
    5. },
    6. "plot": {
    7. "value-box": {
    8. "text": "Lowest Plot Value: %plot-min-value",
    9. "type": "last",
    10. "placement": "right"
    11. }
    12. },
    13. "series": [{
    14. "values": [
    15. [1.3, 0.4],
    16. [2.3, 2.4],
    17. [3.3, 1.3]
    18. ]
    19. },
    20. {
    21. "values": [
    22. [1.3, 1.4],
    23. [2.3, 3.4],
    24. [3.3, 2.3]
    25. ]
    26. },
    27. {
    28. "values": [
    29. [1.3, 2.4],
    30. [2.3, 4.4],
    31. [3.3, 3.3]
    32. ]
    33. }
    34. ]
    35. };
    36.  
    37. zingchart.render({
    38. id: 'myChart',
    39. data: myConfig,
    40. height: 300,
    41. width: "100%"
    42. });