The Graph item by design does not allow to have two axes with category scales. The category scale represents groups of values that are incomparable to each other and are used to consolidate values in a domain, like Product Categories (Bikes, Accessories, Clothing, etc. ) The other axis must represent a comparable measure that can be used to calculate the positions of the data points, like Sales Per Year. It wouldn't make sense to display a chart that shows incomparable values on both its axes.
In the current scenario the category group should be set to Letters (B, G, D, etc.), and the X value should show some measurable and comparable value. Based on the description and the image, however, it seems that the role of these numbers (representing Cleanliness Level) is to act as a different group instead of a measure. Unfortunately I do not have enough information about the current scenario and can only guess the requirements, but looking at the attached image, it seems to me it's hard to determine what is represented on the X axis and why it does not align with the values displayed next to each bar (for example, why Size Class F shows bar with length 1, but it is measured as 0 on the X axis). If the idea of the chart is to show that the B size class has 3 items with Cleanliness Level 2, and size class C has 33 items with Cleanliness Level 6, it may be presented in a different, more easier to read manner.
Also, bars are used to display ratio between groups and the current chart shows that the ratio between 1 and 3 is the same as the ratio between 3 and 15 and 15 and 33. This may also be confusing to the recipient of the chart.
To summarize: there is no way to configure a Graph with X and Y axes both using category scales. If the designed layout can be changed, I suggest reconsidering the chart layout, making it easier to read and allowing the values and groups to be visually distinguished.
I hope this helps.
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?
Telerik Feedback Portal
and vote to affect the priority of the items