point-style.json 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. {
  2. "config": {
  3. "type": "radar",
  4. "data": {
  5. "labels": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
  6. "datasets": [{
  7. "borderColor": "transparent",
  8. "data": [3, 3, 3, 3, 3, 3, 3, 3, 3, 3],
  9. "pointBackgroundColor": "#00ff00",
  10. "pointBorderColor": "transparent",
  11. "pointBorderWidth": 0,
  12. "pointRadius": 16,
  13. "pointStyle": [
  14. "circle",
  15. "cross",
  16. "crossRot",
  17. "dash",
  18. "line",
  19. "rect",
  20. "rectRounded",
  21. "rectRot",
  22. "star",
  23. "triangle"
  24. ]
  25. }, {
  26. "borderColor": "transparent",
  27. "data": [2, 2, 2, 2, 2, 2, 2, 2, 2, 2],
  28. "pointBackgroundColor": "transparent",
  29. "pointBorderColor": "#0000ff",
  30. "pointBorderWidth": 1,
  31. "pointRadius": 16,
  32. "pointStyle": [
  33. "circle",
  34. "cross",
  35. "crossRot",
  36. "dash",
  37. "line",
  38. "rect",
  39. "rectRounded",
  40. "rectRot",
  41. "star",
  42. "triangle"
  43. ]
  44. }, {
  45. "borderColor": "transparent",
  46. "data": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
  47. "pointBackgroundColor": "#00ff00",
  48. "pointBorderColor": "#0000ff",
  49. "pointBorderWidth": 1,
  50. "pointRadius": 16,
  51. "pointStyle": [
  52. "circle",
  53. "cross",
  54. "crossRot",
  55. "dash",
  56. "line",
  57. "rect",
  58. "rectRounded",
  59. "rectRot",
  60. "star",
  61. "triangle"
  62. ]
  63. }]
  64. },
  65. "options": {
  66. "responsive": false,
  67. "legend": false,
  68. "title": false,
  69. "scale": {
  70. "display": false,
  71. "ticks": {
  72. "min": 0,
  73. "max": 3
  74. }
  75. },
  76. "elements": {
  77. "line": {
  78. "fill": false
  79. }
  80. },
  81. "layout": {
  82. "padding": {
  83. "left": 24,
  84. "right": 24
  85. }
  86. }
  87. }
  88. },
  89. "options": {
  90. "canvas": {
  91. "height": 512,
  92. "width": 512
  93. }
  94. }
  95. }