• 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. labels: ['scaleLabelA', 'scaleLabelB', 'scaleLabelC', 'scaleLabelD', 'scaleLabelE', 'scaleLabelF', 'scaleLabelG', 'scaleLabelH'],
    27. tick: {
    28. alpha: 1,
    29. lineColor: 'red',
    30. lineStyle: 'solid',
    31. lineWidth: 2,
    32. placement: 'outer',
    33. size: '10px',
    34. visible: true
    35. }
    36. },
    37. scaleV: {
    38. values: '0:100:25'
    39. }
    40. };
    41.  
    42. zingchart.render({
    43. id: 'myChart',
    44. data: myConfig,
    45. height: 400,
    46. width: "100%"
    47. });
    48. </script>
    49. </body>
    50.  
    51. </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. labels: ['scaleLabelA', 'scaleLabelB', 'scaleLabelC', 'scaleLabelD', 'scaleLabelE', 'scaleLabelF', 'scaleLabelG', 'scaleLabelH'],
    12. tick: {
    13. alpha: 1,
    14. lineColor: 'red',
    15. lineStyle: 'solid',
    16. lineWidth: 2,
    17. placement: 'outer',
    18. size: '10px',
    19. visible: true
    20. }
    21. },
    22. scaleV: {
    23. values: '0:100:25'
    24. }
    25. };
    26.  
    27. zingchart.render({
    28. id: 'myChart',
    29. data: myConfig,
    30. height: 400,
    31. width: "100%"
    32. });