• 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 myConfig = {
    17. type: 'area',
    18. scaleX: {
    19.  
    20. },
    21. scaleY: {
    22. tick: {
    23. lineColor: 'red',
    24. lineWidth: 2,
    25. size: 15
    26. }
    27. },
    28. plot: {
    29. aspect: 'spline'
    30. },
    31. series: [{
    32. values: [
    33. 38.2, 96.3, 53.6, 27.4, 14.1, 81.4, 31.1, 70.9, 54.4, 5.2,
    34. 36.3, 80.4, 50.5, 35.3, 30.5, 64.3, 10.5, 27.2, 83.9, 91.3
    35. ],
    36. lineColor: '#FFC107',
    37. backgroundColor: '#FFC107',
    38. marker: {
    39. backgroundColor: '#FFC107'
    40. }
    41. },
    42. {
    43. values: [
    44. 51.9, 8.1, 73.6, 37.4, 36.1, 57.4, 96.1, 37.9, 69.4, 18.2,
    45. 66.3, 26.4, 72.5, 29.3, 61.5, 20.3, 71.5, 37.2, 49.9, 7.3
    46. ],
    47. lineColor: '#00BCD4',
    48. backgroundColor: '#00BCD4',
    49. marker: {
    50. backgroundColor: '#00BCD4'
    51. }
    52. }
    53. ]
    54. };
    55.  
    56. zingchart.render({
    57. id: 'myChart',
    58. data: myConfig,
    59. height: 400,
    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.  
    1. var myConfig = {
    2. type: 'area',
    3. scaleX: {
    4.  
    5. },
    6. scaleY: {
    7. tick: {
    8. lineColor: 'red',
    9. lineWidth: 2,
    10. size: 15
    11. }
    12. },
    13. plot: {
    14. aspect: 'spline'
    15. },
    16. series: [{
    17. values: [
    18. 38.2, 96.3, 53.6, 27.4, 14.1, 81.4, 31.1, 70.9, 54.4, 5.2,
    19. 36.3, 80.4, 50.5, 35.3, 30.5, 64.3, 10.5, 27.2, 83.9, 91.3
    20. ],
    21. lineColor: '#FFC107',
    22. backgroundColor: '#FFC107',
    23. marker: {
    24. backgroundColor: '#FFC107'
    25. }
    26. },
    27. {
    28. values: [
    29. 51.9, 8.1, 73.6, 37.4, 36.1, 57.4, 96.1, 37.9, 69.4, 18.2,
    30. 66.3, 26.4, 72.5, 29.3, 61.5, 20.3, 71.5, 37.2, 49.9, 7.3
    31. ],
    32. lineColor: '#00BCD4',
    33. backgroundColor: '#00BCD4',
    34. marker: {
    35. backgroundColor: '#00BCD4'
    36. }
    37. }
    38. ]
    39. };
    40.  
    41. zingchart.render({
    42. id: 'myChart',
    43. data: myConfig,
    44. height: 400,
    45. width: '100%'
    46. });