Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Change expression axis labels font color using macro

Hi,

Can anyone help me set the font color of expression axis label using macro.

The path is Chart -> Properties -> Axes -> Expression Axes -> Font, I want to change the colour in this window using a macro.

Thanks,

Jyotsna

1 Solution

Accepted Solutions
Not applicable
Author

I found it , here it is in case someone needs it

Set gp = Chart.GetProperties

Set cp = gp.ChartProperties

gp.Expressions.Item(0).Item(0).Data.AxisData.TextColor.PrimaryCol.Col = RGB(255,255,255)

Thanks,

Jyotsna

View solution in original post

1 Reply
Not applicable
Author

I found it , here it is in case someone needs it

Set gp = Chart.GetProperties

Set cp = gp.ChartProperties

gp.Expressions.Item(0).Item(0).Data.AxisData.TextColor.PrimaryCol.Col = RGB(255,255,255)

Thanks,

Jyotsna