Page 1 of 1

mixed graph: removing text not possible

Posted: Tue Jun 21, 2022 7:20 am
by mamo
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"

Re: mixed graph: removing text not possible

Posted: Tue Jun 21, 2022 3:43 pm
by EViews Jason
It will be fixed in the next patch

Re: mixed graph: removing text not possible

Posted: Wed Jun 22, 2022 1:30 am
by mamo
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