If I understood correctly, you would like to set specific strings for each ID (numeric value) in the graph legend which are not taken from the data source. If so, there are two options:
1) If you have known limited number of values (e.g. 3), you can use nested IIf Statements
for the Value of the Legend Item. This can happen in the following way:
Click on the barSeries
-> expand LegendItem
set with an Expression
= IIF(Fields.Id = 1, "First ID", IIF(Fields.Id = 2, "Second ID", "Third ID"))
Note that you may nest more IIFs (to substitute "Third ID"). Please, check the attached screenshot and report which demonstrate this solution.
2) The second option is by using UserFunction
, in case you have a lot or unknown number of values. You may pass the Id as parameter of the User function and return a string based on the passed Id.
Please, let me know if you have any additional questions.
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