Page 2 of 2

Re: Dashticz-Dial-Wind Speed-Min-Max

Posted: Monday 07 March 2022 9:01
by Doudy
Hello,

New question!
Is it possible not to display the indications 'NNE and 9.4 and other' but not lastupdate

Image

;)

Re: Dashticz-Dial-Wind Speed-Min-Max

Posted: Monday 07 March 2022 9:56
by Lokonli
Doudy wrote: Monday 07 March 2022 9:01 Hello,

New question!
Is it possible not to display the indications 'NNE and 9.4 and other' but not lastupdate

Image

;)
I do not completely understand your question.
You mean, show 28.1 and last update. Hide direction (NNE), and other details?

Can you post your block definition as well?

Re: Dashticz-Dial-Wind Speed-Min-Max

Posted: Monday 07 March 2022 10:22
by Doudy
Hello,
Yes show only 28.1 and lastupdate and
hide direction and other details

My block :

Code: Select all

blocks['wind'] = {
    idx: 43,
    title: 'Vitesse-Vent',  // Vitesse vent
    type: 'dial',
    subtype: 'windspeed',
	color: '#99cc00', 
	width: 2,
	decimals: 1,
    values: ['windspeed'],
	min: 0,
	max: 100,
	showring: true,
	showunit: true,
	shownumbers: true,
	last_update: true,
	showvalue: true,

}
also for 'windgust'

;)

Re: Dashticz-Dial-Wind Speed-Min-Max

Posted: Wednesday 09 March 2022 20:40
by Lokonli
Doudy wrote: Monday 07 March 2022 10:22 Hello,
Yes show only 28.1 and lastupdate and
hide direction and other details

My block :

Code: Select all

blocks['wind'] = {
    idx: 43,
    title: 'Vitesse-Vent',  // Vitesse vent
    type: 'dial',
    subtype: 'windspeed',
	color: '#99cc00', 
	width: 2,
	decimals: 1,
    values: ['windspeed'],
	min: 0,
	max: 100,
	showring: true,
	showunit: true,
	shownumbers: true,
	last_update: true,
	showvalue: true,

}
also for 'windgust'

;)
You can set the values parameter to an empty array to hide the additional data, like this:

Code: Select all

blocks['windspeed'] = {
    idx: 39,
    title: 'Wind speed',  // Vitesse vent
    type: 'dial',
    subtype: 'windspeed',
    values:[]
}    


Re: Dashticz-Dial-Wind Speed-Min-Max

Posted: Thursday 10 March 2022 9:32
by Doudy
👍

Image

;)
thanks