View topic - Trend Graphs...need more info

Trend Graphs...need more info

Read-only archive of qnx.gui (Creating graphical applications within a GUI environment, such as Photon or PhAB) at inn.qnx.com

Trend Graphs...need more info

Postby m2asseli » Thu Aug 04, 2005 7:12 pm

Hello,

I am trying to add a trend-graph to my GUI but cannot seem to find much info. I have created the PtTrend in PhAB, and then used the PtMTrendAddData() function, but nothing happens. I am at a lost for documentation, if anyone could provide a good tutorial or some resources, thanks!

Matthew.
m2asseli
Senior Member
 
Posts: 100
Joined: Tue May 11, 2004 7:26 pm

Re: Trend Graphs...need more info

Postby Misha Nefedov » Thu Aug 04, 2005 8:19 pm

I assume that you meant 'PtMTrend'. Please find attached a simple sample
app.
-Misha.

"m2asseli" <m2asselin@yahoo-dot-com.no-spam.invalid> wrote in message
news:dctr8f$74v$1@inn.qnx.com...
Hello,

I am trying to add a trend-graph to my GUI but cannot seem to find
much info. I have created the PtTrend in PhAB, and then used the
PtMTrendAddData() function, but nothing happens. I am at a lost for
documentation, if anyone could provide a good tutorial or some
resources, thanks!

Matthew.



begin 666 PtMTrend_example1.tgz
M'XL(`+=W\D(``^P]:7@45;8'027EBKLB>@D*"=,D5;V&8-3.`C9V%M()ZX2F
MNKLZ*>BN;KHK)!%AQ %955QX+IE1&%S Y8G+^SY],W_&&05!<4-Q04$1GCP%
MY_.]\3V_Y_?YSJVJWKO3";2=#^F3=+KJW'//.7<YY]YS[ZU*DUS?$A(DCU/H
MYOU!G\"50\Z!98VLQ6+!;P62OY5KCF4M>I/>Q)J-P'(&UF0&8LJ]*JG0&9;Y
M$"$0"@3DONBRI9^DT)32_EWM<H[[P,#:GZ/M;S89"^V?#TC?_BX^+)3A15=.
M9+#8N&:S.6/[6TRF:/OKE?8W83\`PN9$>A8XU=N_PUJM9PUE+,<TR3-$R1/H
M8CB&MC^#36)B/**?,;*L#FD8/<OJ&7>HW<5P1KW%PE9P%&56468#9^;T%0Q7
M@>;+>'U\.S/1Q)GTNHEFKD*OH$U,6 Z)4CM3WT.LP:!/=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Q)T>/!-9
MM$XI>T^Y)4FE^K9T:Q"8OLM2TU0.MOBNAD#LNTW]M(58URG5"]4)(9J228)!
M"J#ITIUJFE@U_4LVW)9JVL!"%$_GSV*9O\29HV_IP"8WMX[82$H>,37)%NKG
MR^(!@U+"EO7%^ZQ80M2IHC)9#Y7!!C-I,L-N%=*/RH10QUM\0#B9'TP=X=0J
MU*$\,@X9.AVUX#I_71;"D.JD'<^!EV)B+?#JRR:L:Y:%?TB][-_U)M%MV)L\
MN5F>Q?6@VVK728U+[ A]_/;;[)\%_?SWO7L_B.W[/X<K^S]'QWS^U\] [O_
:BL)[/PP&@\%@,!@,!H/QO_$)-YLZ70"@````
`
end
Misha Nefedov
 

RE: Re: Trend Graphs...need more info

Postby dxwang » Fri May 19, 2006 12:03 am

PtMTrend is not equal to PtTrend .
dxwang
Senior Member
 
Posts: 129
Joined: Mon Sep 27, 2004 1:39 pm

RE: Re: Trend Graphs...need more info

Postby alisha » Wed May 24, 2006 5:12 am

they are similar
alisha
Active Member
 
Posts: 19
Joined: Wed May 17, 2006 3:58 am


Return to qnx.gui

Who is online

Users browsing this forum: No registered users and 1 guest