Skip to content

Commit 395ab32

Browse files
author
giseop.lee
committed
chart.js 버전 업데이트로 인해 변경된 property 내용 반영
1 parent 80414f4 commit 395ab32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

project/app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ async function setupData() {
168168

169169
function renderChart(data, labels) {
170170
var ctx = $('#lineChart').getContext('2d');
171-
Chart.defaults.global.defaultFontColor = '#f5eaea';
172-
Chart.defaults.global.defaultFontFamily = 'Exo 2';
171+
Chart.defaults.color = '#f5eaea'
172+
Chart.defaults.font.family = 'Exo 2'
173173
new Chart(ctx, {
174174
type: 'line',
175175
data: {

0 commit comments

Comments
 (0)