From 11:00 PM CST Friday, Feb 14th - 6:30 PM CST Saturday, Feb 15th, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Advanced Plotting Toolkit

cancel
Showing results for 
Search instead for 
Did you mean: 

Pie Chart with Advanced Plotting Toolkit? How?

Solved!
Go to solution

Hi All.

 

Browsed through examples and all VI's, but found nothing to plot a "pie chart".

 

Am I missing something?

 

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
21st November 1905: E=mc² → and Physics would never be the same again...
0 Kudos
Message 1 of 4
(2,523 Views)
Solution
Accepted by GIC-VS_M

I don't see a Pie Chart option in APT.  But you can call Matplotlib (thru Python) in LabVIEW and make a pie chart.  Here's an example of the script you need.  

 

https://matplotlib.org/stable/gallery/pie_and_polar_charts/pie_features.html

 

Craig

0 Kudos
Message 2 of 4
(2,487 Views)
Solution
Accepted by GIC-VS_M

Just to let you know.
We're using the Web Browser container WebView2 in our LV application.
https://github.com/ANSCenter/LcWebView2
This is a HTML5 compatible browser with excellent callback function.
Unfortunately we've only provided 64-bit support so you have to run LV-64bit.
We've added some fancy plots examples there, but since it's a HTML5 web-browser, you can use any java-script plotting library.

//Mike

Message 3 of 4
(2,486 Views)

🙏👍

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
21st November 1905: E=mc² → and Physics would never be the same again...
0 Kudos
Message 4 of 4
(2,272 Views)