Submitted by k0330 on Tue, 01/23/2024 - 08:12
Forums:
Hi all,
I have to display data from my journal in a pie chart in NX, and I'm still struggling in installation of System.Windows.Forms.DataVisualization...
My question is:
Even if I successfully generate a pie chart with System.Windows.Forms.DataVisualization in a windows forms app, how to combine it with Blockstyler in my journal?
(Here is my reference: https://community.sw.siemens.com/s/question/0D54O000061xPKISA2/graph-in-...)
Best regards,
Ray
re: pie chart
https://community.sw.siemens.com/s/question/0D54O00006DlijzSAB/nx-open-a...
The link above has a couple of code examples that uses Windows graphics commands to draw directly on the winform. Instead of drawing on the winform, you can draw on an internal bitmap object then copy that to your desired destination (such as the blockform label mentioned in the other thread).