Page 1 of 1

Date axis grid lines

Posted: Mon May 13, 2019 5:29 am
by amrsherif
Hi,

How do i turn off date the date axis grid lines in a program? I'm able to go into the chart options --> axis & scaling --> grid lines --> Obs & Date axis grid lines and i can choose none. This works, but chart_1.axis(b) -grid seems to have no effect

thanks

Re: Date axis grid lines

Posted: Mon May 13, 2019 8:11 am
by EViews Jason
The 'axis' proc refers to axis containing data. I am assuming your bottom axis is the time axis in which case you need to use the 'options' proc.

If this is true, try

Code: Select all

chart_1.options gridnone


but turning off all grids will also turn on the frame. So you will also have to specify the frame border setting. For example, use

Code: Select all

chart_1.options gridnone frameaxes(none)

Re: Date axis grid lines

Posted: Mon May 13, 2019 8:47 am
by amrsherif
Thank you