Line Graph is turning into Dot Graph

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

rmoralesaramburu
Posts: 52
Joined: Mon Nov 18, 2013 9:09 am

Line Graph is turning into Dot Graph

Postby rmoralesaramburu » Tue Nov 26, 2013 3:48 pm

Hello

I am trying to program a line graph and it is turning into a dot line. I suppose it is because of the NA values, but is there a way to handle it?

I am attaching the .prg and .wf1 file.

Thanks.
Attachments
variaciones.prg
(319 Bytes) Downloaded 398 times
variaciones boletín.wf1
(18.23 KiB) Downloaded 357 times

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Line Graph is turning into Dot Graph

Postby EViews Gareth » Tue Nov 26, 2013 4:10 pm

Add:

Code: Select all

posi.options connect

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Line Graph is turning into Dot Graph

Postby EViews Gareth » Tue Nov 26, 2013 4:33 pm

As an aside, you're probably better off using this wfopen command (which should mean you won't need the connect option):

Code: Select all

wfopen(page=posi) "H:\4. Benchmarking y Optimización\Set del Morning Meeting\Variaciones Boletín.xlsx" byrow range=cambios!f13 @freq w(mon) @id @date(date)

rmoralesaramburu
Posts: 52
Joined: Mon Nov 18, 2013 9:09 am

Re: Line Graph is turning into Dot Graph

Postby rmoralesaramburu » Wed Nov 27, 2013 6:25 am

Thanks, the first solution worked out perfectly.

The second solution I am getting this error:

"Date is not defined in "wfopen(page=posi) "H:\4. Benchmarking y Optimización\Set del Morning Meeting\Variaciones Boletín.xlsx" byrow range=cambios!f13 @freq w(mon) @id @date(date)"


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 0 guests