• 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. guide: {
    28. lineWidth: 0,
    29. items: [{
    30. alpha: 1,
    31. backgroundColor: 'red',
    32. borderColor: 'black',
    33. borderWidth: 4,
    34. },
    35. {
    36. backgroundColor: '#ff1a1a'
    37. },
    38. {
    39. backgroundColor: '#ff3333'
    40. },
    41. {
    42. backgroundColor: '#ff4d4d'
    43. },
    44. {
    45. backgroundColor: '#ff6666'
    46. },
    47. {
    48. backgroundColor: '#ff8080'
    49. },
    50. {
    51. backgroundColor: '#ff9999'
    52. },
    53. {
    54. backgroundColor: '#ffb3b3'
    55. }
    56. ]
    57. }
    58. },
    59. scaleV: {
    60. visible: false
    61. }
    62. };
    63.  
    64. zingchart.render({
    65. id: 'myChart',
    66. data: myConfig,
    67. height: 400,
    68. width: '100%'
    69. });
    70. </script>
    71. </body>
    72.  
    73. </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. guide: {
    13. lineWidth: 0,
    14. items: [{
    15. alpha: 1,
    16. backgroundColor: 'red',
    17. borderColor: 'black',
    18. borderWidth: 4,
    19. },
    20. {
    21. backgroundColor: '#ff1a1a'
    22. },
    23. {
    24. backgroundColor: '#ff3333'
    25. },
    26. {
    27. backgroundColor: '#ff4d4d'
    28. },
    29. {
    30. backgroundColor: '#ff6666'
    31. },
    32. {
    33. backgroundColor: '#ff8080'
    34. },
    35. {
    36. backgroundColor: '#ff9999'
    37. },
    38. {
    39. backgroundColor: '#ffb3b3'
    40. }
    41. ]
    42. }
    43. },
    44. scaleV: {
    45. visible: false
    46. }
    47. };
    48.  
    49. zingchart.render({
    50. id: 'myChart',
    51. data: myConfig,
    52. height: 400,
    53. width: '100%'
    54. });