'Pie charts disappear when changing the window size
Good day,
I am using the Pie Charts from Apex. However, when I switch to responsive or reduce/enlarge the browser window, the charts disappear and come back only with a refresh of the page:
This is my config for the chart
series3: [0, 0],
chartOptions3: {
chart: {
width: 380,
type: 'pie',
},
colors: ['#10e497', '#feb111'],
labels: ['Geöffnet', 'nicht Geöffnet'],
responsive: [{
breakpoint: 480,
options: {
chart: {
width: 390
},
}
}],
legend: {
show: true,
showForSingleSeries: false,
showForNullSeries: true,
showForZeroSeries: true,
position: 'bottom',
horizontalAlign: 'center',
floating: false,
}
},
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|