Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4017) - 17 March 2024

Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Realtime gauges v1.0.0.3 available for download

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Realtime gauges v1.0.0.3 available for download

Post by steve »

Perhaps if you explain exactly what you want to do, and give a link to an example? I didn't reply as I know you can't actually enlarge the Silverlight application itself, so I assume whatever you want to do is something to do with HTML, in which I have a basic understanding but am by no means an expert.
Steve
duke

Re: Realtime gauges v1.0.0.3 available for download

Post by duke »

Sorry for the bad explanation Steve. I've seen examples of this that are enlarged to nearly the same size as the background colour. So the background just appears as a border.

Typical, can't find an example at the moment :(

Duke
gemini06720
Posts: 1700
Joined: Mon 10 Aug 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: Realtime gauges v1.0.0.3 available for download

Post by gemini06720 »

duke wrote:Typical, can't find an example at the moment...
Duke, how about the following to links/locations for examples (not yet 100% reliable as I am completely/still rebuilding my house/office computer network and the server can/could be offline at times):

Tzouhalem-Maple Bay Weather

Silverlight RealTime Weather
duke

Re: Realtime gauges v1.0.0.3 available for download

Post by duke »

and give a link to an example?
I thought some one might be along to offer an example, thanks. ;)
Duke
gemini06720
Posts: 1700
Joined: Mon 10 Aug 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: Realtime gauges v1.0.0.3 available for download

Post by gemini06720 »

duke wrote:I thought some one might be along to offer an example, thanks. ;)
Yes, but is that what you were inquiring (writing) about... :D
duke

Re: Realtime gauges v1.0.0.3 available for download

Post by duke »

gemini06720 wrote:
duke wrote:I thought some one might be along to offer an example, thanks. ;)
Yes, but is that what you were inquiring (writing) about... :D
Yes, as apposed to the regular "skinnier" look with borders @ Cumulus Realtime

Duke
Mapantz
Posts: 1774
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Realtime gauges v1.0.0.3 available for download

Post by Mapantz »

*delete*
Image
gemini06720
Posts: 1700
Joined: Mon 10 Aug 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: Realtime gauges v1.0.0.3 available for download

Post by gemini06720 »

OK, Duke... ;)

This is the code you have in the template used to display the Silverlight RealTime screen:

Code: Select all

<object data="data:application/x-silverlight," type="application/x-silverlight-2" width="100%" height="700px">
This is the code I have in the Weather-Blues template used to display the Silverlight RealTime screen:

Code: Select all

<object data="data:application/x-silverlight," type="application/x-silverlight-2" width="832" height="890">
Through the years, I have learned not to use a percentage value for either the width or the height of any Adobe Flash or Microsoft Silverlight file formats.

832 pixels appears (at least on the different monitors I use in my home/office) to be the minimum width of the Silverlight RealTime screen - anything less will produce the navigation bar on the right side of the object. But, it is not just a matter of adjusting the width - the height must also be adjusted or navigation bars will be produced both to the right and the bottom of the object.

If you are still unsure, here is the code I use to display this Silverlight RealTime screen:

Code: Select all

    <div id="content">
      <h2>Silverlight RealTime Weather</h2>
      <table border="0" cellpadding="10" style="padding: 20px 0 0 45px;">
        <tr>
          <td>
            <div id="errorLocation" style="font-size: small; color: gray;"></div>
            <div id="silverlightControlHost">
              <object data="data:application/x-silverlight" type="application/x-silverlight-2" width="832" height="890">
                <param name="allowHtmlPopupWindow" value="true" />
                <param name="autoUpgrade" value="true" />
                <param name="background" value="silver" />
                <param name="enableAutoZoom" value="true" />
                <param name="enableGPUAcceleration" value="true" />
                <param name="enablehtmlaccess" value="true" />
                <param name="enableNavigation" value="all" />
                <param name="maxframerate" value="60" />
                <param name="minRuntimeVersion" value="3.0" />
                <param name="onerror" value="onSilverlightError" />
                <param name="source" value="CumulusRealtime.xap?v=1.0.0.4" />
                <a target="_blank" href="http://go.microsoft.com/fwlink/?LinkID=124807" style="text-decoration: none;">
                  <img src="http://go.microsoft.com/fwlink/?LinkId=108181"
                      alt="Get Microsoft Silverlight" style="border-style: none" />
                </a>
              </object>
              <iframe style="visibility: hidden; height: 0; width: 0; border: 0"></iframe>
            </div>
          </td>
        </tr>
      </table>
    </div><!-- end id content -->
