FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour TGRAPH Technical Question
Posts: 729
Joined: Tue Oct 18, 2005 06:49 PM
Re: TGRAPH Technical Question
Posted: Fri Dec 26, 2014 11:58 PM
Silvio,
You need only to add the following DATA:
DATA aBarCoors
DATA lToolTip INIT .F.

The tooltip should display the X Legend and the Y Legend and Value
[url]
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: TGRAPH Technical Question
Posted: Sun Dec 28, 2014 11:08 AM

yes now run ok George
I made an error on addserie method because you added other lines

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: TGRAPH Technical Question
Posted: Sun Dec 28, 2014 01:16 PM
George,
Code (fw): Select all Collapse
oApp():oGraph:lToolTip := .t.

oApp():oGraph:cToolTip =  { | nAt, nSerie, nRow, nCol | nSerie := If( nAt % ;
                         Len( oApp():oGraph:aSeries ) == 0, Len( oApp():oGraph:aSeries ),;
                         Int( nAt % Len( oApp():oGraph:aSeries ) ) ),;
                         oApp():oGraph:ToolTip( nAt, nRow, nCol, nSerie) }


It is ok when there are 2 series

When there is one serie it make error How I can modify it ?


with two series


with one serie
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 729
Joined: Tue Oct 18, 2005 06:49 PM
Re: TGRAPH Technical Question
Posted: Mon Dec 29, 2014 12:57 AM
Silvio,
Here is working fine for one series:

[url]

Did you modify the Tooltip Method?
Can you post a sample data where the problem is occurring?

Regards,

George
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: TGRAPH Technical Question
Posted: Wed Dec 31, 2014 06:22 PM

can you give to me your mail or you can send me a message at silvio[dot]falconi[at]gmail[dot]com thanks

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: TGRAPH Technical Question
Posted: Thu Jan 01, 2015 10:31 PM
This example shows everything :-)

Code (fw): Select all Collapse
    oGraph:cToolTip =  { | nAt, nSerie, nIndex | nSerie := If( nAt % ;
                         Len( oGraph:aSeries ) == 0, Len( oGraph:aSeries ),;
                         Int( nAt % Len( oGraph:aSeries ) ) ),;
                         "Series: " + Alltrim( Str( nSerie ) ) + CRLF + ;
                         "Bar: " + AllTrim( Str( nIndex := Int( nAt / Len( oGraph:aSeries ) ) + 1 + ;
                         If( nAt % Len( oGraph:aSeries ) == 0, -1, 0 ) ) ) + CRLF + ;
                         "Value: " + AllTrim( Str( oGraph:aData[ nSerie ][ nIndex ] ) ) }
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: TGRAPH Technical Question
Posted: Fri Jan 02, 2015 08:04 PM

thanks antonio

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: TGRAPH Technical Question
Posted: Sat Jan 03, 2015 10:52 AM

But we must say it run only with graphics type bars ..for the other not run !!!

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: TGRAPH Technical Question
Posted: Sat Jan 03, 2015 08:38 PM

Yes, it is only for bars

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion