Skip to content

Commit 25e0d2a

Browse files
Merge pull request #1509 from coderdojo-japan/fix_graph_for_tags
タグ分布グラフの表示を調整
2 parents 67a7005 + 8c9fe40 commit 25e0d2a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

app/controllers/stats_controller.rb

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,14 @@ def show
3939
tickInterval: 40, max: 240
4040
f.series type: 'column', name: "対応道場数", yAxis: 0, showInLegend: false,
4141
data: tags.values.take(number_of_tags).reverse,
42-
dataLabels: { enabled: true, y: 20, align: 'center' }
42+
dataLabels: {
43+
enabled: true,
44+
y: 20,
45+
align: 'center',
46+
style: {
47+
textShadow: false
48+
}
49+
}
4350

4451
f.chart width: 600, alignTicks: false
4552
f.colors ["#A0CEFB", "#A0CEFB"]

0 commit comments

Comments
 (0)