• 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. let chartConfig = {
    17. type: 'radar',
    18. plot: {
    19. aspect: 'area',
    20. lineWidth: 1
    21. },
    22. scaleV: {
    23. values: '0:100:10',
    24. format: '%v%',
    25. tooltip: {
    26. text: 'Scale Value: %v'
    27. },
    28. item: {
    29. fontColor: '#607D8B',
    30. backgroundColor: 'white',
    31. borderColor: '#aeaeae',
    32. borderWidth: 1,
    33. padding: 3,
    34. borderRadius: 10,
    35. offsetX: 5,
    36. },
    37. refLine: {
    38. lineColor: '#607D8B'
    39. },
    40. tick: {
    41. lineColor: '#607D8B',
    42. length: 5,
    43. size: 5
    44. },
    45. guide: {
    46. lineColor: '#CFD8DC',
    47. lineStyle: 'solid',
    48. }
    49. },
    50. scaleK: {
    51. visible: false
    52. },
    53. series: [{
    54. values: [59, 30, 65, 34, 40],
    55. backgroundColor: '#689F38',
    56. lineColor: '#33691E'
    57. },
    58. {
    59. values: [76, 60, 11, 21, 99],
    60. backgroundColor: '#0288D1',
    61. lineColor: '#01579B'
    62. }
    63. ],
    64. };
    65.  
    66.  
    67. zingchart.render({
    68. id: 'myChart',
    69. data: chartConfig,
    70. height: 400,
    71. width: '100%'
    72. });
    73. </script>
    74. </body>
    75.  
    76. </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. let chartConfig = {
    2. type: 'radar',
    3. plot: {
    4. aspect: 'area',
    5. lineWidth: 1
    6. },
    7. scaleV: {
    8. values: '0:100:10',
    9. format: '%v%',
    10. tooltip: {
    11. text: 'Scale Value: %v'
    12. },
    13. item: {
    14. fontColor: '#607D8B',
    15. backgroundColor: 'white',
    16. borderColor: '#aeaeae',
    17. borderWidth: 1,
    18. padding: 3,
    19. borderRadius: 10,
    20. offsetX: 5,
    21. },
    22. refLine: {
    23. lineColor: '#607D8B'
    24. },
    25. tick: {
    26. lineColor: '#607D8B',
    27. length: 5,
    28. size: 5
    29. },
    30. guide: {
    31. lineColor: '#CFD8DC',
    32. lineStyle: 'solid',
    33. }
    34. },
    35. scaleK: {
    36. visible: false
    37. },
    38. series: [{
    39. values: [59, 30, 65, 34, 40],
    40. backgroundColor: '#689F38',
    41. lineColor: '#33691E'
    42. },
    43. {
    44. values: [76, 60, 11, 21, 99],
    45. backgroundColor: '#0288D1',
    46. lineColor: '#01579B'
    47. }
    48. ],
    49. };
    50.  
    51.  
    52. zingchart.render({
    53. id: 'myChart',
    54. data: chartConfig,
    55. height: 400,
    56. width: '100%'
    57. });