• 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. type: 'range',
    25. plot: {
    26. maxMarker: {
    27. type: 'cross',
    28. size: 5,
    29. lineColor: 'red',
    30. lineWidth: 3
    31. },
    32. minMarker: {
    33. type: 'square',
    34. size: 5,
    35. backgroundColor: 'white',
    36. borderColor: 'red',
    37. borderWidth: 3
    38. }
    39. },
    40. series: [{
    41. values: [
    42. [15, 30],
    43. [20, 40],
    44. [16, 35],
    45. [21, 30],
    46. [25, 45],
    47. [18, 27],
    48. [23, 35],
    49. [29, 39],
    50. [27, 30],
    51. [19, 34]
    52. ],
    53. }]
    54. };
    55.  
    56. zingchart.render({
    57. id: 'myChart',
    58. data: myConfig,
    59. height: "100%",
    60. width: "100%"
    61. });
    62. </script>
    63. </body>
    64.  
    65. </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. type: 'range',
    3. plot: {
    4. maxMarker: {
    5. type: 'cross',
    6. size: 5,
    7. lineColor: 'red',
    8. lineWidth: 3
    9. },
    10. minMarker: {
    11. type: 'square',
    12. size: 5,
    13. backgroundColor: 'white',
    14. borderColor: 'red',
    15. borderWidth: 3
    16. }
    17. },
    18. series: [{
    19. values: [
    20. [15, 30],
    21. [20, 40],
    22. [16, 35],
    23. [21, 30],
    24. [25, 45],
    25. [18, 27],
    26. [23, 35],
    27. [29, 39],
    28. [27, 30],
    29. [19, 34]
    30. ],
    31. }]
    32. };
    33.  
    34. zingchart.render({
    35. id: 'myChart',
    36. data: myConfig,
    37. height: "100%",
    38. width: "100%"
    39. });