fill-line-boundary-start-span.json 1.4 KB

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