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