• 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 myConfig4 = {
    17. "type": "scatter",
    18. "series": [{
    19. "values": [
    20. [1, 9],
    21. [2, 15],
    22. [3, 21],
    23. [4, 30],
    24. [5, 40],
    25. [6, 59],
    26. [7, 60],
    27. [8, 75],
    28. [9, 81],
    29. [10, 99]
    30. ]
    31. },
    32. {
    33. "values": [
    34. [0.9, 3],
    35. [2.1, 13],
    36. [3.5, 25],
    37. [4.9, 35],
    38. [5.3, 41],
    39. [6.5, 57],
    40. [7.1, 61],
    41. [8.7, 70],
    42. [9.2, 82],
    43. [9.9, 95]
    44. ]
    45. },
    46. {
    47. "values": [
    48. [0.1, 9],
    49. [1.8, 21],
    50. [1.9, 29],
    51. [4.1, 33],
    52. [4.5, 39],
    53. [6.9, 51],
    54. [7.4, 64],
    55. [8.9, 70],
    56. [9, 75],
    57. [9.3, 93]
    58. ]
    59. },
    60. {
    61. "values": [
    62. [0.3, 11],
    63. [0.9, 15],
    64. [1.1, 24],
    65. [2.3, 29],
    66. [2.9, 30],
    67. [3.3, 35],
    68. [5.6, 67],
    69. [6.9, 70],
    70. [7.3, 71],
    71. [8.9, 90]
    72. ]
    73. },
    74. {
    75. "values": [
    76. [0.5, 5],
    77. [1.9, 5],
    78. [2.5, 10],
    79. [3.1, 30],
    80. [6.5, 45],
    81. [6.9, 74],
    82. [7.2, 50],
    83. [7.8, 56],
    84. [8, 61],
    85. [8.5, 71]
    86. ]
    87. }
    88. ]
    89. };
    90.  
    91. zingchart.render({
    92. id: 'myChart',
    93. data: myConfig4,
    94. height: 400,
    95. width: "100%"
    96. });
    97. </script>
    98. </body>
    99.  
    100. </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 myConfig4 = {
    2. "type": "scatter",
    3. "series": [{
    4. "values": [
    5. [1, 9],
    6. [2, 15],
    7. [3, 21],
    8. [4, 30],
    9. [5, 40],
    10. [6, 59],
    11. [7, 60],
    12. [8, 75],
    13. [9, 81],
    14. [10, 99]
    15. ]
    16. },
    17. {
    18. "values": [
    19. [0.9, 3],
    20. [2.1, 13],
    21. [3.5, 25],
    22. [4.9, 35],
    23. [5.3, 41],
    24. [6.5, 57],
    25. [7.1, 61],
    26. [8.7, 70],
    27. [9.2, 82],
    28. [9.9, 95]
    29. ]
    30. },
    31. {
    32. "values": [
    33. [0.1, 9],
    34. [1.8, 21],
    35. [1.9, 29],
    36. [4.1, 33],
    37. [4.5, 39],
    38. [6.9, 51],
    39. [7.4, 64],
    40. [8.9, 70],
    41. [9, 75],
    42. [9.3, 93]
    43. ]
    44. },
    45. {
    46. "values": [
    47. [0.3, 11],
    48. [0.9, 15],
    49. [1.1, 24],
    50. [2.3, 29],
    51. [2.9, 30],
    52. [3.3, 35],
    53. [5.6, 67],
    54. [6.9, 70],
    55. [7.3, 71],
    56. [8.9, 90]
    57. ]
    58. },
    59. {
    60. "values": [
    61. [0.5, 5],
    62. [1.9, 5],
    63. [2.5, 10],
    64. [3.1, 30],
    65. [6.5, 45],
    66. [6.9, 74],
    67. [7.2, 50],
    68. [7.8, 56],
    69. [8, 61],
    70. [8.5, 71]
    71. ]
    72. }
    73. ]
    74. };
    75.  
    76. zingchart.render({
    77. id: 'myChart',
    78. data: myConfig4,
    79. height: 400,
    80. width: "100%"
    81. });