Support for Waterfall graphs?

Apr 21, 2012 at 9:53 AM
Edited Apr 21, 2012 at 10:02 AM


Is there a way to hav eOxyPlot do waterfall graphs (ie a number of line graphs shifted a bit with their starting points so they appear pseudo 3D).  

In old Delphi code I use to code these type of graphs by using area plots (where the line has color and the area is filled with the background color) and plot the graphs from back to front to easily get hidden lines without further computation. The only info needed to plot such curve is a dX and dY value that is multiplied with the graph number and added to the points when plotted. So the 2nd graph is shifted 2*dX, 2*dY right upwards.


Apr 21, 2012 at 12:14 PM

There is not currently a specialized "WaterfallSeries", but it could be easily added (derived from a ColumnSeries?). I think you can use a RectangleBarSeries to achieve the effect, but then you need to calculate the positions of the rectangles in your model.