Highcharts Stacked
Y-axis value uneven distributions on large negative and small positive values
by ideazgeni
HTML
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/modules/exporting.js"></script>
<script src="https://code.highcharts.com/modules/export-data.js"></script>
<div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div>
JavaScript
Highcharts.chart('container', {
chart: {
type: 'column',
zoomType: 'xy'
},
title: {
text: 'Stacked column chart'
},
xAxis: {
categories: ['Jan', 'Feb', 'Mar', 'App', 'Jun']
},
yAxis: {
title: {
text: 'Values'
}
},
plotOptions: {
column: {
stacking: 'normal',
}
},
series: [{
name: 'Series 1',
data: [-348957349855, 23984323, 2938234, 7823479, 2293023]
}]
});