Mixed graph setelem

For notifying us of what you believe are bugs or errors in EViews.
Please ensure your copy of EViews is up-to-date before posting.

Moderators: EViews Gareth, EViews Moderator

tvonbrasch
Posts: 540
Joined: Fri Apr 15, 2011 5:35 am

Mixed graph setelem

Postby tvonbrasch » Sat Oct 01, 2016 1:43 am

Hi

In the attached workfile, when changing the colours of the bars, why do I have to write

Code: Select all

fin.setelem(1) fillcolor(@rgb(78,106,173))


and not

Code: Select all

fin.setelem(1) fillcolor(@rgb(78,106,173))


?

When changing the label of the bars i have to use the code

Code: Select all

fin.setelem(2)  legend("Anslag i Nasjonalbudsjettet året før")


This seems inconsistent?
THomas
Attachments
fin_graf.prg
(694 Bytes) Downloaded 254 times
kap2.WF1
(20.35 KiB) Downloaded 229 times

EViews Jason
EViews Developer
Posts: 870
Joined: Tue Sep 16, 2008 3:50 pm

Re: Mixed graph setelem

Postby EViews Jason » Fri Oct 21, 2016 8:21 am

It's due to how the internal graph structure was coded.

See http://forums.eviews.com/viewtopic.php?f=9&t=13592&p=47156#p47156 for explanation


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 14 guests