• 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": "scatter",
    25. "plot": {
    26. "marker": {
    27. "background-color": "#99ff33",
    28. "border-width": 1,
    29. "border-color": "#ff0066"
    30. }
    31. },
    32. "series": [{
    33. "values": [
    34. [1, 0.3],
    35. [1.3, 1.3],
    36. [1.4, 1.4],
    37. [1.6, 1.7],
    38. [1.7, 1.5],
    39. [1.8, 1.9],
    40. [1.9, 1.5],
    41. [2, 0.9],
    42. [2.1, 0.5],
    43. [2.2, 1.1],
    44. [2.3, 0.4],
    45. [2.4, 0.3],
    46. [2.5, 0.7],
    47. [2.6, 2.1],
    48. [2.7, 2.5],
    49. [2.8, 2.6],
    50. [2.9, 2],
    51. [3, 1.9],
    52. [3.1, 1.5],
    53. [3.2, 2],
    54. [3.3, 1.4],
    55. [3.4, 1.9],
    56. [3.5, 3],
    57. [3.6, 3.4],
    58. [3.7, 3.3]
    59. ]
    60. }]
    61. };
    62.  
    63. zingchart.render({
    64. id: 'myChart',
    65. data: myConfig,
    66. height: "100%",
    67. width: "100%"
    68. });
    69. </script>
    70. </body>
    71.  
    72. </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": "scatter",
    3. "plot": {
    4. "marker": {
    5. "background-color": "#99ff33",
    6. "border-width": 1,
    7. "border-color": "#ff0066"
    8. }
    9. },
    10. "series": [{
    11. "values": [
    12. [1, 0.3],
    13. [1.3, 1.3],
    14. [1.4, 1.4],
    15. [1.6, 1.7],
    16. [1.7, 1.5],
    17. [1.8, 1.9],
    18. [1.9, 1.5],
    19. [2, 0.9],
    20. [2.1, 0.5],
    21. [2.2, 1.1],
    22. [2.3, 0.4],
    23. [2.4, 0.3],
    24. [2.5, 0.7],
    25. [2.6, 2.1],
    26. [2.7, 2.5],
    27. [2.8, 2.6],
    28. [2.9, 2],
    29. [3, 1.9],
    30. [3.1, 1.5],
    31. [3.2, 2],
    32. [3.3, 1.4],
    33. [3.4, 1.9],
    34. [3.5, 3],
    35. [3.6, 3.4],
    36. [3.7, 3.3]
    37. ]
    38. }]
    39. };
    40.  
    41. zingchart.render({
    42. id: 'myChart',
    43. data: myConfig,
    44. height: "100%",
    45. width: "100%"
    46. });