Performance of ColumnSeries

Oystein Bjorke 10 років тому 0
This discussion was imported from CodePlex

Coffeephile wrote at 2012-07-17 13:31:

Is there any way to increase performance of ColumnSeries bars? With 200+ bars it gets PAINFULLY slow.


objo wrote at 2012-08-08 23:35:

The Bar/ColumnSeries is currently rendering the bars/columns one by one (see BarSeriesBase.RenderItem) as polygons (I think this was necessary to get it pixel-perfect on some platforms...). You could try to override the RenderItem method - add the rectangles to a list, perform the clipping and use IRenderContext.DrawRectangles to render all bars/columns at the end. Can you create a fork and test this? Let us know the results! :)