• 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>
    10. html,
    11. body,
    12. #myChart {
    13. height: 100%;
    14. width: 100%;
    15. }
    16. </style>
    17. </head>
    18.  
    19. <body>
    20. <div id='myChart'></div>
    21. <script>
    22. ZC.LICENSE = ["569d52cefae586f634c54f86dc99e6a9", "b55b025e438fa8a98e32482b5f768ff5"];
    23. let chartConfig = {
    24. type: 'radar',
    25. plot: {
    26. aspect: 'area',
    27. lineWidth: 1
    28. },
    29. scaleV: {
    30. transform: {
    31. type: 'date',
    32. text: '%m/%d/%y'
    33. },
    34. values: '1629071710000:1660607710000:2629743000',
    35. item: {
    36. fontColor: '#607D8B',
    37. backgroundColor: 'white',
    38. borderColor: '#aeaeae',
    39. borderWidth: 1,
    40. padding: 3,
    41. borderRadius: 10,
    42. offsetX: 5
    43. },
    44. },
    45. scaleK: {
    46. visible: false
    47. },
    48. series: [{
    49. values: [1659000000000, 1630000000000, 1655000000000, 1634000000000, 1640000000000],
    50. backgroundColor: '#689F38',
    51. lineColor: '#33691E'
    52. },
    53. {
    54. values: [1617600000000, 1660000000000, 1611000000000, 1621000000000, 1660000000000],
    55. backgroundColor: '#0288D1',
    56. lineColor: '#01579B'
    57. }
    58. ]
    59. };
    60.  
    61. zingchart.render({
    62. id: 'myChart',
    63. data: chartConfig,
    64. height: '100%',
    65. width: '100%'
    66. });
    67. </script>
    68. </body>
    69.  
    70. </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. html,
    2. body,
    3. #myChart {
    4. height: 100%;
    5. width: 100%;
    6. }
    1. let chartConfig = {
    2. type: 'radar',
    3. plot: {
    4. aspect: 'area',
    5. lineWidth: 1
    6. },
    7. scaleV: {
    8. transform: {
    9. type: 'date',
    10. text: '%m/%d/%y'
    11. },
    12. values: '1629071710000:1660607710000:2629743000',
    13. item: {
    14. fontColor: '#607D8B',
    15. backgroundColor: 'white',
    16. borderColor: '#aeaeae',
    17. borderWidth: 1,
    18. padding: 3,
    19. borderRadius: 10,
    20. offsetX: 5
    21. },
    22. },
    23. scaleK: {
    24. visible: false
    25. },
    26. series: [{
    27. values: [1659000000000, 1630000000000, 1655000000000, 1634000000000, 1640000000000],
    28. backgroundColor: '#689F38',
    29. lineColor: '#33691E'
    30. },
    31. {
    32. values: [1617600000000, 1660000000000, 1611000000000, 1621000000000, 1660000000000],
    33. backgroundColor: '#0288D1',
    34. lineColor: '#01579B'
    35. }
    36. ]
    37. };
    38.  
    39. zingchart.render({
    40. id: 'myChart',
    41. data: chartConfig,
    42. height: '100%',
    43. width: '100%'
    44. });