LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Office Color Table

Hello,
 
I have a graph with a variable number of plots. Now I want to create a word report. So I save the graph via the method node as a picture on my harddisk and start with the report. In the report I add the picture and a table with descriptions to each plot. In the next step I change the color of the font in the table to the same color the plots have. This i do with a for loop, which switches through the plots in the graph and saves the plot color to an array. But when a use this array for coloring the table elements in the report, not all of them have the same color like the plots have. How I can solve this problem?
 
Thanks
 
MZ 
0 Kudos
Message 1 of 7
(3,379 Views)

Hi Markus,

Could you please post a small example to help us help you?

Are some of the colors correct?

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 7
(3,363 Views)

Hello Ben,

thanks for your answer. I have build a quick example. As you can see, some of the colors do not agree.

Markus

0 Kudos
Message 3 of 7
(3,354 Views)

HI Markus,

My hands are tied because I do not have the office toolkit installed at home.

I seem to rember that the office colors (may be wrong!) are not RGB but rather BGR. This would make green OK but red and blue would be swapped. Could you post inages of the LV graph and the image of the report?

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 7
(3,340 Views)
Hi Ben,
 
with this post I send a pdf file with the result. As you can see, the color of Plot 3, Plot 4, Plot 5 and Plot 6 is wrong.
 
Thanks
 
MArkus
0 Kudos
Message 5 of 7
(3,323 Views)
can not open pdf.
 
please post jpg or png.
 
Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 6 of 7
(3,313 Views)
Hello Ben,
 
here is the jpg.
 
Markus
0 Kudos
Message 7 of 7
(3,308 Views)