Plotting a bar diagram with more than 40.000 points is very slow

Hello,

Iam trying to plot a 1D-Signal in a vtkChartXY. I have more than 40.000 points, which works fine with vtkChart.LINE and vtkChart.POINTS, but if I try to plot with vtkChart.BAR the program slows down significantly. Is there a way to speed up the plotting?

Are you looking for a histogram? vtk has some histogram filters that will summarize the data so it can be plotted with many fewer bars.