transision of null1 Uncaught TypeError: Cannot read property 'transition' of null Uncaught TypeError: Cannot read property 'transition' of null Chart.js 로 PieChart 를 만들던 중 이런 에러가 발생하였다. 아래처럼 한 페이지에 파이차트를 여러개 사용하면서, 실제 윈도우 객체 1개에 계속 new Chart 를 해주고 있었던게 문제가 되었다.12345678910111213window.pieChart = new Chart(ctx, { type : 'pie', data : data, options : { title : { display : true, fontSize : '16', fontColor : '#FFFFFF', text : $("#testVal").val() + ' ' + textId + '별 ' + textKind + .. 2019. 7. 23. 이전 1 다음