The Waterfall series does not seem to handle negative values always correctly.
Sometimes the waterfall does not go lower than 0. But sometimes it does.
Maybe the documentation on how , whether and why to add SumPoints and TotalPoints is somewhat incomplete.
var ws =
new
WaterfallSeries();
ws.DataPoints.Add(
new
Telerik.Charting.WaterfallDataPoint(1.0,
false
,
false
));
ws.DataPoints.Add(
new
Telerik.Charting.WaterfallDataPoint(2.0,
false
,
false
));
ws.DataPoints.Add(
new
Telerik.Charting.WaterfallDataPoint(3.0,
true
,
false
));
ws.DataPoints.Add(
new
Telerik.Charting.WaterfallDataPoint(-10.0,
false
,
false
));
if I have just this, it comes out like in picture "withoutEnd".
It does not end up with -7, as I would expect. Ist just ends with 0.
When I add a Total Point at the end
ws.DataPoints.Add(new Telerik.Charting.WaterfallDataPoint(-10.0, false, true))
The display changes, but the total is not display, and it's still all wrong.
When I add a Summary Point at then end
ws.DataPoints.Add(new Telerik.Charting.WaterfallDataPoint(-10.0, true, false))
The result becomes correct. (The left axis is starting at -8)
So I can find a solution that works for me.
But I'm not sure, do I missread the (rare) documentation,
or may be there is a bug in the display algorhithms.