質問編集履歴

2

情報の修正

2019/12/16 15:46

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -3,261 +3,3 @@
3
3
  canvasの高さを変える方法以外に何か良い方法はありませんでしょうか?
4
4
 
5
5
  詳しい方アドバイスお願いします。
6
-
7
-
8
-
9
- ![イメージ説明](93062cdf6bbb5f219f73b151f490fa74.png)
10
-
11
-  ```html
12
-
13
- <div style="width:100%; overflow-x:auto; overflow-y:visible">
14
-
15
- <div class="chart_container">
16
-
17
- <canvas id="Chart"></canvas>
18
-
19
- </div>
20
-
21
- </div>
22
-
23
-
24
-
25
- <script>
26
-
27
- var ctx = document.getElementById("Chart").getContext('2d');
28
-
29
- var Chart = new Chart(ctx, {
30
-
31
- type: 'bar',
32
-
33
- data: {
34
-
35
- labels: ["2018/9", "2018/10", "2018/11"],
36
-
37
- datasets: [
38
-
39
- {
40
-
41
- label: "A",
42
-
43
- data: [20, 26, 12],
44
-
45
- },
46
-
47
- {
48
-
49
- label: "B",
50
-
51
- data: [28, 22, 32],
52
-
53
- },
54
-
55
-
56
-
57
- {
58
-
59
- label: "C",
60
-
61
- data: [15, 23, 15],
62
-
63
- },
64
-
65
- {
66
-
67
- label: "D",
68
-
69
- data: [20, 26, 12],
70
-
71
- },
72
-
73
- {
74
-
75
- label: "E",
76
-
77
- data: [28, 22, 32],
78
-
79
- },
80
-
81
-
82
-
83
- {
84
-
85
- label: "F",
86
-
87
- data: [15, 23, 15],
88
-
89
- },
90
-
91
- {
92
-
93
- label: "G",
94
-
95
- data: [20, 26, 12],
96
-
97
- },
98
-
99
- {
100
-
101
- label: "H",
102
-
103
- data: [28, 22, 32],
104
-
105
- },
106
-
107
-
108
-
109
- {
110
-
111
- label: "I",
112
-
113
- data: [15, 23, 15],
114
-
115
- },
116
-
117
- {
118
-
119
- label: "J",
120
-
121
- data: [20, 26, 12],
122
-
123
- },
124
-
125
- {
126
-
127
- label: "K",
128
-
129
- data: [28, 22, 32],
130
-
131
- },
132
-
133
-
134
-
135
- {
136
-
137
- label: "L",
138
-
139
- data: [15, 23, 15],
140
-
141
- },
142
-
143
- {
144
-
145
- label: "M",
146
-
147
- data: [20, 26, 12],
148
-
149
- },
150
-
151
- {
152
-
153
- label: "N",
154
-
155
- data: [28, 22, 32],
156
-
157
- },
158
-
159
-
160
-
161
- {
162
-
163
- label: "O",
164
-
165
- data: [15, 23, 15],
166
-
167
- },
168
-
169
- {
170
-
171
- label: "P",
172
-
173
- data: [20, 26, 12],
174
-
175
- },
176
-
177
- {
178
-
179
- label: "Q",
180
-
181
- data: [28, 22, 32],
182
-
183
- },
184
-
185
-
186
-
187
- {
188
-
189
- label: "R",
190
-
191
- data: [15, 23, 15],
192
-
193
- },
194
-
195
- {
196
-
197
- label: "S",
198
-
199
- data: [20, 26, 12],
200
-
201
- },
202
-
203
- {
204
-
205
- label: "T",
206
-
207
- data: [28, 22, 32],
208
-
209
- },
210
-
211
-
212
-
213
- {
214
-
215
- label: "U",
216
-
217
- data: [15, 23, 15],
218
-
219
- },
220
-
221
- ]
222
-
223
- },
224
-
225
- options: {
226
-
227
- responsive: true,
228
-
229
- tooltips: {
230
-
231
- mode: 'nearest',
232
-
233
- intersect: false,
234
-
235
- mode: 'index',
236
-
237
- },
238
-
239
- scales: {
240
-
241
- xAxes: [{
242
-
243
- stacked: true,
244
-
245
- }],
246
-
247
- yAxes: [{
248
-
249
- stacked: true,
250
-
251
- }],
252
-
253
- }
254
-
255
- }
256
-
257
- });
258
-
259
- </script>
260
-
261
-
262
-
263
- ```

1

情報追加

2019/12/16 15:46

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
 
8
8
 
9
-
9
+ ![イメージ説明](93062cdf6bbb5f219f73b151f490fa74.png)
10
10
 
11
11
   ```html
12
12