Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2085
GroupBy XamDataChart with CategoryDateTimeXAxis
posted

I am trying to display a vertical stacked bar graph with dates and have taken the example from this thread:

     http://es.infragistics.com/community/forums/t/64311.aspx

Which shows a CategoryXAxis being used.  I have modified this example to use CategoryDateTimeXAxis but only one stacked bar is shown and the X-Axis does not seem to have the correct labeling.  I moved most of the XAML declarations into the code-behind, but the only real difference is switching out:

   CategoryXAxis xAxis = new CategoryXAxis();

with:

CategoryDateTimeXAxis xAxis = new CategoryDateTimeXAxis();
xAxis.DateTimeMemberPath = "Date";

What other changes have to be made for this to display like the original CategoryXAxis version?

This should be in the WPF controls forum, not sure how to move this there, but it may still apply to Silverlight also ...

StackedColumnSeriesHelp.zip