point-style.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. {
  2. "config": {
  3. "type": "bubble",
  4. "data": {
  5. "datasets": [{
  6. "data": [
  7. {"x": 0, "y": 3},
  8. {"x": 1, "y": 3},
  9. {"x": 2, "y": 3},
  10. {"x": 3, "y": 3},
  11. {"x": 4, "y": 3},
  12. {"x": 5, "y": 3},
  13. {"x": 6, "y": 3},
  14. {"x": 7, "y": 3},
  15. {"x": 8, "y": 3},
  16. {"x": 9, "y": 3}
  17. ],
  18. "backgroundColor": "#00ff00",
  19. "borderColor": "transparent",
  20. "borderWidth": 0,
  21. "pointStyle": [
  22. "circle",
  23. "cross",
  24. "crossRot",
  25. "dash",
  26. "line",
  27. "rect",
  28. "rectRounded",
  29. "rectRot",
  30. "star",
  31. "triangle"
  32. ]
  33. }, {
  34. "data": [
  35. {"x": 0, "y": 2},
  36. {"x": 1, "y": 2},
  37. {"x": 2, "y": 2},
  38. {"x": 3, "y": 2},
  39. {"x": 4, "y": 2},
  40. {"x": 5, "y": 2},
  41. {"x": 6, "y": 2},
  42. {"x": 7, "y": 2},
  43. {"x": 8, "y": 2},
  44. {"x": 9, "y": 2}
  45. ],
  46. "backgroundColor": "transparent",
  47. "borderColor": "0000ff",
  48. "borderWidth": 0,
  49. "pointStyle": [
  50. "circle",
  51. "cross",
  52. "crossRot",
  53. "dash",
  54. "line",
  55. "rect",
  56. "rectRounded",
  57. "rectRot",
  58. "star",
  59. "triangle"
  60. ]
  61. }, {
  62. "data": [
  63. {"x": 0, "y": 1},
  64. {"x": 1, "y": 1},
  65. {"x": 2, "y": 1},
  66. {"x": 3, "y": 1},
  67. {"x": 4, "y": 1},
  68. {"x": 5, "y": 1},
  69. {"x": 6, "y": 1},
  70. {"x": 7, "y": 1},
  71. {"x": 8, "y": 1},
  72. {"x": 9, "y": 1}
  73. ],
  74. "backgroundColor": "#00ff00",
  75. "borderColor": "#0000ff",
  76. "borderWidth": 0,
  77. "pointStyle": [
  78. "circle",
  79. "cross",
  80. "crossRot",
  81. "dash",
  82. "line",
  83. "rect",
  84. "rectRounded",
  85. "rectRot",
  86. "star",
  87. "triangle"
  88. ]
  89. }]
  90. },
  91. "options": {
  92. "responsive": false,
  93. "legend": false,
  94. "title": false,
  95. "scales": {
  96. "xAxes": [{"display": false}],
  97. "yAxes": [{
  98. "display": false,
  99. "ticks": {
  100. "min": 0,
  101. "max": 4
  102. }
  103. }]
  104. },
  105. "elements": {
  106. "line": {
  107. "borderColor": "transparent",
  108. "borderWidth": 0,
  109. "fill": false
  110. },
  111. "point": {
  112. "radius": 16
  113. }
  114. },
  115. "layout": {
  116. "padding": {
  117. "left": 24,
  118. "right": 24
  119. }
  120. }
  121. }
  122. },
  123. "options": {
  124. "canvas": {
  125. "height": 256,
  126. "width": 512
  127. }
  128. }
  129. }