• 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. "value-box": {
    28. "font-family": "Georgia",
    29. "font-weight": "normal"
    30. }
    31. },
    32. "series": [{
    33. "values": [59, 30, 65, 34, 40],
    34. "marker": {
    35. "type": "none"
    36. }
    37. },
    38. {
    39. "values": [76, 60, 11, 21, 99],
    40. "marker": {
    41. "type": "none"
    42. }
    43. },
    44. {
    45. "values": [34, 70, 29, 80, 59],
    46. "marker": {
    47. "type": "none"
    48. }
    49. }
    50. ]
    51. };
    52.  
    53. zingchart.render({
    54. id: 'myChart',
    55. data: myConfig,
    56. height: '100%',
    57. width: '100%'
    58. });
    59. </script>
    60. </body>
    61.  
    62. </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. "value-box": {
    6. "font-family": "Georgia",
    7. "font-weight": "normal"
    8. }
    9. },
    10. "series": [{
    11. "values": [59, 30, 65, 34, 40],
    12. "marker": {
    13. "type": "none"
    14. }
    15. },
    16. {
    17. "values": [76, 60, 11, 21, 99],
    18. "marker": {
    19. "type": "none"
    20. }
    21. },
    22. {
    23. "values": [34, 70, 29, 80, 59],
    24. "marker": {
    25. "type": "none"
    26. }
    27. }
    28. ]
    29. };
    30.  
    31. zingchart.render({
    32. id: 'myChart',
    33. data: myConfig,
    34. height: '100%',
    35. width: '100%'
    36. });