I'm using Google Sheets and a triggered Apps Script function to create a waterfall chart.  Basically this involves breaking apart each value into a base (either visible or invisible), a falling value (one color) and a rising value (another color).  I'm then using Apps Script to dynamically adjust the minimum and maximum to properly show the range.This all works great, however sometimes the data labels start duplicating.  I have no idea what might be causing this - I'm not touching labels in apps script at all.Here's what the chart looks like with duplications:Here's my script code:function modifyAxis() {  var sheet = SpreadsheetApp.getActiveSheet();  var charts = sheet.getCharts();  for (var i in charts) {    var row = charts[i].getContainerInfo().getAnchorRow();    var chart = charts[i].modify()    .setOption('title', sheet.getRange(R + row).getValue())    .setOption('hAxis.slantedTextAngle','45')    .setOption('vAxis.viewWindowMode','explicit')    .setOption('vAxis.viewWindow.min',sheet.getRange(W + (row+15)).getValue())    .setOption('vAxis.viewWindow.max',sheet.getRange(W + (row+16)).getValue())    .setOption('bar.groupWidth','90%')    .build();    Logger.log(Min= + sheet.getRange(W + (row+15)).getValue());    sheet.updateChart(chart);  }}Any thoughts?  The chart certainly didn't start out this way, and it's pretty unusable as automation to allow a customer to use it.
Chart in Google Sheets is duplicating data labels
google spreadsheets;google apps script;google spreadsheet charts