fill-radar-dataset.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. {
  2. "config": {
  3. "type": "radar",
  4. "data": {
  5. "labels": ["0", "1", "2", "3", "4", "5", "6", "7", "8"],
  6. "datasets": [{
  7. "backgroundColor": "rgba(255, 0, 0, 0.25)",
  8. "data": [null, null, 0, -1, 0, 1, 0, -1, 0],
  9. "fill": 1
  10. }, {
  11. "backgroundColor": "rgba(0, 255, 0, 0.25)",
  12. "data": [1, 0, null, 1, 0, null, -1, 0, 1],
  13. "fill": "+1"
  14. }, {
  15. "backgroundColor": "rgba(0, 0, 255, 0.25)",
  16. "data": [0, 2, 0, -2, 0, 2, 0],
  17. "fill": 3
  18. }, {
  19. "backgroundColor": "rgba(255, 0, 255, 0.25)",
  20. "data": [2, 0, -2, 0, 2, 0, -2, 0, 2],
  21. "fill": "-2"
  22. }, {
  23. "backgroundColor": "rgba(255, 255, 0, 0.25)",
  24. "data": [3, 1, -1, -3, -1, 1, 3, 1, -1],
  25. "fill": "-1"
  26. }]
  27. },
  28. "options": {
  29. "responsive": false,
  30. "spanGaps": false,
  31. "legend": false,
  32. "title": false,
  33. "scale": {
  34. "display": false
  35. },
  36. "elements": {
  37. "point": {
  38. "radius": 0
  39. },
  40. "line": {
  41. "borderColor": "transparent",
  42. "tension": 0
  43. }
  44. }
  45. }
  46. },
  47. "options": {
  48. "canvas": {
  49. "height": 256,
  50. "width": 256
  51. }
  52. }
  53. }