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