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