Hi all,
I am facing a problem with the winchart component. I have a series of points plotted in the graph. The y-axis values are numerics and the x-axis values are strings that represent a date in a MMM-YYYY format. Each line can have even up to 600 point. Obviously the x-axis should not display the values for all points, but instead I am trying to find how to display a pre-defined set of points (e.g. 10). Is this possible? Thanks
Try setting the Axis.X.TickmarkStyle property to DataInterval, and set Axis.X.TickmarkInterval = numberOfPoints / 10. also consider setting Axis.X.Labels.Layout.Behavior = Auto and/or Axis.X.Labels.TickmarkStyle = Smart, as these settings will try to automatically reduce the number of labels displayed when there are too many.
Thanks for your reply. Setting Axis.X.Labels.Layout.Behavior = Auto and Axis.X.Labels.TickmarkStyle = Smart still doesnt work because the labels dont show up correctly. The dates are displayed as 'Mar-2...' instead of 'Mar-2007'.
Also, is there any way to limit the number of points shown instead of the labels? Thanks