[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
XWidgetSoft Forum • View topic - SUGGESTION: Give progress bars absolute values.

XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently April 16th, 2024, 5:53 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: June 6th, 2016, 1:52 pm 
Offline
User avatar

Joined: July 29th, 2013, 9:13 am
Posts: 609
Progress bars can be used to give a sliding indicator showing any value. They are useful as visual analogue indicators of values directly from cores but only for cores that express their values as percentages.

Unfortunately, they are next to useless when showing anything that does not equate to a percentage value. For example a temperature cannot be expressed in terms of percent.
A temperature is an absolute, it is a measurement. It has no maximum which could equate to 100%.

Therefore a sliding scale indicator that starts at 0 and goes up to 100% is useless in these cases.

eg. a temperature of 90 degrees reported by the speedfancore is shown by a bound progress bar as a value of 90%. A temperature of 110 degrees will show as 100%, the maximum that a progress bar can show is 100. Useless.

There should be an option of making the upper value correspond to an absolute figure that is over and above 100. A value that reflects reality. In this case a maximum value of 150 could be set and the speedfancore values could be displayed on progress bars allowing non-digital analogue displays to function. I'd say this limitation is almost severe enough to be warranted as a bug, it is at best an extreme limitation to what would otherwise be a very useful function...


Top
 Profile  
 
PostPosted: June 6th, 2016, 6:35 pm 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
I think you should take a look at one of widgets that I created with a thermometer. I used a progress bar a land they shown the temp. The hard part is to change the values in the script to match with the real time temp.
With the weather after some tests changing the values is possible to do it.

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
PostPosted: June 6th, 2016, 7:18 pm 
Offline
User avatar

Joined: July 29th, 2013, 9:13 am
Posts: 609
It isn't possible to change the way that a progress bar displays directly from a core. If I want to display a temperature higher than 100 degrees centigrade it cannot do it. For example if you switch to fahrenheit then the gauge reads 100% all the time. This is pure junk.

The progress bar needs more options, that's it. The option to specify a maximum that is not a percent, given that values fed into it are not percentile.

The point is that these progress bars are here to make widget designing easy and if they fail then there is no point in having them. I could convert my widgets and simply do everything in javascript but they are meant to use these sort of functions to make them easy to produce They don't help at all and I don't feel like rewriting my widgets just so cater for the inadequacies of Xwidget.

I have given up with this engine - it is 50% good, really good sometimes - but 50% incomplete/bad. I toyed with Xwidgets and I am now abandoning it altogether. There is no point, it is shoddy and well a bit ...junk.


Top
 Profile  
 
PostPosted: June 6th, 2016, 11:26 pm 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
Check the script there man! It can be done even with F temperatures. And the progress bar with that script DOESN'T show the %! Depends on the design (the length of the progress bar) and the values that you want to add. Don't forget that you can create 2 separate layers with C and F. But I'm almost sure that you didn't even check it..

Examples:
http://xwidget.com/xwidget/widgets/date ... rd_HD.html

http://xwidget.com/xwidget/widgets/othe ... us_HD.html

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB® Forum Software © phpBB Group