mixed graph: removing text not possible

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

mamo
Posts: 191
Joined: Wed Nov 07, 2012 9:11 am

mixed graph: removing text not possible

Postby mamo » Tue Jun 21, 2022 7:20 am

Dear Eviews team,
I use Eviews 12 March 2021 built

Removing an arbitrary piece of text which has been added to a mixed graph is not possible, Trying to do so gives an error message.
Run the example program below and try to manually remove the text "test" from the graph "gra". This gives an the error message "Removing series from mixed graphs is not allowed". You may also try with manually inserted pieces of text. The error message pops up as soon as one tries to remove some text from the graph. It does not matter whether the text has been inserted manually or via the .addtext procedure.

Would be nice if this bug could be fixed in an upcoming version of EVIEWS

Best, mamo

Code: Select all

wfcreate a 2000 2010 2
series x=@crossid+nrnd
series y=x-@crossid
series z=@crossid
group gr x y z
smpl @all if @crossid=1
freeze(mode=overwrite, gra) gr.mixed(panel=i) line(1) stackedbar(2,3)
gra.addtext(-0.1, -0.3) "test"
show gra
' now try to remove manually the text "test"

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

Re: mixed graph: removing text not possible

Postby EViews Jason » Tue Jun 21, 2022 3:43 pm

It will be fixed in the next patch

mamo
Posts: 191
Joined: Wed Nov 07, 2012 9:11 am

Re: mixed graph: removing text not possible

Postby mamo » Wed Jun 22, 2022 1:30 am

Many thanks! For the meantime, here the work-around I found: rather than removing the text object, just empty the text in the text box. This makes the text object to disappear altogether from the graph.
Best, mamo


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 18 guests