• 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. var myConfig = {
    24. "type": "radar",
    25. "plot": {
    26. "aspect": "area"
    27. },
    28. "scale-v": {
    29. "values": "0:100:25",
    30. "labels": ["", "", "", "", ""],
    31. "ref-line": {
    32. "line-color": "none"
    33. },
    34. "guide": {
    35. "line-style": "solid"
    36. }
    37. },
    38. "scale-k": {
    39. "values": "0:330:30",
    40. "format": "%v°",
    41. "aspect": "circle", //To set the chart shape to circular.
    42. "guide": {
    43. "line-style": "solid"
    44. }
    45. },
    46. "series": [{
    47. "values": [59, 30, 65, 34, 40, 33, 31, 90, 81, 70, 100, 28]
    48. }, {
    49. "values": [30, 100, 90, 99, 59, 34, 5, 3, 12, 15, 16, 75, 34]
    50. }, {
    51. "values": [34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 100]
    52. }]
    53. };
    54.  
    55. zingchart.render({
    56. id: 'myChart',
    57. data: myConfig,
    58. height: '100%',
    59. width: '100%'
    60. });
    61. </script>
    62. </body>
    63.  
    64. </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. var myConfig = {
    2. "type": "radar",
    3. "plot": {
    4. "aspect": "area"
    5. },
    6. "scale-v": {
    7. "values": "0:100:25",
    8. "labels": ["", "", "", "", ""],
    9. "ref-line": {
    10. "line-color": "none"
    11. },
    12. "guide": {
    13. "line-style": "solid"
    14. }
    15. },
    16. "scale-k": {
    17. "values": "0:330:30",
    18. "format": "%v°",
    19. "aspect": "circle", //To set the chart shape to circular.
    20. "guide": {
    21. "line-style": "solid"
    22. }
    23. },
    24. "series": [{
    25. "values": [59, 30, 65, 34, 40, 33, 31, 90, 81, 70, 100, 28]
    26. }, {
    27. "values": [30, 100, 90, 99, 59, 34, 5, 3, 12, 15, 16, 75, 34]
    28. }, {
    29. "values": [34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 100]
    30. }]
    31. };
    32.  
    33. zingchart.render({
    34. id: 'myChart',
    35. data: myConfig,
    36. height: '100%',
    37. width: '100%'
    38. });