Page 1 of 1
Flat design bargraph
Posted: Mon Jul 13, 2020 4:04 pm
by l1marik
Flat design bargraph

Source here:
https://www.ctvrtky.info/wp-content/upl ... zontal.tar
Can somebody check it on OSX + feedback welcomed!
Added 14.7.202
Flat design bargraph - vertical version

Source here:
http://www.ctvrtky.info/wp-content/uplo ... rtical.tar
Lukas
Re: Flat design bargraph
Posted: Mon Jul 13, 2020 4:38 pm
by Saki
Hi, to time i have not MacOS available, but it should work.
Two tipp for you :
Add this function so :
Code: Select all
If StartVectorDrawing(CanvasVectorOutput(parent_canvas))
ScaleCoordinates(DesktopResolutionX(), DesktopResolutionY())
Activate DPI_aware in the PB compiler options
So you get DPI awareness and it look many better
You make nice things, I like it.
If you run this somewhere where other window timers are running it will start
to stutter because window timers have a very low priority.
So it is always better to use a ElapsedMilliseconds() based solution.
Best Regards Saki
Re: Flat design bargraph
Posted: Mon Jul 13, 2020 5:12 pm
by skywalk
Yes, keep coping. Your stuff is beautiful.

Re: Flat design bargraph
Posted: Tue Jul 14, 2020 10:10 am
by l1marik
Dear Saki,
thank you for comments. About timing I know it, but code is for testing purpose, it means without threads etc...
Thank you for testing!
Lukas
Re: Flat design bargraph
Posted: Tue Jul 14, 2020 7:59 pm
by Mindphazer
Hi, just tried on MacOS X, and no problem so far
Really nicely done !
Re: Flat design bargraph
Posted: Tue Jul 14, 2020 9:07 pm
by davido
@
l1marik,
Impressive. Looks great on my MacBook Pro.
Thank you for sharing.

Re: Flat design bargraph
Posted: Tue Jul 14, 2020 9:19 pm
by Andre
Very well done, thanks for sharing!

Re: Flat design bargraph
Posted: Tue Jul 21, 2020 8:23 pm
by Mohsen
Your working style is awesome, please continue.
Thanks for sharing.
Re: Flat design bargraph
Posted: Wed Jul 22, 2020 2:21 am
by GoodNPlenty
Amazing work, Thank You for sharing!
Re: Flat design bargraph
Posted: Wed Jul 22, 2020 5:36 pm
by Kwai chang caine
Very nice thanks for sharing
