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