Check if it´s possible to generate chart

For questions regarding programming in the EViews programming language.

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

Posts: 16
Joined: Mon Feb 11, 2019 8:56 am

Check if it´s possible to generate chart

Postby lgazire » Thu May 30, 2019 1:37 pm


I´m running an eviews program from c# program line and there´s a few things that i would like to check.

I have the following line:

Code: Select all

   graph charts.merge {%s}

The problem is, can i check before calling the graph method if it´s possible to generate da graph?
I want to avoid the error C_SERIES1 is not a series in "GRAPH CHARTS.MERGE C_SERIES1"
In my workfile i have a large number of pages and i would like to know what page gave me the error. Is that possible?

Thanks in advance

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

Re: Check if it´s possible to generate chart

Postby EViews Gareth » Thu May 30, 2019 2:17 pm

You can check the existence of a series with the @isobject command.
Follow us on Twitter @IHSEViews

Return to “Programming”

Who is online

Users browsing this forum: No registered users and 22 guests