home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
WorldWeather plugin v1.10.0 for MediaPortal 1.3.0 and higher
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="helsten2" data-source="post: 925406" data-attributes="member: 89973"><p>Hi Micropolis,</p><p>One question regarding the hour-by-hour graph. Can it handle minus degrees?</p><p> </p><p>Today the temperatures have been between 0-7 and the graph has been perfect.</p><p>Now, however, the forecast have some minus degrees, and the graph does no seem to like it. In the graph below, max=5 and min=-2:</p><p> <img src="http://i49.tinypic.com/34il9js.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p>Another question, regarding skinning. I like to have different text color for plus and minus degrees - so I tried to use the <strong>Visible</strong> tag: </p><p>[HTML]<visible>string.equals(#WorldWeather.View,Condition)+string.equals(#WorldWeather.ConditionView,Hour)+!string.equals(#WorldWeather.ForecastHour0StartDay, )+!string.contains(#WorldWeather.ForecastHour0Temperature,'-')</visible>[/HTML]</p><p>However, <span style="color: #ff0000"><strong>string.contains(#WorldWeather.ForecastHour0Temperature,'</strong><strong>-</strong><strong>'</strong>)</span> is always false, even if the value is -1 or -2.</p><p>Do you have a better idea?</p><p> </p><p>Thanks again.</p></blockquote><p></p>
[QUOTE="helsten2, post: 925406, member: 89973"] Hi Micropolis, One question regarding the hour-by-hour graph. Can it handle minus degrees? Today the temperatures have been between 0-7 and the graph has been perfect. Now, however, the forecast have some minus degrees, and the graph does no seem to like it. In the graph below, max=5 and min=-2: [IMG]http://i49.tinypic.com/34il9js.png[/IMG] Another question, regarding skinning. I like to have different text color for plus and minus degrees - so I tried to use the [B]Visible[/B] tag: [HTML]<visible>string.equals(#WorldWeather.View,Condition)+string.equals(#WorldWeather.ConditionView,Hour)+!string.equals(#WorldWeather.ForecastHour0StartDay, )+!string.contains(#WorldWeather.ForecastHour0Temperature,'-')</visible>[/HTML] However, [COLOR=#ff0000][B]string.contains(#WorldWeather.ForecastHour0Temperature,'[/B][B]-[/B][B]'[/B])[/COLOR] is always false, even if the value is -1 or -2. Do you have a better idea? Thanks again. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
WorldWeather plugin v1.10.0 for MediaPortal 1.3.0 and higher
Contact us
RSS
Top
Bottom