To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example generates a pie chart with legend using the LabVIEW picture control.
Description
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.
Requirements:
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.
Congratulations,
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...