Hi ,
I successfully built a combination of column and stacked column series and able to display it on the xamdatachart. As shown in the attached figure, there is a total of 12 different series in the collection. The issue that I see is that "LABELS" for each series is not displayed but for alternate series (it seems).
Is there anyway to control the gap? or any other workaround?
During debug I could check that all series is being populated and hence being displayed but label seems to be the issue.
When I reduced the number of series to 9, everything looks fine.
But again that does not solve the problem, if the number of series is 12 or anything higher than 9, it fails to show correct labels on X axis! Please suggest a workaround.
Hello Steve,
This behavior is expected with the default settings of the CategoryXAxis, which it appears you are using. The controlling property for the frequency of the labels shown on the XAxis is the Interval property. If this is not set, then rather than showing all of the labels at once, the XamDataChart internally calculates a "logical" interval, which is likely why you are seeing every other label in this case.
If you wish to see all labels on a CategoryXAxis in this case, I would recommend setting the Interval property to 1, as this will tell the axis that the labels should be drawn for every (1) category.
I hope this helps. Please let me know if you have any other questions or concerns on this matter.
Sincerely,AndrewAssociate Developer
Thanks! Glad to know this option.