When setting the color using a function, a TypeScript error will occur because the property expects a value of type string.
Type '(e: SeriesLabelsContentArgs) => string' is not assignable to type 'string'.
The color properties of the Chart components should support a callback to prevent such errors, as this is a valid feature to implement. The current workaround is to skip type checking.
<kendo-chart-series-item-labels
[color]="$any(labelColor)"
>