close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 18 years ago

Last modified 16 years ago

#460 assigned defect

problem after occulting a series line

Reported by: imendez Owned by: livan
Priority: high Milestone:
Component: Graphics Version: head
Severity: major Keywords:
Cc:

Description

Please, follow the next steps:

1.- Compile this code in the Eval window:
Set s = [[ "España", 4, 3 ?,

"Italia", 2, 1 ?,
"Alemania", 3, 2 ?,
"Francia", 1, 4 ? ]];

2.- Click on "s" in the object inspector and, with the right button, select "graficar conjunto".

3.- In the "columns selector", I have the first problem: if you forget add the combination of x-y columns that you hace selected, and press "Aceptar", no graph is showed but the "columns selector" window disappears. I think this window shouldn't disappear but a warning window should be shown with a message like: "You must add any combination of x-y columns".

4.- Ok, let's forget the step number 3. In the "columns selector", select the second column as "X values" and the thrid one as "Y value", and add them to "series a dibujar".

5.- Press "Aceptar" and the graphic will be shown. Open the "Graphic Options" and go to "Line" tab. Click on "Ocultar linea" option and press "Aplicar". The line disappear, as we wished.

6.- Now, click again on "Ocultar linea" option and press again "Aplicar". The error message is:

too few arguments for math function
too few arguments for math function

while executing

"expr int(floor([lindex $limAxis 0]))"

(procedure "::SetGraph::GetXTicks" line 11)
invoked from within

"$data(gr,$gr,OnGet${AXI}Ticks) $this"

(procedure "ShowAxisSelectXY" line 60)
invoked from within

"ShowAxisSelectXY $this"

(procedure "::bayesGraph::GrapOptApply" line 13)
invoked from within

"::bayesGraph::GrapOptApply ::bayesGraph::.main.mdi.slave22.work.g"

("uplevel" body line 1)
invoked from within

"uplevel \#0 $cmd"

(procedure "Button::_release" line 19)
invoked from within

"Button::_release .main.mdi.slave22.work.g.t.frame.bb.b2"

(command bound to event)

7.- Finally, we only can exit of the "Graphic Options" by pressing on "Cancelar" and, if we close this graphic, the next time we open a graphic we can't open the "Graphic Options"...

8.- In order to be able to return to open the "Graphic Options", you must generate a graphic with more than one series.

Thanks.

Change History (3)

comment:1 Changed 18 years ago by rcsoto

Owner: changed from rcsoto to jgarcia

comment:2 Changed 18 years ago by jgarcia

GetXTicks procedure was modified.

Thanks Roberto

comment:3 Changed 16 years ago by Víctor de Buen Remiro

Owner: changed from jgarcia to livan
Status: newassigned
Note: See TracTickets for help on using tickets.