• 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. height: 100%;
    14. width: 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. "graphset": [{
    25. "scale-x": {
    26. "zooming": 1
    27. },
    28. "arrows": [{
    29. "from": {
    30. "x": 475,
    31. "y": 200
    32. },
    33. "to": {
    34. "x": 205,
    35. "y": 278
    36. }
    37. }],
    38. "scale": {
    39. "size-factor": 0.9
    40. },
    41. "type": "scatter",
    42. "series": [{
    43. "values": [
    44. [0, 83],
    45. [1, 73],
    46. [2, 146],
    47. [3, 165],
    48. [4, 141],
    49. [5, 61],
    50. [6, 96],
    51. [7, 62],
    52. [8, 161],
    53. [9, 108],
    54. [10, 21],
    55. [11, 169],
    56. [12, 168],
    57. [13, 61],
    58. [14, 161],
    59. [15, 78],
    60. [16, 107],
    61. [17, 97],
    62. [18, 160],
    63. [19, 159],
    64. [20, 153]
    65. ]
    66. },
    67. {
    68. "values": [
    69. [0, 107],
    70. [1, 68],
    71. [2, 130],
    72. [3, 163],
    73. [4, 190],
    74. [5, 163],
    75. [6, 145],
    76. [7, 115],
    77. [8, 99],
    78. [9, 190],
    79. [10, 151],
    80. [11, 68],
    81. [12, 109],
    82. [13, 154],
    83. [14, 151],
    84. [15, 100],
    85. [16, 96],
    86. [17, 158],
    87. [18, 111],
    88. [19, 185],
    89. [20, 176]
    90. ]
    91. },
    92. {
    93. "values": [
    94. [0, 107],
    95. [1, 112],
    96. [2, 134],
    97. [3, 133],
    98. [4, 145],
    99. [5, 142],
    100. [6, 160],
    101. [7, 144],
    102. [8, 166],
    103. [9, 179],
    104. [10, 50],
    105. [11, 190],
    106. [12, 193],
    107. [13, 184],
    108. [14, 218],
    109. [15, 220],
    110. [16, 243],
    111. [17, 235],
    112. [18, 250],
    113. [19, 258],
    114. [20, 269]
    115. ]
    116. },
    117. {
    118. "values": [
    119. [0, 284],
    120. [1, 243],
    121. [2, 237],
    122. [3, 273],
    123. [4, 248],
    124. [5, 245],
    125. [6, 276],
    126. [7, 162],
    127. [8, 186],
    128. [9, 144],
    129. [10, 252],
    130. [11, 190],
    131. [12, 216],
    132. [13, 247],
    133. [14, 255],
    134. [15, 189],
    135. [16, 180],
    136. [17, 158],
    137. [18, 277],
    138. [19, 245],
    139. [20, 173]
    140. ]
    141. }
    142. ]
    143. }]
    144. };
    145.  
    146. zingchart.render({
    147. id: 'myChart',
    148. data: myConfig,
    149. height: "100%",
    150. width: "100%"
    151. });
    152. </script>
    153. </body>
    154.  
    155. </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. height: 100%;
    5. width: 100%;
    6. }
    1. var myConfig = {
    2. "graphset": [{
    3. "scale-x": {
    4. "zooming": 1
    5. },
    6. "arrows": [{
    7. "from": {
    8. "x": 475,
    9. "y": 200
    10. },
    11. "to": {
    12. "x": 205,
    13. "y": 278
    14. }
    15. }],
    16. "scale": {
    17. "size-factor": 0.9
    18. },
    19. "type": "scatter",
    20. "series": [{
    21. "values": [
    22. [0, 83],
    23. [1, 73],
    24. [2, 146],
    25. [3, 165],
    26. [4, 141],
    27. [5, 61],
    28. [6, 96],
    29. [7, 62],
    30. [8, 161],
    31. [9, 108],
    32. [10, 21],
    33. [11, 169],
    34. [12, 168],
    35. [13, 61],
    36. [14, 161],
    37. [15, 78],
    38. [16, 107],
    39. [17, 97],
    40. [18, 160],
    41. [19, 159],
    42. [20, 153]
    43. ]
    44. },
    45. {
    46. "values": [
    47. [0, 107],
    48. [1, 68],
    49. [2, 130],
    50. [3, 163],
    51. [4, 190],
    52. [5, 163],
    53. [6, 145],
    54. [7, 115],
    55. [8, 99],
    56. [9, 190],
    57. [10, 151],
    58. [11, 68],
    59. [12, 109],
    60. [13, 154],
    61. [14, 151],
    62. [15, 100],
    63. [16, 96],
    64. [17, 158],
    65. [18, 111],
    66. [19, 185],
    67. [20, 176]
    68. ]
    69. },
    70. {
    71. "values": [
    72. [0, 107],
    73. [1, 112],
    74. [2, 134],
    75. [3, 133],
    76. [4, 145],
    77. [5, 142],
    78. [6, 160],
    79. [7, 144],
    80. [8, 166],
    81. [9, 179],
    82. [10, 50],
    83. [11, 190],
    84. [12, 193],
    85. [13, 184],
    86. [14, 218],
    87. [15, 220],
    88. [16, 243],
    89. [17, 235],
    90. [18, 250],
    91. [19, 258],
    92. [20, 269]
    93. ]
    94. },
    95. {
    96. "values": [
    97. [0, 284],
    98. [1, 243],
    99. [2, 237],
    100. [3, 273],
    101. [4, 248],
    102. [5, 245],
    103. [6, 276],
    104. [7, 162],
    105. [8, 186],
    106. [9, 144],
    107. [10, 252],
    108. [11, 190],
    109. [12, 216],
    110. [13, 247],
    111. [14, 255],
    112. [15, 189],
    113. [16, 180],
    114. [17, 158],
    115. [18, 277],
    116. [19, 245],
    117. [20, 173]
    118. ]
    119. }
    120. ]
    121. }]
    122. };
    123.  
    124. zingchart.render({
    125. id: 'myChart',
    126. data: myConfig,
    127. height: "100%",
    128. width: "100%"
    129. });