• 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>
    10. html,
    11. body,
    12. #myChart {
    13. width: 100%;
    14. height: 100%;
    15. }
    16. </style>
    17. </head>
    18.  
    19. <body>
    20. <div id='myChart'></div>
    21. <script>
    22. ZC.LICENSE = ["569d52cefae586f634c54f86dc99e6a9", "b55b025e438fa8a98e32482b5f768ff5"];
    23. var myConfig = {
    24. "type": "line",
    25. "legend": {
    26. "highlight-plot": true
    27. },
    28. "plot": {
    29. "highlight-state": {
    30. "line-color": "black",
    31. "line-width": 3,
    32. "line-style": "dashdot"
    33. },
    34. "highlight-marker": {
    35. "type": "gear5",
    36. "size": 7,
    37. "background-color": "black white",
    38. "border-width": 3,
    39. "border-color": "black",
    40. "shadow": false
    41. }
    42. },
    43. "series": [{
    44. "values": [3, 4, 11, 5, 19, 7]
    45. },
    46. {
    47. "values": [9, 19, 15, 25, 12, 14]
    48. },
    49. {
    50. "values": [15, 29, 19, 21, 25, 26]
    51. }
    52. ]
    53. };
    54.  
    55. zingchart.render({
    56. id: 'myChart',
    57. data: myConfig,
    58. height: "100%",
    59. width: "100%"
    60. });
    61. </script>
    62. </body>
    63.  
    64. </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. html,
    2. body,
    3. #myChart {
    4. width: 100%;
    5. height: 100%;
    6. }
    1. var myConfig = {
    2. "type": "line",
    3. "legend": {
    4. "highlight-plot": true
    5. },
    6. "plot": {
    7. "highlight-state": {
    8. "line-color": "black",
    9. "line-width": 3,
    10. "line-style": "dashdot"
    11. },
    12. "highlight-marker": {
    13. "type": "gear5",
    14. "size": 7,
    15. "background-color": "black white",
    16. "border-width": 3,
    17. "border-color": "black",
    18. "shadow": false
    19. }
    20. },
    21. "series": [{
    22. "values": [3, 4, 11, 5, 19, 7]
    23. },
    24. {
    25. "values": [9, 19, 15, 25, 12, 14]
    26. },
    27. {
    28. "values": [15, 29, 19, 21, 25, 26]
    29. }
    30. ]
    31. };
    32.  
    33. zingchart.render({
    34. id: 'myChart',
    35. data: myConfig,
    36. height: "100%",
    37. width: "100%"
    38. });