Note that the RadCartesianChart
will always allocate space for rendering a Category
for its DataPoints
which depends on the ItemsSource
of the chart. This is why in order to hide or show category from your axis you will need to change the ItemsSource
of the Series
. For example you can remove an item from the ItemsSource,
save it in a temp collection and then when you want this category back you can put the item back in the ItemsSource
of the series.
Let me know if this is your scenario. If not can you please describe it in more details.