Support for Waterfall graphs?

Oystein Bjorke 10 aastat tagasi 0
This discussion was imported from CodePlex

wvd_vegt wrote at 2012-04-21 10:53:

Hi

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.

---
wvd_vegt


objo wrote at 2012-04-21 13:14:

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.