This is a migrated thread and some comments may be shown as answers.

X axis label from different field to value - CategoryGroup.Label?

1 Answer 18 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Scott Waye
Top achievements
Rank 1
Veteran
Scott Waye asked on 28 Mar 2018, 02:07 PM

What is the purpose of CategoryGroup.Label as highlighted in the attached graphic?  I have a report with categories for each week of the year, but want to display the week start date not the week number.  So I thought I could set to Numeric scale using the week of the year (which comes from the SQL), but change the label to come from the week start date (also from the SQL), but this appears to have no effect.

Thanks,

 

Scott

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Katia
Telerik team
answered on 02 Apr 2018, 08:00 AM
Hi Scott,

CategoryGroup.Label property controls the labels of Category scale. This property will not have effect if Numerical scale is used.
Labels of Numerical scale can be formatted using Format property of the Axis that accepts a formatting string. In case you wish to use expression to format the labels switch to Category scale and set the required data field in CategoryGroup.Label property.


Regards,
Katia
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Scott Waye
Top achievements
Rank 1
Veteran
Answers by
Katia
Telerik team
Share this question
or