point-style.json 2.8 KB

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