Page 1 of 1

Changing graph settings of graphs created within a spool

Posted: Wed Sep 28, 2016 7:08 pm
by jacarandas
Hi,

I have been looking around on this forum and through the command pdf for some help on spool objects. I have not found any and thought it would be good to get some help here.

I have created a series of graphs within a spool object. How do I modify the properties of each graph within each spool object I have created using programming code? I would like to add gridlines, add an area colour from a certain date onwards, make the line thicker.

Thanks!

for %c eg1 eg2 eg3
for !i=1 to {%c}.@count
%name = {%c}.@seriesname(!i)
graph_{%c}.append {%name}.line
!j = graph_{%c}.@count
graph_{%c}.name !j %name
next
next

Re: Changing graph settings of graphs created within a spool

Posted: Wed Sep 28, 2016 9:46 pm
by EViews Gareth
You have to create a graph object, change the settings on that graph object, then add the graph to the spool. Once a graph is inside a spool, you cannot change its settings.