Error in Graph_4 Sample
Moderator: Rathinagiri
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: Error in Graph_4 Sample
Hi
Excellent !
Tested, worked fine on Sudip's example.
Thanks a lot.
This is difference between worker ( me ) and the master.
With best regards.
--
Esgici
Excellent !
Tested, worked fine on Sudip's example.
Thanks a lot.
This is difference between worker ( me ) and the master.
With best regards.
--
Esgici
- Attachments
-
- PieGraph.jpg (29 KiB) Viewed 5194 times
Viva INTERNATIONAL HMG
- Roberto Lopez
- HMG Founder
- Posts: 4004
- Joined: Wed Jul 30, 2008 6:43 pm
Re: Error in Graph_4 Sample
Thanks!... I'll wrote to you when feel depressedesgici wrote:Hi
Excellent !
Tested, worked fine on Sudip's example.
Thanks a lot.
This is difference between worker ( me ) and the master.
With best regards.
--
Esgici
The solution was pretty simple.
When the calculated arc (in degrees) for a part is zero, I avoid the attempt to draw in the main loop of the routine.
That's all.
Regards,
Roberto.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
- Roberto Lopez
- HMG Founder
- Posts: 4004
- Joined: Wed Jul 30, 2008 6:43 pm
Re: Error in Graph_4 Sample
And... the idea come to me from your original message: When the value is near 0% you see 'nothing' in your graph, so it must not be drawnRoberto Lopez wrote: When the calculated arc (in degrees) for a part is zero, I avoid the attempt to draw in the main loop of the routine.
Regards,
Roberto.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: Error in Graph_4 Sample
Hi Roberto
A confusion occured; I just send a post, now attachment exist but post lost !
So I'll resend.
And, an exaggerated test :
Best Regards
--
Esgici
Thanks, someones dreams and someones achieves.Roberto Lopez wrote:[
... the idea come to me from your original message ...
A confusion occured; I just send a post, now attachment exist but post lost !
So I'll resend.
And, an exaggerated test :
Code: Select all
SERIES {10^6,1500,0,500,800};
--
Esgici
- Attachments
-
- PieGrapEx.jpg (24.24 KiB) Viewed 5165 times
Viva INTERNATIONAL HMG
Re: Error in Graph_4 Sample
Hello Roberto,
Thanks a lot! It works fine!
Yesterday I installed an add-on software in one of my client's computer, to create graphs from my old application.
I faced the problem in front of my client.
Now I can send the corrected software to him.
Hi Esgici,
Thank you again for helping so much
With best regards to you all.
Sudip
Thanks a lot! It works fine!
Yesterday I installed an add-on software in one of my client's computer, to create graphs from my old application.
I faced the problem in front of my client.
Now I can send the corrected software to him.
Hi Esgici,
Thank you again for helping so much
With best regards to you all.
Sudip
With best regards,
Sudip
Sudip
- Roberto Lopez
- HMG Founder
- Posts: 4004
- Joined: Wed Jul 30, 2008 6:43 pm
Re: Error in Graph_4 Sample
The worst things occurs when the clients are even NEAR our appssudip wrote: I faced the problem in front of my client.
Now I can send the corrected software to him.
Regards,
Roberto.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: Error in Graph_4 Sample
Hi Rathirathinagiri wrote:
(In the ADORDD WITH ACCESS DATABASES topic) :
Yes. It was once upon a time.
I had know already you are a real diamond; but just learned that you are also a hidden treasure
The h_graph.prg doesn't include your name as a copyright notice. IMHO this is a big missing part
Hi Roberto and Rathi
I have a humble suggestion on PieGraph :
What are your opinions for changing
value aname+iif(lxval," - "+alltrim(str(series,10,2))+" ("+alltrim(str(degrees / 360 * 100,6,2))+" %)","")
line ( Line no : 1083 ) to
value aname+iif(lxval," - "+alltrim(str(series,19,2))+" ("+alltrim(str(degrees / 360 * 100,6,2))+"%)","")
For a value greater than 7 digit ( integer ) a format overflow occurs and user may assume that the Pie Graph don't accept big numbers.
Best Regards
--
Esgici
Viva INTERNATIONAL HMG
- Roberto Lopez
- HMG Founder
- Posts: 4004
- Joined: Wed Jul 30, 2008 6:43 pm
Re: Error in Graph_4 Sample
I'll fix it.esgici wrote: The h_graph.prg doesn't include your name as a copyright notice. IMHO this is a big missing part
esgici wrote: Hi Roberto and Rathi
I have a humble suggestion on PieGraph :
What are your opinions for changing
value aname+iif(lxval," - "+alltrim(str(series,10,2))+" ("+alltrim(str(degrees / 360 * 100,6,2))+" %)","")
line ( Line no : 1083 ) to
value aname+iif(lxval," - "+alltrim(str(series,19,2))+" ("+alltrim(str(degrees / 360 * 100,6,2))+"%)","")
For a value greater than 7 digit ( integer ) a format overflow occurs and user may assume that the Pie Graph don't accept big numbers.
Best Regards
--
Esgici
It looks good. I'll test it.
Regards,
Roberto.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
Re: Error in Graph_4 Sample
Hello Roberto,
Actually I am very much excited about the new "LIFE LINE" of my old apps!!! (And also for future apps) So I can't resist myself to show the advancement of my old creations to others.
With best regards.
Sudip
May be I can't understand what do you mean by "NEAR our apps". Do you want to say that we shouldn't show our products to our clients without thorough testing? Please tell me, because I regard your advice very much.Roberto said:
The worst things occurs when the clients are even NEAR our apps
Actually I am very much excited about the new "LIFE LINE" of my old apps!!! (And also for future apps) So I can't resist myself to show the advancement of my old creations to others.
With best regards.
Sudip
With best regards,
Sudip
Sudip
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: Error in Graph_4 Sample
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.