fill-radar-boundary-origin-spline.json 1.3 KB

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