• 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. rules: [{
    38. rule: '%v > 50',
    39. lineColor: 'blue'
    40. }]
    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: '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. rules: [{
    23. rule: '%v > 50',
    24. lineColor: 'blue'
    25. }]
    26. }
    27. }
    28. };
    29.  
    30. zingchart.render({
    31. id: 'myChart',
    32. data: myConfig,
    33. height: 400,
    34. width: '100%'
    35. });