first arrange the services
series.map((m, index) => {
if (m.prices && m.prices.length > 0) {
return { name: m.name, data: m.prices, color: this.colors[index] };
}
});
then uncomment this
this.chart.updateOptions({ yaxis: this.getYAxisNotGrouped() });