Hi,

If I understand the question correctly, then I think the way to do this is 
hook one or more of the ViewBox 
<https://pyqtgraph.readthedocs.io/en/latest/_modules/pyqtgraph/graphicsItems/ViewBox/ViewBox.html#ViewBox>
 
range change signals (sigXRangeChanged etc) and update the bar graph data 
to only include items in that range.

Patrick

On Tuesday, 30 March 2021 at 9:06:30 pm UTC+10:30 [email protected] wrote:

> I understand that clipping functions don't apply to BarGraphItem (I am 
> talking about setDownsampling and  setClipToView).
> I was wondering if you had an idea what I could try to clip a BarGraphItem.
>

-- 
You received this message because you are subscribed to the Google Groups 
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyqtgraph/1ed85ddd-152a-4e01-b48d-97b40e43a215n%40googlegroups.com.

Reply via email to