Stacked column chart SDL crop overflow

overflow JUSTIFY crop FALSE

by amrutaJgtp

HTML

<script src="https://code.highcharts.com/highcharts.js">


</script>
<script src="https://code.highcharts.com/highcharts-3d.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="height: 400px"></div>

CSS

#container {
  height: 400px;
  min-width: 310px;
  max-width: 800px;
  margin: 0 auto;
}

JavaScript

Highcharts.chart('container', {
  chart: {
    type: 'bar',
    options3d: {
      enabled: true,
      alpha: 6,
      beta: 15,
      viewDistance: 0,
      depth: 40
    }
  },

  title: {
    text: 'Total fruit consumption, grouped by gender'
  },

  xAxis: {
    categories: ['Apples', 'Oranges', 'Pears', 'Grapes', 'Bananas'],
    labels: {
      skew3d: true,
      style: {
        fontSize: '16px'
      }
    }
  },

  yAxis: {
    allowDecimals: false,
    min: 0,
    title: {
      text: 'Number of fruits',
      skew3d: true
    }
  },

  tooltip: {
    headerFormat: '<b>{point.key}</b><br>',
    pointFormat: '<span style="color:{series.color}">\u25CF</span> {series.name}: {point.y} / {point.stackTotal}'
  },

  plotOptions: {
    column: {
      stacking: 'normal',
      depth: 40
    }
  },

  series: [{
    name: 'John',
    data: [5, 3, 4, 7, 2],
    stack: 'male',
    "dataLabels": {
      "enabled": true,
      "borderWidth": 0,
      "style": {
        "fontSize": "1rem",
        "fontFamily": "Lucida Sans Unicode,Verdana,Helvetica,Arial",
        "fontWeight": "normal",
        "fontStyle": "normal",
        "textDecoration": "none",
        "textOutline": ""
      },
      "color": "#000000",
      "align": "left", //ALIGN : LEFT
      "verticalAlign": "middle", //VERTICAL ALIGN : MIDDLE
      "inside": true,
      "rotation": 0,
      "overflow": "justify", //overflow JUSTIFY
      "crop": false //crop TRUE
    },
    "stacking": "normal"
  }, {
    name: 'Joe',
    data: [3, 4, 4, 2, 5],
    stack: 'male',
    "dataLabels": {
      "enabled": true,
      "borderWidth": 0,
      "style": {
        "fontSize": "1rem",
        "fontFamily": "Lucida Sans Unicode,Verdana,Helvetica,Arial",
        "fontWeight": "normal",
        "fontStyle": "normal",
        "textDecoration": "none",
        "textOutline": ""
      },
      "color": "#000000",
      "align": "left",
      "verticalAlign": "middle",
      "inside": true,
      "rotation": 0,
     ...