简体   繁体   中英

Bringing PyQt and PyChart together

I want to visualize some measurement values in realtime. I think - although not finally sure - I can do this with PyChart. The surrounding application is based on PyQt.

Now I', wondering how I can put the chart drawn using PyChart into some qt widget, may be a QGraphicWidget?

Could someone give me a bit advise?

Cheers, Wolfgang

I have learned to do this by following the instructions of Eli Benderski.

It is answered here on this site in this thread

Demo Code is here

This uses matplotlib instead of PyChart. Usage of matplotlib is well documented here .

Matplotlib allows you to interact with the plot canvas as well as importing a Navigation Tool Bar.

Hope this is helpful.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM