LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change axis name color in a graph

Hi,
I d like to change the colors of the axis names of my graph.

I have two Y axis one a the left and one at the right each associated with on of the curve on the graph and I'd like to put the same color as the curve for the correspondant axis name,
is there a property to do that , because I cannot find it.

thanks

Olivier
0 Kudos
Message 1 of 7
(4,262 Views)

Hello Olivier,

Unfortunately, the color for the names both axes is tied together. There is a property that allows you to change it (ATTR_XYNAME_COLOR), but you can't make them different.

Luis

0 Kudos
Message 2 of 7
(4,259 Views)
OK thanks

0 Kudos
Message 3 of 7
(4,241 Views)
You could try not having axis names embedded into your graph and instead use carefully positioned text mesage controls in their place. Obviously containing the text to replace the axis names, in the colour of your choice and with a transparant background. As long as the graph control is not being resized all the time this might give you what you want.
 
JR
0 Kudos
Message 4 of 7
(4,240 Views)
Another alternative could be to overlap more graphs one of them (the upper one) without labels and others with the labels coloured as you want. You could take as an example my Multi axis graph in CVI project that uses several ovelapped graphs and modify label colours at your own desire.


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 5 of 7
(4,230 Views)
Hi,
Thanks But I think I have found an easier way by just adding splitters on top of each Yaxis side and colorating them.

Thanks again anyway

actually I have a more critical question for my application for which you might have an answer
located at
RS232 message truncated in labwindosCVI forums

Thanks

Olivier
Message 6 of 7
(4,223 Views)
A good suggestion the splitter one: I'll give a try! Smiley Happy


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 7 of 7
(4,206 Views)