Duplicated
Last Updated: 25 Mar 2026 13:36 by ADMIN
Robert
Created on: 25 Mar 2026 13:29
Category: Charts
Type: Feature Request
0
ChartCategoryAxis color per-label

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:

  1. Make the ChartCategoryAxisLabels Color parameter able to be Kendo UI parsed like the Template Parameter
  2. In addition to the ChartCategoryAxis Categories parameter, support providing categories as render fragment children, with each having its own Color parameter

Thanks,
Robert

Duplicated
This item is a duplicate of an already existing item. You can find the original item here:
1 comment
ADMIN
Dimo
Posted on: 25 Mar 2026 13:36

Hi Robert,

I linked your request to the one about Chart axis label visuals. The latter provides better generalization, more flexibility and is more popular.

Regards,
Dimo
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.