TGraph class

TGraph class

Postby rhlawek » 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
User avatar
rhlawek
 
Posts: 194
Joined: Sun Jul 22, 2012 7:01 pm

Re: TGraph class (resolved)

Postby rhlawek » Tue Aug 01, 2017 12:42 am

I found it. Setting TGraph():nMaxVal does the trick.
User avatar
rhlawek
 
Posts: 194
Joined: Sun Jul 22, 2012 7:01 pm

Re: TGraph class

Postby Antonio Linares » Tue Aug 01, 2017 3:31 am

thanks for sharing it
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42127
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 54 guests