Page 1 of 1

Project dashboard with harupdf

Posted: Tue Jan 12, 2021 11:43 am
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 2765 times
dashboard-o-que-e.jpeg
dashboard-o-que-e.jpeg (362.98 KiB) Viewed 2765 times
dashboard-c.png
dashboard-c.png (23.5 KiB) Viewed 2765 times
Account_20Payable_20Dashboard.png
Account_20Payable_20Dashboard.png (38.17 KiB) Viewed 2765 times
1eccb39ba6ae569d17bc0b9fb5612b4b.png
1eccb39ba6ae569d17bc0b9fb5612b4b.png (56.33 KiB) Viewed 2765 times

Re: Project dashboard with harupdf

Posted: Tue Jan 12, 2021 3:00 pm
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

Re: Project dashboard with harupdf

Posted: Tue Jan 12, 2021 4:06 pm
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!

Re: Project dashboard with harupdf

Posted: Tue Jan 12, 2021 4:39 pm
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

Re: Project dashboard with harupdf

Posted: Tue Jan 12, 2021 7:21 pm
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.

Re: Project dashboard with harupdf

Posted: Tue Jan 12, 2021 10:41 pm
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

Re: Project dashboard with harupdf

Posted: Wed Jan 13, 2021 11:39 am
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

Re: Project dashboard with harupdf

Posted: Wed Jan 13, 2021 2:59 pm
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

Re: Project dashboard with harupdf

Posted: Sat Jan 16, 2021 12:56 am
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 2246 times

circle
sample2jpg_Page1.jpg
sample2jpg_Page1.jpg (22.63 KiB) Viewed 2246 times
code:
HMG_DASHBOARD.zip
(97.48 KiB) Downloaded 134 times

Re: Project dashboard with harupdf

Posted: Sat Jan 16, 2021 7:31 am
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 87 times
seems have to do with Font ... hm ... :idea:

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