Performance for candlestick charts

132 views
Skip to first unread message

Szilard Perenyi

unread,
Feb 3, 2019, 3:54:23 PM2/3/19
to pyqtgraph
is there anyway to increase perfomance for large candlestick charts?

Patrick

unread,
Feb 3, 2019, 8:03:28 PM2/3/19
to pyqtgraph
Hi,

Why is it slow? I would expect it to be able to handle thousand(s?) of data points before becoming too laggy. If you have many thousands of data points and are trying to "zoom out" so they are all trying to be displayed at once, then you may need to cull/resample your data. Eg, if your x-axis is time, you should plot yearly/monthly/hourly min/mean/max values as appropriate, depending on zoom level, so the plot doesn't become too cluttered.

Patrick

Szilard Perenyi

unread,
Feb 4, 2019, 3:49:17 PM2/4/19
to pyqtgraph
figured out for some reason if you call candlestickitem once with all the data it makes the plot lag alot, but if you call it multiple times and only plot 500 at once it doesnt lag the plot. 

Bertram Gilfoyle

unread,
May 27, 2020, 3:50:36 PM5/27/20
to pyqtgraph


Could you elaborate roughly on how you did it?
Reply all
Reply to author
Forward
0 new messages