Hello,
I need to be able to set the colors of x-axis category labels conditionally. My current use case for this is that I'm displaying dates and need weekends and holidays to be their own colors. As far as I'm aware this cannot be accomplished in any way currently:
- ChartCategoryAxisLabels Color parameter cannot be conditional and applies to all labels
- ChartCategoryAxisLabels Template parameter must return plain text and cannot render styling or HTML
- The labels are drawn via canvas and therefore cannot be styled externally
The two solutions I could suggest are as follows:
- Make the ChartCategoryAxisLabels Color parameter able to be Kendo UI parsed like the Template Parameter
- In addition to the ChartCategoryAxis Categories parameter, support providing categories as render fragment children, with each having its own Color parameter
Thanks,
Robert