what i did was when generating the array for the labels, check if i % 10 === 0 where i is the index of the label, if true, add the label to the array, if false, add empty string to the array.

maybe not the cleanest way, but it works.

Related Query

More Query from same tag