Weather gauges collection

Share your advanced PureBasic knowledge/code with the community.
l1marik
User
User
Posts: 49
Joined: Tue Jun 30, 2020 6:22 am

Weather gauges collection

Post by l1marik »

Hi all,
I made for for my own use very simple full scalable gauges in vector drawing. All in basic only, not any HTML mess!

Feedback welcomed!
Added 12.7.2020
Horizontal AD gauge
Source: https://www.ctvrtky.info/wp-content/upl ... -Gauge.zip

On the top is default color scheme and resolution of gauge.
Image


Added 9.7.2020
Simple box gauge, fully scalable, shows value, graphic state and small trend chart, raw source :-).
Added:
- bottom and upper limits
- change of color based on set limits

Source: https://www.ctvrtky.info/wp-content/upl ... dGauge.tar

Image


Added: 6.6.2020
Actual state of windrose gauge with random data :)
Image

Edit 1.7.2020: Added three kinds of clock

Image

Source here: http://www.ctvrtky.info/wp-content/uplo ... Gauges.zip
Last edited by l1marik on Sun Jul 12, 2020 5:03 pm, edited 9 times in total.
#NULL
Addict
Addict
Posts: 1440
Joined: Thu Aug 30, 2007 11:54 pm
Location: right here

Re: Weather gauges collection

Post by #NULL »

The archive contains an image file and a pb file. No spam. :)
l1marik
User
User
Posts: 49
Joined: Tue Jun 30, 2020 6:22 am

Re: Weather gauges collection

Post by l1marik »

It is working in Linux and Windows, can somebody to try it on OS X? I would like to know if is working on all platforms supported by PB.

Lukas
JHPJHP
Addict
Addict
Posts: 2129
Joined: Sat Oct 09, 2010 3:47 am
Contact:

Re: Weather gauges collection

Post by JHPJHP »

Removed; post ignored.
Last edited by JHPJHP on Fri Jul 17, 2020 8:45 pm, edited 2 times in total.
dige
Addict
Addict
Posts: 1256
Joined: Wed Apr 30, 2003 8:15 am
Location: Germany
Contact:

Re: Weather gauges collection

Post by dige »

Cool stuff! :D thx for sharing l1marik!
"Daddy, I'll run faster, then it is not so far..."
User avatar
Mindphazer
Enthusiast
Enthusiast
Posts: 346
Joined: Mon Sep 10, 2012 10:41 am
Location: Savoie

Re: Weather gauges collection

Post by Mindphazer »

Nice !
I've tried your work on Windows and MacOS
Works well on both (i would even say it works better on MacOS because the jauges doesn't "freeze" on MacOS when you move the window, but they freeze on Windows)
MacBook Pro 14" M1 Pro - 16 Gb - MacOS 14 - Iphone 15 Pro Max - iPad at home
...and unfortunately... Windows at work...
User avatar
Mijikai
Addict
Addict
Posts: 1360
Joined: Sun Sep 11, 2016 2:17 pm

Re: Weather gauges collection

Post by Mijikai »

Hi & welcome l1marik
looks great thx for sharing :)
User avatar
leonhardt
Enthusiast
Enthusiast
Posts: 220
Joined: Wed Dec 23, 2009 3:26 pm

Re: Weather gauges collection

Post by leonhardt »

Thanks,awesome!
poor English...

PureBasic & Delphi & VBA
l1marik
User
User
Posts: 49
Joined: Tue Jun 30, 2020 6:22 am

Re: Weather gauges collection

Post by l1marik »

Mindphazer wrote:Nice !
I've tried your work on Windows and MacOS
Works well on both (i would even say it works better on MacOS because the jauges doesn't "freeze" on MacOS when you move the window, but they freeze on Windows)
Dear Mindphazer,
thank you a lot for answer, content of window freeze only in Windows, MacOS and Linux have common roots in UNIX, maybe it is the reason for it :-)

Any ideas for other gauges?
BTW on the list are now UV index gauge, windrose and sparkline charts....

Lukas
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5357
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: Weather gauges collection

Post by Kwai chang caine »

Very nice :D
Thanks for sharing 8)
ImageThe happiness is a road...
Not a destination
Denis
Enthusiast
Enthusiast
Posts: 704
Joined: Fri Apr 25, 2003 5:10 pm
Location: Doubs - France

Re: Weather gauges collection

Post by Denis »

l1marik,

excellent !
A+
Denis
User avatar
HeX0R
Addict
Addict
Posts: 992
Joined: Mon Sep 20, 2004 7:12 am
Location: Hell

Re: Weather gauges collection

Post by HeX0R »

use:

Code: Select all

BindEvent(#PB_Event_Timer, @MyTimer())
and put your timer code inside MyTimer() procedure.
Then it will no longer freeze while moving.
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2071
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Re: Weather gauges collection

Post by Andre »

Very well done too, thank you! :D
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
ebs
Enthusiast
Enthusiast
Posts: 530
Joined: Fri Apr 25, 2003 11:08 pm

Re: Weather gauges collection

Post by ebs »

l1marik,

These are really elegant looking! Thanks for your hard work.

Regards,
Eric
l1marik
User
User
Posts: 49
Joined: Tue Jun 30, 2020 6:22 am

Re: Weather gauges collection

Post by l1marik »

Indicator with chart

Ideas welcomed!

Image

Source during weekend :D
Post Reply