why not merge scatterseries and RectangleBarSeries to an more universe class to plot (x,y,z) type data

Aug 18, 2012 at 12:00 AM

hi objo

     both ScatterSeries and rectangleBarSeries  is an special case of draw (x,y,z) in 2D drawing ,

in  position(x,y) draw marktype with color fill; so why not develop an new class which reprense (x,y,z) type data replace ScatterSeries and rectanglebarSeries. if use new class ,coloraxis can play more important role,i think. we can cope with colormap in z-dir in universe  way, which is very usefull in draw contour with color fill . in recent oxyplot version, rectanglebarseries don't consider rect fillcolor change in diffente position, such as draw colorBand wich color from low to high .

Aug 21, 2012 at 11:36 AM
Edited Aug 21, 2012 at 11:36 AM

ScatterSeries plots points and RectangleBarSeries plots rectangles. The rendering method is quite different, so I don't think it is a good idea to merge these classes.

I see the RectangleBarSeries could be extended with more functionality from the ScatterSeries, but this could also be solved by making a custom series class. Can you check if this can solve your issues?