Project dashboard with harupdf

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
jairpinho
Posts: 404
Joined: Mon Jul 18, 2011 5:36 pm
Location: Rio Grande do Sul - Brasil
Has thanked: 5 times
Been thanked: 30 times
Contact:

Project dashboard with harupdf

Post by jairpinho »

hello hmg team, I need to start a dashboard project with harupdf, but I don't have examples of how to start, has anyone done something? or parts of a dashboard report, bar chart, pie chart
Principios-do-design-de-dashboards-3-1024x595.jpg
Principios-do-design-de-dashboards-3-1024x595.jpg (90.13 KiB) Viewed 669 times
dashboard-o-que-e.jpeg
dashboard-o-que-e.jpeg (362.98 KiB) Viewed 669 times
dashboard-c.png
dashboard-c.png (23.5 KiB) Viewed 669 times
Account_20Payable_20Dashboard.png
Account_20Payable_20Dashboard.png (38.17 KiB) Viewed 669 times
1eccb39ba6ae569d17bc0b9fb5612b4b.png
1eccb39ba6ae569d17bc0b9fb5612b4b.png (56.33 KiB) Viewed 669 times
Jair Pinho
HMG ALTA REVOLUÇÃO xBASE
HMG xBASE REVOLUTION HIGH
http://www.hmgforum.com.br

jparada
Posts: 321
Joined: Fri Jan 23, 2009 5:18 pm
Been thanked: 8 times

Post by jparada »

Hi Jair,

I have exactly the same development pending, only that due to lack of time I only have a basic prototype, but my idea is to have dynamic graphics, we already have the examples here (Activex) viewtopic.php?f=24&t=5718&hilit=google+api

The detail of that project is that I suppose that in the end the managers are going to ask or require that the report be printed and I don't know how complicated it would be to send the report (data tables and graphs to Excel or to Pdf) and not even if it is feasible.

I don't know if that's what you mean by asking about harupdf?, so that is the idea to do the dash with dynamic graphs because obviously it is visibly much more pleasant to have static graphics, especially the "native" graphics that we can do with hmg.

anyway, just ideas.

Regards,
Javier

User avatar
apais
Posts: 390
Joined: Fri Aug 01, 2008 6:03 pm
Location: uruguay
Has thanked: 81 times
Been thanked: 75 times
Contact:

Post by apais »

Win10 has a pdf printer.
So the only thing you need is to print your HTML page in that pdf printer.
HTML is the way!
Angel Pais
Web Apps consultant/architect/developper.
HW_apache (webserver modules) co-developer.
HbTron (Html GUI for harbour desktop hybrid apps) co-developer.
https://www.hbtron.com

jparada
Posts: 321
Joined: Fri Jan 23, 2009 5:18 pm
Been thanked: 8 times

Post by jparada »

That's why I'm waiting for your mod harbour project (just to test the concept), because I believe that this is useful for internal projects (own), not to offer clients, unless you with much more knowledge of the subject think otherwise.

Regards,
Javier

User avatar
apais
Posts: 390
Joined: Fri Aug 01, 2008 6:03 pm
Location: uruguay
Has thanked: 81 times
Been thanked: 75 times
Contact:

Post by apais »

What are you waiting for?
It's been ready for months and very stable.
With many detractors of course. Good thing.
Ladran Sancho!

PD: Yesterday I changed the web page. The downloads page will be available again soon.
Angel Pais
Web Apps consultant/architect/developper.
HW_apache (webserver modules) co-developer.
HbTron (Html GUI for harbour desktop hybrid apps) co-developer.
https://www.hbtron.com

jparada
Posts: 321
Joined: Fri Jan 23, 2009 5:18 pm
Been thanked: 8 times

Post by jparada »

Ángel me quedé aquí viewtopic.php?f=12&t=6092&hilit=nefele&start=20 (donde comentabas que estuviéramos pendientes del tema...) dónde piensas poner todo éste tema para dar algún seguimiento, por el momento https://www.hbtron.com/ luce incompleto y sin ningún tipo de organización, es decir, dónde empezar, dónde mirar después, hay/habrá algún foro, etc...

Saludos,
Javier

User avatar
jairpinho
Posts: 404
Joined: Mon Jul 18, 2011 5:36 pm
Location: Rio Grande do Sul - Brasil
Has thanked: 5 times
Been thanked: 30 times
Contact:

Post by jairpinho »

jparada wrote:
Tue Jan 12, 2021 3:00 pm
Hi Jair,

I have exactly the same development pending, only that due to lack of time I only have a basic prototype, but my idea is to have dynamic graphics, we already have the examples here (Activex) viewtopic.php?f=24&t=5718&hilit=google+api

The detail of that project is that I suppose that in the end the managers are going to ask or require that the report be printed and I don't know how complicated it would be to send the report (data tables and graphs to Excel or to Pdf) and not even if it is feasible.

I don't know if that's what you mean by asking about harupdf?, so that is the idea to do the dash with dynamic graphs because obviously it is visibly much more pleasant to have static graphics, especially the "native" graphics that we can do with hmg.

anyway, just ideas.

Regards,
Javier

hello Javier is exactly that management reports, but would like to do it directly in pdf with native harupdf functions
Jair Pinho
HMG ALTA REVOLUÇÃO xBASE
HMG xBASE REVOLUTION HIGH
http://www.hmgforum.com.br

jparada
Posts: 321
Joined: Fri Jan 23, 2009 5:18 pm
Been thanked: 8 times

Post by jparada »

Hi Jair,

All the work done in hmg is supposed to abstract us from the use of the original functions (which can be complex at times), but take a look at c:\hmg\HARBOUR\contrib\hbhpdf\core.c

I hope this is what you need a bit.

Regards,
Javier

User avatar
jairpinho
Posts: 404
Joined: Mon Jul 18, 2011 5:36 pm
Location: Rio Grande do Sul - Brasil
Has thanked: 5 times
Been thanked: 30 times
Contact:

Post by jairpinho »

hello team, thanks for the suggestions, started the project's first graphics follow examples, what's missing, convert to millimeters and create a specific class

bar
sample1jpg_Page1.jpg
sample1jpg_Page1.jpg (24.35 KiB) Viewed 150 times

circle
sample2jpg_Page1.jpg
sample2jpg_Page1.jpg (22.63 KiB) Viewed 150 times
code:
HMG_DASHBOARD.zip
(97.48 KiB) Downloaded 16 times
Jair Pinho
HMG ALTA REVOLUÇÃO xBASE
HMG xBASE REVOLUTION HIGH
http://www.hmgforum.com.br

User avatar
AUGE_OHR
Posts: 1210
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany
Has thanked: 225 times
Been thanked: 326 times

Post by AUGE_OHR »

hi,

demo did not run on my System ... :(

i have include

Code: Select all

libs=C:\hmg.3.4.4\HARBOUR\contrib\hbhpdf\hbhpdf.hbc 
and App start but when press Button (both) it crash :shock:
ErrorLog.zip
(672 Bytes) Downloaded 1 time
seems have to do with Font ... hm ... :idea:

have change to "Arial" and now it WORK :D
have fun
Jimmy

Post Reply