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,304 Views)
Solution
Accepted by topic author GIC-SAGM

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,268 Views)
Solution
Accepted by topic author GIC-SAGM

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,267 Views)

🙏👍

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