Benchtop Measurement and Test
Distributed Measurement and Control
Systems Engineering Software
You can request repair, RMA, schedule calibration, or get technical support. A valid service agreement may be required.
Provides support for NI data acquisition and signal conditioning devices.
Provides support for Ethernet, GPIB, serial, USB, and other types of instruments.
Provides support for NI GPIB controllers and NI embedded controllers with GPIB ports.
To download NI software, including the products shown below, visit ni.com/downloads.
This example generates a pie chart with legend using the LabVIEW picture control.
This example generates a pie chart using the LabVIEW picture control. Given an array of clusters containing a label and a value, a pie chart with legend is generated and displayed.
Pie Chart 2012.vi is the VI that actually creates the chart. Create Chart 2012.vi is a test VI used to show what the chart looks like.
Steps to Implement or Execute Code
Additional Information or References
Front Panel of Create Chart 2012.vi
VI Snippet of Pie Chart 2012.vi
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
Awesome example - especially if you can't get the ActiveX controls to properly load for the other pie chart examples! 😃
a very nice example. It work fine and it is easy to merge inside other applications. Just a note: due to array that set slice colors, the maximum number of slices is limited to 10. But it is rather easy to workaround this problem...
very nice example but i have some query i integrate it in my program but the chart legend is change our position sometime in very time or after 2 to 3 values update...kindly help in this regards...
What do you need our team of experts to assist you with?
We'll be in touch soon!