You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
pie chart에서 data.series 개수가 27개 이상일 경우 에러 메시지가 노출되고 차트가 그려지지 않습니다.
(에러 메시지는 아래에 복사해 두었습니다.)
translated
If the number of data.series in the pie chart is more than 27, an error message is displayed and the chart is not drawn.
(The error message has been copied below.)
To Reproduce
Steps to reproduce the behavior:
아래 소스 실행하면 됩니다.(Just run the source below.)
<head>
<title>Title</title>
<link rel="stylesheet" href="${pageContext.request.contextPath}/toast-ui-chart/css/toastui-chart.min.css">
<script type="text/javascript" src="${pageContext.request.contextPath}/toast-ui-chart/toastui-chart.min.js"></script>
</head>
<body>
<div id="chart-area"></div>
<script type="text/javascript">
let el = document.getElementById('chart-area');
const data = {
series: [
{
name: 'Chrome',
data: 46.02,
},
....26개 더
],
};
const options = {
chart: { title: 'Usage share of web browsers', width: 600, height: 600 },
};
toastui.Chart.pieChart({ el, data, options });
</script>
</body>
Desktop (please complete the following information):
OS: win10 pro
Browser [chrome]
Version [버전 87.0.4280.141(공식 빌드) (64비트)]
Additional context
toastui-chart.min.js:7 Uncaught TypeError: Cannot read property 'toLowerCase' of undefined
at nt (toastui-chart.min.js:7)
at at (toastui-chart.min.js:7)
at i.value (toastui-chart.min.js:7)
at toastui-chart.min.js:7
at Array.forEach ()
at i.value (toastui-chart.min.js:7)
at i.value (toastui-chart.min.js:7)
at o (toastui-chart.min.js:7)
at e. (toastui-chart.min.js:7)
at t (toastui-chart.min.js:7)
toastui-chart.min.js:7 Uncaught TypeError: Cannot read property 'clearRect' of undefined
at e.value (toastui-chart.min.js:7)
at c.value (toastui-chart.min.js:7)
at toastui-chart.min.js:7
at Array.forEach ()
at e.value (toastui-chart.min.js:7)
at e.value (toastui-chart.min.js:7)
at toastui-chart.min.js:7
The text was updated successfully, but these errors were encountered:
jung-han
changed the title
data.series 개수가 27개 이상일 경우 문제 확인 요청
Colors are not properly exposed when the number of data.series is more than 27
Feb 2, 2021
This issue occurred because the number of colors was limited to about 30. If the number of colors is increased and exceeded, the previous color will be referenced. Thanks for the bug reporting!
(I am sorry that I changed the contents to English at my own pace.)
Describe the bug
pie chart에서 data.series 개수가 27개 이상일 경우 에러 메시지가 노출되고 차트가 그려지지 않습니다.
(에러 메시지는 아래에 복사해 두었습니다.)
translated
If the number of data.series in the pie chart is more than 27, an error message is displayed and the chart is not drawn.
(The error message has been copied below.)
To Reproduce
Steps to reproduce the behavior:
아래 소스 실행하면 됩니다.(Just run the source below.)
Desktop (please complete the following information):
Additional context
toastui-chart.min.js:7 Uncaught TypeError: Cannot read property 'toLowerCase' of undefined
at nt (toastui-chart.min.js:7)
at at (toastui-chart.min.js:7)
at i.value (toastui-chart.min.js:7)
at toastui-chart.min.js:7
at Array.forEach ()
at i.value (toastui-chart.min.js:7)
at i.value (toastui-chart.min.js:7)
at o (toastui-chart.min.js:7)
at e. (toastui-chart.min.js:7)
at t (toastui-chart.min.js:7)
toastui-chart.min.js:7 Uncaught TypeError: Cannot read property 'clearRect' of undefined
at e.value (toastui-chart.min.js:7)
at c.value (toastui-chart.min.js:7)
at toastui-chart.min.js:7
at Array.forEach ()
at e.value (toastui-chart.min.js:7)
at e.value (toastui-chart.min.js:7)
at toastui-chart.min.js:7
The text was updated successfully, but these errors were encountered: