FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour TGraph class
Posts: 195
Joined: Sun Jul 22, 2012 07:01 PM
TGraph class
Posted: Mon Jul 31, 2017 10:22 PM

Using the TGraph() class the y axis is set to automatically scale based on the y values passed in the display array. How do I stop this automatic behavior and instead provide the desired range to use?

Robb

Posts: 195
Joined: Sun Jul 22, 2012 07:01 PM
Re: TGraph class (resolved)
Posted: Tue Aug 01, 2017 12:42 AM

I found it. Setting TGraph():nMaxVal does the trick.

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: TGraph class
Posted: Tue Aug 01, 2017 03:31 AM

thanks for sharing it

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion