Hi,
I upgraded to EViews 11 today, and am having trouble changing colors in graphs. For example:
graph chart1.line series1 series2
chart1.textdefault font("Ariel",8,-b,-i,-u) textcolor(0,0,0) fillcolor(255,255,255) framecolor(255,255,255) existing
i get the following error: illegal color setting 255 in .....
It works if i change these to black/white. But adjusting other colors will be very difficult.
Am i doing anything wrong?
Thanks
color setting Eviews 11
Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt
-
- EViews Developer
- Posts: 870
- Joined: Tue Sep 16, 2008 3:50 pm
Re: color setting Eviews 11
The docs need to be updated but when specifying RGB colors, you need to include '@RGB()'.
Changing your line to:
should fix it.
Note: 'Arial' was misspelled in your example.
Changing your line to:
Code: Select all
chart1.textdefault font("Arial",8,-b,-i,-u) textcolor(@rgb(0,0,0)) fillcolor(@rgb(255,255,255)) framecolor(@rgb(255,255,255))
should fix it.
Note: 'Arial' was misspelled in your example.
Re: color setting Eviews 11
That works. Thanks for this (and for spotting the typo)
Who is online
Users browsing this forum: No registered users and 27 guests