duke

Re: Realtime gauges v1.0.0.3 available for download

Post by duke »

It was on my to do list to have a sneeky look at your code today ;) .
Through the years, I have learned not to use a percentage value for either the width or the height
I actually tried various % and px figures here and was unable to effect the width only the height. I try to stay with px as I found % can have all sorts of strange results not just with this type of application.

So what was i doing wrong? The addition of this line from you code appears to be the secret:
<param name="enableAutoZoom" value="true" />
832 pixels appears (at least on the different monitors I use in my home/office) to be the minimum width of the Silverlight RealTime screen
I have a maximum of 810 due to my page layout so I have a nav bar at the bottom but it looks a lot better than before
Cumulus Realtime

Perhaps there is a way to eliminate the nav bar?

Thanks for your help with this one, I wouldn't have got their on my own :bash: .

Duke

Oh.....
Blumentals
:clap:
david3
Posts: 63
Joined: Sat 28 Jan 2012 4:03 pm
Weather Station: Davis Vantage Vue
Operating System: Debian 12 64bit for rpi

Re: Realtime gauges v1.0.0.3 available for download

Post by david3 »

Just got these Silverlight realtime gauges working... It's pretty cool.

http://www.sfcweather.com/wxrealtime.php
drdscly
Posts: 5
Joined: Sun 16 Mar 2014 1:38 am
Weather Station: Davis VUE
Operating System: Windows 8.1
Location: Newfoundland, Caanda
Contact:

Re: Realtime gauges v1.0.0.3 available for download

Post by drdscly »

Slightly off topic - but how does one get the stickers I see here into a post. Can I just put the php code directly in the post?

Mike
duke

Re: Realtime gauges v1.0.0.3 available for download

Post by duke »

This sure is an old topic you posted in :o

But, in answer to your question Cumulus PHP-GD Banner
mareid123
Posts: 3
Joined: Mon 10 Nov 2014 10:09 am
Weather Station: Davis Vantage Pro 2
Operating System: Windows 7
Location: Dover, AR USA

Re: Realtime gauges v1.0.0.3 available for download

Post by mareid123 »

Is there any way possible to take this and make it run as an "app" on your local PC, outside of any browser?
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Realtime gauges v1.0.0.3 available for download

Post by steve »

Good question. Later versions of Silverlight did allow the creation of "out of browser" applications, but I don't think I ever got around to doing that with this. I don't think I have the ability to build the code now, as I didn't keep up the subscription for the components that it uses (it was costing me about £1000 per year) and I don't think the last version that I have a licence for will build against the current libraries.

Silverlight itself seems to be pretty much dead now, MS seem to have abandoned it in favour of HTML5.
Steve
wetterfrosch1971
Posts: 123
Joined: Sun 06 Apr 2014 1:15 pm
Weather Station: wh1080
Operating System: windows7
Location: south-west-germany

Re: Realtime gauges v1.0.0.3 available for download

Post by wetterfrosch1971 »

steve wrote:
Silverlight itself seems to be pretty much dead now, MS seem to have abandoned it in favour of HTML5.
Hi,

I´m from Germany and in Germany is silverlight much dead.
I love the realtime gauges but no one can see it, because in Germany has no one silverlight on the Computer.

Please create a new Realtime gauges Version in a other Format, that would be so great.

Many thanks.
Frank
Post Reply