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

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
m_woolf
Master II
Master II

Code to change YAxis font size on a grid chart

I have a grid chart and need to change the YAxis font size by macro.

I have tried:

set rep = ActiveDocument.GetSheetObject("CH15")

set p = rep.GetProperties

     p.Expressions.Item(0).Item(0).Data.AxisData.Font.PointSize1000 = 4000

and    

     p.ChartProperties.XAxis.Font.PointSize1000 = 4000

Any ideas?

1 Solution

Accepted Solutions
m_woolf
Master II
Master II
Author

I found the answer:

     p.ChartProperties.GridSecondaryAxis.Font.PointSize1000 = 4000

View solution in original post

1 Reply
m_woolf
Master II
Master II
Author

I found the answer:

     p.ChartProperties.GridSecondaryAxis.Font.PointSize1000 = 4000