FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour posible error en tgraph.ch
Posts: 341
Joined: Fri Oct 07, 2005 02:44 PM

posible error en tgraph.ch

Posted: Sun Jun 07, 2026 11:18 PM

Estimados ,

En tgraph.ch

#xcommand ADD SERIE TO <oGraph> ;
             [ <series: SERIE> <aSerie,...> ] ;
             [ LEGEND <cLegend> ] ;
	     [ COLOR <nClr> ] ;
      =>;
           oGraph:AddSerie( [<aSerie>], <cLegend>, <nClr> )

#xcommand SET Y LABELS OF <oGraph> ;
             TO <ayLabels,...>;
      =>;
           oGraph:SetYVals( <ayLabels> )

Creo deberia ser :

#xcommand ADD SERIE TO <oGraph> ;
             [ <series: SERIE> <aSerie,...> ] ;
             [ LEGEND <cLegend> ] ;
	     [ COLOR <nClr> ] ;
      =>;
           <oGraph>:AddSerie( [<aSerie>], <cLegend>, <nClr> )

#xcommand SET Y LABELS OF <oGraph> ;
             TO <ayLabels,...>;
      =>;
           <oGraph>:SetYVals( <ayLabels> )

Saludos

Lautaro

Hola,

Soy un Contador que por necesidad aprendio a programar y se quedo programando.
Posts: 44508
Joined: Thu Oct 06, 2005 05:47 PM

Re: posible error en tgraph.ch

Posted: Mon Jun 08, 2026 03:19 AM

Estimado Lautaro,

Cual es la diferencia ? Se ven iguales

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 341
Joined: Fri Oct 07, 2005 02:44 PM

Re: posible error en tgraph.ch

Posted: Mon Jun 08, 2026 12:30 PM

Hola Antonio,

La diferencia es <> que encierran a oGraph en la sentencia : ... => <oGraph>:... , si no se ponen los <> , no usa el nombre de la variable luego de preprocesar, si no que anota oGraph como nombre de la variable.

Segun las versiones de fivewin que tengo, eso esa asi desde hace muuucho.

Me tomo varias horas encontrar por que tenia un error de variable oGraph no existe ...

Espero ayudar a que otro no tenga este problema.

Saludos,

Lautaro

Hola,

Soy un Contador que por necesidad aprendio a programar y se quedo programando.
Posts: 44508
Joined: Thu Oct 06, 2005 05:47 PM

Re: posible error en tgraph.ch

Posted: Tue Jun 09, 2026 06:03 AM

Entendido y corregido 👍🏻

Muchas gracias!

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion