public showOrHideLegends(seriesList: any[]) { if (seriesList.length === 0) return false; else return true; }
more code lines => more money; that's how our contractor company thinks