• 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. guide: {
    23. lineColor: 'gray',
    24. lineStyle: 'solid',
    25. visible: true
    26. },
    27. minorTicks: 4,
    28. minorGuide: {
    29. alpha: 1,
    30. lineColor: 'red',
    31. lineStyle: 'solid',
    32. lineWidth: 1,
    33. visible: true
    34. }
    35. },
    36. plot: {
    37. aspect: 'spline'
    38. },
    39. series: [{
    40. values: [
    41. 38.2, 96.3, 53.6, 27.4, 14.1, 81.4, 31.1, 70.9, 54.4, 5.2,
    42. 36.3, 80.4, 50.5, 35.3, 30.5, 64.3, 10.5, 27.2, 83.9, 91.3
    43. ],
    44. lineColor: '#3F51B5',
    45. backgroundColor: '#3F51B5',
    46. marker: {
    47. backgroundColor: '#3F51B5'
    48. }
    49. }]
    50. };
    51.  
    52. zingchart.render({
    53. id: 'myChart',
    54. data: myConfig,
    55. height: 400,
    56. width: '100%'
    57. });
    58. </script>
    59. </body>
    60.  
    61. </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. guide: {
    8. lineColor: 'gray',
    9. lineStyle: 'solid',
    10. visible: true
    11. },
    12. minorTicks: 4,
    13. minorGuide: {
    14. alpha: 1,
    15. lineColor: 'red',
    16. lineStyle: 'solid',
    17. lineWidth: 1,
    18. visible: true
    19. }
    20. },
    21. plot: {
    22. aspect: 'spline'
    23. },
    24. series: [{
    25. values: [
    26. 38.2, 96.3, 53.6, 27.4, 14.1, 81.4, 31.1, 70.9, 54.4, 5.2,
    27. 36.3, 80.4, 50.5, 35.3, 30.5, 64.3, 10.5, 27.2, 83.9, 91.3
    28. ],
    29. lineColor: '#3F51B5',
    30. backgroundColor: '#3F51B5',
    31. marker: {
    32. backgroundColor: '#3F51B5'
    33. }
    34. }]
    35. };
    36.  
    37. zingchart.render({
    38. id: 'myChart',
    39. data: myConfig,
    40. height: 400,
    41. width: '100%'
    42. });