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
StepAreaGraph Draws Faded Line for Point Data with Same CategoryDateTimeXAxis Date Values
posted

I am using a StepAreaSeries like:

            StepAreaSeries series = new StepAreaSeries();
            series.Title = title;
            series.Legend = legend;
            series.XAxis = xAxis;
            series.YAxis = yAxis;
            series.ValueMemberPath = valueMemberPath;
            series.Thickness = thickness;
            series.MarkerType = MarkerType.None;
            series.ItemsSource = itemsSource;
            series.Brush = new SolidColorBrush(color.Value);

And I am using a NumericYAxis and a CategoryDateTimeXAxis.  When I try to graph a group of points with the same X-value, in order like:
(07/31/2015 12:00PM , 0)
(07/31/2015 12:00PM , 1)
(07/31/2015 12:00PM , 1)
(07/31/2015 12:00PM , 0)
(07/31/2015 12:30PM , 0)
(07/31/2015 12:30PM , 1)
(07/31/2015 12:35PM , 1)
(07/31/2015 12:35PM , 0)
My chart looks like:


Where the first 4 points form a rectangle of "zero" width and the "box" drawn fades as it increases on the Y-axis.
I need for this scenario to look like the image shown below where a "box" is still drawn and there is no fading:


I have not been able to determine what causes the series' line ro fade, any suggestions on what to look at that might be causing this<

Parents Reply Children
No Data