I have boolean values being used on the Y Axis and the chart control is converting them to 0 and 1. How do I get it to show "True" and "False" labels instead?
3 Answers, 1 is accepted
0
Yavor
Telerik team
answered on 19 Aug 2011, 08:16 AM
Hello D Warren,
The best option in this case would be use categorical values:
Thanks for the reply. I was actually asking about putting True and False on the Y axis. But if it isn't possible I'll have to make do with the categories on the X Axis.
0
Yavor
Telerik team
answered on 23 Aug 2011, 08:32 AM
Hi D Warren,
Another option to handle this functionality would be to retemplate the axis, and use a value converter for the value of the labels. In this way, you will be able to use the original data (0s and 1s), and simply convert the values.
I hope this suggestion gets you started properly.
All the best,
Yavor
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward!
We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>