• 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: 'radar',
    18. plot: {
    19. aspect: 'area'
    20. },
    21. series: [{
    22. values: [35, 42, 67, 89, 25, 34, 67, 85]
    23. }],
    24.  
    25. scaleK: {
    26. visible: false
    27. },
    28. scaleV: {
    29. values: '0:100:25',
    30. guide: {
    31. alpha: 1,
    32. backgroundColor: '#ffe6e6 #ff8080',
    33. lineColor: 'red',
    34. lineStyle: 'solid',
    35. lineWidth: 1,
    36. visible: true,
    37.  
    38. mediaRules: [{
    39. maxWidth: 400,
    40. lineColor: 'blue'
    41. }]
    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: 'radar',
    3. plot: {
    4. aspect: 'area'
    5. },
    6. series: [{
    7. values: [35, 42, 67, 89, 25, 34, 67, 85]
    8. }],
    9.  
    10. scaleK: {
    11. visible: false
    12. },
    13. scaleV: {
    14. values: '0:100:25',
    15. guide: {
    16. alpha: 1,
    17. backgroundColor: '#ffe6e6 #ff8080',
    18. lineColor: 'red',
    19. lineStyle: 'solid',
    20. lineWidth: 1,
    21. visible: true,
    22.  
    23. mediaRules: [{
    24. maxWidth: 400,
    25. lineColor: 'blue'
    26. }]
    27. }
    28. }
    29. };
    30.  
    31. zingchart.render({
    32. id: 'myChart',
    33. data: myConfig,
    34. height: 400,
    35. width: '100%'
    36. });